/* Symbol Keyboard Widget — tecnobloggers.com */
.symbol-keyboard-widget {
  max-width: 100%;
  margin: 1.5em 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.skw-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #2d6b4f;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  z-index: 99999;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.skw-toast.skw-show {
  transform: translateX(-50%) translateY(0);
}

.skw-search {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 16px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.skw-search:focus {
  border-color: #4a90d9;
}

.skw-group-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 16px 0 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid #f0f0f0;
}

.skw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.skw-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border: 2px solid #d0d0d0;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 70px;
}
.skw-btn:hover {
  border-color: #2563eb;
  background: #eff6ff;
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(37,99,235,0.25);
}
.skw-btn:active {
  transform: scale(0.95);
  background: #dbeafe;
}

.skw-char {
  font-size: 28px;
  line-height: 1.2;
  display: block;
  color: #1a1a1a;
}

.skw-name {
  font-size: 10px;
  color: #444;
  margin-top: 4px;
  text-align: center;
  line-height: 1.2;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.skw-counter {
  font-size: 13px;
  color: #888;
  text-align: center;
  margin-top: 12px;
}

/* Mobile responsive */
@media (max-width: 480px) {
  .skw-grid {
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 6px;
  }
  .skw-btn {
    padding: 10px 4px;
    min-height: 60px;
  }
  .skw-char {
    font-size: 24px;
  }
}
