/* 
  ========================================================================
  SISTEMA DE CONTROL DE ASISTENCIA 2026 - IEI “6 de agosto”
  Tema Profesional, Corporativo e Institucional (Azul y Oro)
  ========================================================================
*/

:root {
  /* Paleta Institucional */
  --primary-color: #0284c7;        /* Azul Institucional (Dominante del Logo) */
  --primary-hover: #0369a1;        /* Azul Oscuro para hovers */
  --primary-light: #38bdf8;        /* Azul Claro para detalles */
  --accent-color: #0ea5e9;         /* Oro Institucional (Secundario del Logo) */
  --accent-hover: #0284c7;         /* Oro Oscuro para hovers */
  --accent-light: #bae6fd;         /* Oro Claro para textos y brillos */
  --secondary-color: #06b6d4;      /* Azul Real Complementario */
  
  /* Sistema de Fondo y Superficies */
  --bg-color: #000a1e;             /* Fondo azul marino profundo (Dominante de fondo_sistema) */
  --surface-color: rgba(8, 16, 40, 0.68); /* Superficie de cristal corporativa */
  --surface-hover: rgba(8, 16, 40, 0.85);  /* Superficie activa */
  --text-main: #f3f4f6;            /* Gris muy claro (casi blanco) */
  --text-muted: #9ca3af;           /* Gris apagado */
  --border-color: rgba(255, 255, 255, 0.08); /* Borde de cristal sutil */
  --border-hover: rgba(56, 189, 248, 0.35);    /* Borde dorado activo en hovers */
  
  /* Indicadores de Estado */
  --danger-color: #ef4444;         /* Rojo Alerta */
  --success-color: #10b981;        /* Verde Éxito */
  --warning-color: #0ea5e9;        /* Oro Alerta */
  
  /* Efectos Especiales */
  --glass-blur: blur(20px);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Sombras Modernas */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 20px rgba(14, 165, 233, 0.25);
  --shadow-gold-glow: 0 0 25px rgba(56, 189, 248, 0.2);
}

/* Restablecimiento General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-sans);
}

/* Fondo de Pantalla Principal con Imagen Institucional */
body {
  background: transparent;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Fallback background image rendered behind the video (z-index: -3) */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--bg-color);
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(0, 10, 30, 0.35) 0%, rgba(0, 10, 30, 0.85) 100%),
    url('../fondo_sistema.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: -3;
  pointer-events: none;
}

/* Efecto de Luces en Esquinas para dar Profundidad */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 40%),
    radial-gradient(at 100% 0%, rgba(56, 189, 248, 0.08) 0px, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* Contenedor de Cristal (Glassmorphism) */
.glass-panel {
  background: var(--surface-color);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 15px rgba(14, 165, 233, 0.1);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7), var(--shadow-gold-glow);
  transform: translateY(-4px);
}

/* Cabecera del Kiosco */
.kiosk-header {
  text-align: center;
  padding: 2.5rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kiosk-logo {
  height: 160px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(14, 165, 233, 0.4));
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.kiosk-logo:hover {
  transform: scale(1.08) rotate(2deg);
  filter: drop-shadow(0 12px 25px rgba(56, 189, 248, 0.45));
}

.kiosk-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Reloj Digital Premium */
.live-clock {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent-color);
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
  font-family: 'Consolas', 'Courier New', monospace;
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(56, 189, 248, 0.15);
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
  display: inline-block;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% {
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
    border-color: rgba(56, 189, 248, 0.15);
  }
  50% {
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
    border-color: rgba(56, 189, 248, 0.35);
  }
}

/* Insignia de Horario de Registro */
.registration-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: var(--accent-light);
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.registration-hours-badge:hover {
  background: rgba(14, 165, 233, 0.35);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.badge-icon {
  font-size: 1.1rem;
}

/* Contenedor del Kiosco */
.kiosk-container {
  display: flex;
  flex: 1;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem 2rem 3rem 2rem;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.kiosk-module {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Formularios e Inputs */
.input-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  text-align: left;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

input[type="text"],
input[type="password"],
input[type="date"] {
  width: 100%;
  background: rgba(4, 8, 20, 0.75);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.95rem 1.35rem;
  border-radius: 0.85rem;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15), inset 0 2px 4px rgba(0,0,0,0.3);
  background: rgba(4, 8, 20, 0.9);
}

/* Input DNI Gigante para Kiosco */
input.kiosk-input {
  font-size: 2.5rem;
  text-align: center;
  letter-spacing: 0.18em;
  padding: 1.25rem;
  border-radius: 1.25rem;
  font-weight: 800;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
  text-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
  background: rgba(4, 8, 25, 0.8);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

input.kiosk-input::placeholder {
  color: rgba(255, 255, 255, 0.15);
  letter-spacing: normal;
  font-weight: 400;
  font-size: 2rem;
}

input.kiosk-input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 5px rgba(56, 189, 248, 0.25), inset 0 4px 12px rgba(0, 0, 0, 0.5);
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  background: rgba(4, 8, 25, 0.95);
}

/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.btn-primary:hover::after {
  left: 125%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.55), var(--shadow-gold-glow);
  background: linear-gradient(135deg, #4848a6 0%, var(--primary-color) 100%);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
  background: var(--accent-color);
  color: #000a1e;
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.35);
  transform: translateY(-2px);
  font-weight: 800;
}

.btn-secondary:active {
  transform: translateY(-1px);
}

/* Escáner de Códigos QR */
#reader {
  width: 100%;
  max-width: 500px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 3px solid rgba(14, 165, 233, 0.4) !important;
  margin: 0 auto;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#reader:hover {
  border-color: var(--accent-color) !important;
  box-shadow: var(--shadow-lg), var(--shadow-gold-glow);
}

#reader__scan_region {
  background: #000;
}

/* Notificaciones Toast Premium */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.toast {
  padding: 1.25rem 2rem;
  border-radius: 1rem;
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.6);
  animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  background: rgba(10, 18, 38, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
}

.toast.success { 
  border-left: 5px solid var(--success-color); 
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
}
.toast.error { 
  border-left: 5px solid var(--danger-color); 
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15);
}
.toast.warning { 
  border-left: 5px solid var(--warning-color); 
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.15);
}

@keyframes slideIn {
  from { transform: translateX(120%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Diseño del Panel de Administración */
.admin-container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 280px;
  background: rgba(6, 12, 30, 0.85);
  border-right: 1px solid var(--border-color);
  padding: 2.5rem 1.5rem;
  backdrop-filter: var(--glass-blur);
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.sidebar-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 2.5rem;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nav-item {
  padding: 0.95rem 1.25rem;
  border-radius: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid transparent;
}

.nav-item:hover {
  background: rgba(14, 165, 233, 0.12);
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
  background: rgba(14, 165, 233, 0.25);
  border: 1px solid rgba(14, 165, 233, 0.45);
  color: var(--accent-color);
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.main-content {
  flex: 1;
  padding: 3.5rem;
  overflow-y: auto;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.panel-section {
  display: none;
}

.panel-section.active {
  display: block;
  animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Diseño de Tablas Premium */
.table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border-color);
  background: var(--surface-color);
  box-shadow: var(--shadow-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  background: rgba(4, 8, 25, 0.5);
  border-bottom: 2px solid rgba(14, 165, 233, 0.4);
}

td {
  color: var(--text-main);
  font-size: 0.95rem;
  transition: background 0.25s ease;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(14, 165, 233, 0.08);
}

/* Clases de Utilidad */
.flex-between { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }

/* Media Queries para Responsividad */
@media (max-width: 992px) {
  .kiosk-container {
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .kiosk-header {
    padding-top: 1.5rem;
  }
  
  .kiosk-title {
    font-size: 1.75rem;
  }

  .live-clock {
    font-size: 2rem;
    padding: 0.4rem 1.5rem;
  }

  .kiosk-container {
    padding: 1rem;
  }
  
  .glass-panel {
    padding: 1.75rem;
  }

  input.kiosk-input {
    font-size: 1.85rem;
    padding: 1rem;
  }
  
  /* Admin responsive */
  .admin-container {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
  }
  
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 1rem;
  }
  
  .main-content {
    padding: 1.5rem;
  }
  
  .flex-between {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

/* Video Background styles */
.video-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.video-background-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio scaling */
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%) scale(1.15); /* Slightly scaled up to hide black edges */
  pointer-events: none;
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 50%, rgba(0, 5, 20, 0.45) 0%, rgba(0, 5, 20, 0.85) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Voice Activation Badge Styles */
.voice-badge {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 1000;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border-color);
}

.voice-badge.inactive {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
  animation: pulseWarningBadge 2s infinite ease-in-out;
}

.voice-badge.active {
  background: rgba(16, 185, 129, 0.18);
  color: #a7f3d0;
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

@keyframes pulseWarningBadge {
  0%, 100% {
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.45);
    transform: scale(1.04);
  }
}

/* Water Ripple Cursor Effect */
.water-ripple {
  position: absolute;
  /* Light refraction simulation: white highlight on top-left, deep blue shadow on bottom-right */
  border-top: 1.8px solid rgba(255, 255, 255, 0.65);
  border-left: 1.8px solid rgba(255, 255, 255, 0.45);
  border-right: 1.2px solid rgba(56, 189, 248, 0.3);
  border-bottom: 2.2px solid rgba(2, 132, 199, 0.65);
  box-shadow: 
    inset 0 6px 12px rgba(255, 255, 255, 0.18),
    inset 0 -6px 12px rgba(2, 132, 199, 0.25),
    0 10px 20px rgba(2, 132, 199, 0.12);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: rip 1.8s cubic-bezier(0.1, 0.8, 0.2, 1) forwards; /* Graceful, slow-expanding water wave */
  z-index: 9999;
}

@keyframes rip {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 500px; /* Scaled up ripple wave */
    height: 500px;
    opacity: 0;
    border-width: 0.2px;
    box-shadow: 
      inset 0 0 30px rgba(255, 255, 255, 0),
      inset 0 0 30px rgba(2, 132, 199, 0),
      0 0 30px rgba(2, 132, 199, 0);
  }
}

/* Water Ripple Trail Cursor Effect */
.water-ripple-trail {
  position: absolute;
  /* Subtle highlight/shadow borders for movement waves */
  border-top: 1.2px solid rgba(255, 255, 255, 0.45);
  border-left: 1.2px solid rgba(255, 255, 255, 0.3);
  border-right: 0.8px solid rgba(56, 189, 248, 0.25);
  border-bottom: 1.5px solid rgba(2, 132, 199, 0.45);
  box-shadow: 
    inset 0 3px 8px rgba(255, 255, 255, 0.12),
    inset 0 -3px 8px rgba(2, 132, 199, 0.18),
    0 5px 10px rgba(2, 132, 199, 0.06);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: rip-trail 2.6s cubic-bezier(0.1, 0.8, 0.2, 1) forwards; /* Longer duration to linger on screen */
  z-index: 9998;
}

@keyframes rip-trail {
  0% {
    width: 0;
    height: 0;
    opacity: 0.85;
  }
  50% {
    opacity: 0.55; /* Maintains visible shimmer longer */
  }
  100% {
    width: 220px; /* Scaled up hover wave */
    height: 220px;
    opacity: 0;
  }
}

/* Central droplet splash effect (rebound droplet bouncing up) */
.water-splash-center {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #f0f9ff; /* Bright sky-blue white droplet */
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: splash-dot 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; /* Rebound bounce easing */
  z-index: 10000;
}

@keyframes splash-dot {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  25% {
    transform: translate(-50%, -50%) scale(4.5); /* Initial impact splash */
    opacity: 0.95;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 25px rgba(56, 189, 248, 0.7);
  }
  65% {
    transform: translate(-50%, -50%) scale(1.8); /* Droplet falling back down */
    opacity: 0.75;
  }
  100% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
}

/* Falling droplet effect before impact */
.water-droplet-fall {
  position: absolute;
  width: 6px;
  height: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(224, 242, 254, 0.95) 70%, rgba(255, 255, 255, 1) 100%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; /* Teardrop/droplet shape */
  pointer-events: none;
  transform: translate(-50%, -100%);
  animation: drop-fall 0.22s cubic-bezier(0.25, 0, 1, 1) forwards; /* Acceleration towards surface */
  z-index: 10001;
}

@keyframes drop-fall {
  0% {
    transform: translate(-50%, -65px) scale(0.7);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
}
