/* Custom CSS for MSA Control de Asistencia - White/Red Theme with Black Header */

:root {
  --brand-black: #0A0C10;
  --brand-bg: #F8FAFC;
  --brand-card: #FFFFFF;
  --brand-red: #E50914;
  --brand-red-hover: #C80812;
  --brand-border: #E2E8F0;
  --brand-text: #0F172A;
}

body {
  background-color: var(--brand-bg);
  color: var(--brand-text);
  -webkit-tap-highlight-color: transparent;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Hide scrollbar for clean horizontal filters */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Filter tab active state */
.filter-tab.active-filter {
  background-color: var(--brand-red);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.25);
}

/* Smooth fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Guest Card interactive transitions */
.guest-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.guest-card:hover {
  border-color: rgba(229, 9, 20, 0.5);
  box-shadow: 0 8px 20px -4px rgba(229, 9, 20, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}

/* Touch friendly minimum heights */
button, input, select {
  touch-action: manipulation;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red);
}

/* QR Code styling */
#qrcode img {
  margin: 0 auto;
  border-radius: 8px;
}
