/* ============================================
   laura-ui/styles/components.css
   Componentes Reutilizáveis & Utilitários Visuais
   ============================================ */

/* Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.glass-card:hover {
  box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.02);
}

/* Tabs */
.tab-btn {
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn:hover:not(.active) {
  background-color: #f1f5f9;
  transform: translateY(-1px);
}

.tab-btn:active {
  transform: scale(0.97);
}

.tab-btn.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

@keyframes tabEntrance {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
    filter: blur(3px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
  }
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: tabEntrance 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity, filter;
}

/* Inputs & Ranges */
input[type="range"] {
  accent-color: #2563eb;
}

/* Modais & Drawers */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
}

#toastNotification {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Badges */
.badge-pueblo {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.badge-valencia {
  background-color: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* Smooth custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
