/* ==========================================================================
   GINEMEDIK - DESIGN SYSTEM & STYLESHEET (MODERN MEDICAL CLINIC AESTHETIC)
   Colores Oficiales Pantone & Acentos Médicos:
   - PANTONE 2935 C (Azul Real Médico): #0052A5
   - PANTONE 3115 C (Celeste Salud): #00ADEF
   - PANTONE Red 0331 C (Rosa Cálido): #F48FB1
   - Blanco Clínico: #FFFFFF
   - Fondo Pastel Relajante: #F0F9FF / #FFF5F7
   ========================================================================== */

:root {
  /* Marca Oficial GINEMEDIK */
  --pantone-2935: #0052A5;     /* Azul Real Médico */
  --pantone-3115: #00ADEF;     /* Celeste Pastel */
  --pantone-pink: #F48FB1;     /* Rosa Cálido Red 0331 C */
  
  --primary-cyan: #00ADEF;
  --dark-cyan: #0052A5;
  --light-cyan: #E8F7FC;
  
  --primary-pink: #F48FB1;
  --vibrant-pink: #E91E63;
  --soft-pink: #FDF0F4;
  --pale-pink: #FFF7F9;

  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --bg-gradient: linear-gradient(135deg, #E0F2FE 0%, #FAF5FF 50%, #FFF1F2 100%);
  --card-bg: #FFFFFF;
  --card-shadow: 0 20px 50px -10px rgba(0, 82, 165, 0.15), 0 10px 30px rgba(244, 143, 177, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.92);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-gradient);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   PANTALLA DE ACCESO - PORTAL CLÍNICO (LAYOUT DIVIDIDO, LÍNEA SERIA/MODERNA)
   ========================================================================== */
:root {
  --access-navy: #0B1E3D;
  --access-navy-2: #123A73;
  --access-cyan: #1FC1DE;
  --access-cyan-soft: #5FD8EA;
  --access-ink: #0B1E3D;
  --access-muted: #64748B;
  --access-line: #E2E8F0;
}

.gate-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background:
    radial-gradient(ellipse 60% 45% at 15% 15%, rgba(31, 193, 222, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 45% at 85% 10%, rgba(18, 58, 115, 0.35), transparent 60%),
    radial-gradient(circle at 50% 30%, #0c1e38 0%, #061122 55%, #030812 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  animation: gateAurora 24s ease-in-out infinite alternate;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

@keyframes gateAurora {
  0%   { background-position: 0% 0%, 100% 0%, 0 0; }
  100% { background-position: 10% 12%, 90% 14%, 0 0; }
}

/* Canvas para Partículas y Nodos de Luz Suave */
#gate-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
}

/* Esferas de Ambiente (retintadas a navy/cyan, sin magenta) */
.gate-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  animation: floatClinicOrb 14s ease-in-out infinite alternate;
}

.orb-clinic-cyan {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(31, 193, 222, 0.28) 0%, rgba(15, 44, 89, 0) 70%);
  top: -100px;
  left: -100px;
}

.orb-clinic-pink {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(18, 58, 115, 0.35) 0%, rgba(15, 44, 89, 0) 70%);
  bottom: -80px;
  right: -80px;
  animation-delay: -5s;
}

.orb-clinic-soft {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(31, 193, 222, 0.18) 0%, rgba(15, 44, 89, 0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -9s;
}

.gate-wave-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 20%, rgba(31, 193, 222, 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 1;
}

@keyframes floatClinicOrb {
  0% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.5; }
  100% { transform: translateY(15px) scale(0.95); opacity: 0.35; }
}

/* ---------- CONTENEDOR DIVIDIDO: PANEL DE MARCA + PANEL DE FORMULARIO ---------- */
.access-shell {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: stretch;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.5);
  animation: clinicEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes clinicEntrance {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- PANEL DE MARCA (IZQUIERDA, SOLO ESCRITORIO) ---------- */
.access-brand {
  flex: 0 0 42%;
  background: linear-gradient(160deg, var(--access-navy) 0%, #081733 65%, #050e21 100%);
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  color: #E7EEF9;
  position: relative;
}

.access-brand-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.access-logo-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  padding: 2px;
  background: conic-gradient(from 0deg, var(--access-navy-2), var(--access-cyan), var(--access-navy-2), var(--access-cyan-soft), var(--access-navy-2));
  animation: accessRingSpin 12s linear infinite;
  flex-shrink: 0;
}

@keyframes accessRingSpin {
  to { transform: rotate(360deg); }
}

.access-logo-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.access-logo-img {
  width: 78% !important;
  height: 78% !important;
  max-width: none !important;
  object-fit: contain !important;
  margin: 0 !important;
  display: block !important;
}

.access-brand-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--access-cyan-soft);
}

.access-headline {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1.24;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.access-subheadline {
  font-size: 0.98rem;
  line-height: 1.68;
  color: #B4C6E4;
  max-width: 38ch;
}

.access-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 4px;
}

.access-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.access-feature-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(31, 193, 222, 0.12);
  border: 1px solid rgba(31, 193, 222, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--access-cyan-soft);
}

.access-feature-icon svg {
  width: 17px;
  height: 17px;
}

.access-icon-dot {
  fill: var(--access-cyan);
  stroke: none !important;
}

.access-feature-list strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: #F1F5FB;
  margin-bottom: 2px;
}

.access-feature-list span {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #91A4C4;
}

.access-schedule-chip {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.74rem;
  font-weight: 600;
  color: #CBD8EE;
}

.access-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--access-cyan);
  box-shadow: 0 0 0 0 rgba(31, 193, 222, 0.6);
  animation: livePulse 2s infinite;
}

/* ---------- ENCABEZADO COMPACTO SOLO MÓVIL ---------- */
.access-mobile-header {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.access-mobile-logo {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50%;
  object-fit: contain !important;
  background: #fff;
  border: 1px solid var(--access-line);
  padding: 4px;
  margin: 0 !important;
}

/* ---------- PANEL DE FORMULARIO (DERECHA) ---------- */
.gate-card-wrapper {
  position: relative;
  z-index: 10;
  flex: 1 1 58%;
  min-width: 0;
}

.gate-card {
  background: rgba(255, 255, 255, 0.98);
  height: 100%;
  padding: 40px 38px;
  position: relative;
  overflow: hidden auto;
  transition: var(--transition);
}

.gate-card::before {
  content: none;
}

.clinic-title-gradient {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--access-navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.gate-subtitle {
  font-size: 0.84rem;
  color: var(--access-muted);
  line-height: 1.5;
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 193, 222, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(31, 193, 222, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 193, 222, 0); }
}

/* ---------- PESTAÑAS SUBRAYADAS (ESTILO SOFTWARE CLÍNICO SERIO) ---------- */
.auth-tabs {
  position: relative;
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--access-line);
  margin-bottom: 26px;
  background: transparent;
  padding: 0;
}

.tab-indicator {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--access-navy), var(--access-cyan));
  transition: transform 0.32s cubic-bezier(0.65, 0, 0.35, 1);
}

.auth-tabs.is-register .tab-indicator {
  transform: translateX(100%);
}

.tab-btn {
  flex: 1;
  padding: 11px 8px 14px;
  border: none;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--access-muted) !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: color 0.2s ease;
  border-radius: 0;
}

.tab-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor !important;
}

.tab-btn.active {
  color: var(--access-navy) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tab-btn.active span {
  color: var(--access-navy) !important;
}

.tab-btn.active svg {
  stroke: var(--access-navy) !important;
}

.tab-btn:not(.active):hover {
  color: var(--access-navy-2) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.tab-icon {
  display: inline-flex;
  align-items: center;
}

/* ---------- CAMPOS DE FORMULARIO: ESTILO SUBRAYADO, SIN CAJA ---------- */
.access-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--access-muted);
  margin-bottom: 7px;
  display: block;
}

.access-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1.5px solid var(--access-line);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.access-input-wrapper:focus-within {
  border-color: var(--access-cyan);
}

.access-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--access-muted);
  margin-right: 10px;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.access-input-icon svg {
  width: 17px;
  height: 17px;
}

.access-input-wrapper:focus-within .access-input-icon {
  color: var(--access-navy-2);
}

.access-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--access-ink);
}

.access-input::placeholder {
  color: #AEB9CC;
  font-weight: 500;
}

.access-toggle-pass {
  background: transparent;
  border: none;
  color: var(--access-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.access-toggle-pass:hover {
  color: var(--access-navy);
}

.form-group { margin-bottom: 18px; }

/* ---------- BOTÓN PRINCIPAL DE ACCESO ---------- */
.access-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: #FFFFFF !important;
  background: linear-gradient(100deg, var(--access-navy) 0%, var(--access-navy-2) 45%, var(--access-cyan) 100%);
  background-size: 180% 180%;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 14px 28px -10px rgba(11, 30, 61, 0.5);
  transition: background-position 0.5s ease, transform 0.15s ease, box-shadow 0.2s ease;
  margin-top: 4px;
}

.access-btn-primary span, .access-btn-primary svg {
  color: #FFFFFF !important;
  stroke: #FFFFFF !important;
}

.access-btn-primary:hover {
  background-position: 100% 0%;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(31, 193, 222, 0.4);
}

.access-btn-primary .btn-arrow {
  transition: transform 0.2s ease;
}

.access-btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-arrow {
  transition: transform 0.2s ease;
}

/* Security Footer Sello */
.gate-security-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--access-line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--access-muted) !important;
  font-size: 0.74rem;
  font-weight: 700;
}

.sec-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--access-muted) !important;
}

.sec-item svg {
  stroke: var(--access-navy-2) !important;
}

.sec-dot {
  color: #CBD5E1;
}

/* ---------- RESPONSIVE: PANEL DE MARCA SE OCULTA EN MÓVIL ---------- */
@media (max-width: 900px) {
  .access-brand { display: none; }
  .access-mobile-header { display: flex; }
  .access-shell {
    max-width: 470px;
    border-radius: 22px;
  }
  .gate-card {
    padding: 32px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gate-wrapper, .access-logo-ring, .access-live-dot { animation: none !important; }
}

/* Accesos Rápidos Demo */
.demo-accounts-box {
  background: var(--light-cyan);
  border: 1px dashed rgba(0, 173, 239, 0.35);
  border-radius: 16px;
  padding: 12px 14px;
}

.demo-header-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.demo-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pantone-2935);
}

.demo-buttons-flex {
  display: flex;
  gap: 10px;
}

.btn-demo-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}

.btn-demo-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 82, 165, 0.15);
}

.patient-pill:hover {
  border-color: var(--pantone-pink);
  background: var(--soft-pink);
}

.admin-pill:hover {
  border-color: var(--pantone-3115);
  background: var(--light-cyan);
}

.pill-avatar {
  font-size: 1.3rem;
}

.pill-text {
  display: flex;
  flex-direction: column;
}

.pill-role {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--pantone-2935);
}

.pill-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Keyframes */
@keyframes floatClinicOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -35px) scale(1.08); }
  100% { transform: translate(-20px, 25px) scale(0.96); }
}

@keyframes clinicEntrance {
  0% { opacity: 0; transform: translateY(20px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}



/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 173, 239, 0.15);
  padding: 12px 0;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-item {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-item:hover {
  color: var(--pantone-2935);
}

.auth-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-primary {
  background: linear-gradient(135deg, var(--pantone-2935) 0%, var(--pantone-3115) 100%);
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 82, 165, 0.25);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 82, 165, 0.35);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary-glow {
  background: linear-gradient(135deg, var(--pantone-2935) 0%, var(--pantone-3115) 100%);
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 82, 165, 0.3);
  transition: var(--transition);
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 173, 239, 0.4);
}

.btn-main-cta {
  background: linear-gradient(135deg, var(--pantone-2935) 0%, var(--pantone-3115) 100%);
  color: #FFFFFF;
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 82, 165, 0.35);
  transition: var(--transition);
}

.btn-main-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 173, 239, 0.45);
}

.btn-secondary {
  background: var(--light-cyan);
  color: var(--pantone-2935);
  border: 1px solid rgba(0, 82, 165, 0.2);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: #D8F2FB;
  color: var(--pantone-2935);
}

.btn-secondary-outline {
  background: transparent;
  color: var(--pantone-2935);
  border: 2px solid var(--pantone-2935);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

.btn-secondary-outline:hover {
  background: var(--light-cyan);
}

.btn-demo-pill {
  background: #F1F5F9;
  color: var(--text-dark);
  border: 1px solid #E2E8F0;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-demo-pill:hover {
  background: var(--soft-pink);
  color: #D81B60;
  border-color: var(--pantone-pink);
}

.btn-demo-pill.admin:hover {
  background: var(--light-cyan);
  color: var(--pantone-2935);
  border-color: var(--pantone-3115);
}

.badge-pink {
  background: var(--soft-pink);
  color: #D81B60;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  border: 1px solid rgba(244, 143, 177, 0.4);
}

.badge-admin {
  background: var(--light-cyan);
  color: var(--pantone-2935);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 143, 177, 0.2) 0%, rgba(0, 173, 239, 0.12) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  color: #0F172A;
  margin: 16px 0;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px rgba(0, 82, 165, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.card-badge {
  background: linear-gradient(135deg, var(--pantone-2935), var(--pantone-3115));
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 20px;
}

.schedule-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.schedule-row.highlight {
  background: var(--soft-pink);
  border: 1px solid rgba(244, 143, 177, 0.4);
  color: #D81B60;
}

.card-footer-info {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 500;
}

/* ==========================================================================
   SERVICES & PRICES SECTION (5 Services)
   ========================================================================== */
.services-section {
  padding: 60px 0;
  background: #FFFFFF;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-tag {
  color: var(--pantone-2935);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #0F172A;
  margin: 8px 0;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border: 2px solid #F1F5F9;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--pantone-2935);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 82, 165, 0.15);
}

.service-card.popular {
  border-color: var(--pantone-2935);
  background: linear-gradient(180deg, #F5FAFE 0%, #FFFFFF 100%);
}

.popular-badge {
  position: absolute;
  top: 16px;
  right: -30px;
  background: linear-gradient(135deg, var(--pantone-2935), var(--pantone-3115));
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 34px;
  transform: rotate(45deg);
}

.service-icon-box {
  width: 56px;
  height: 56px;
  background: var(--soft-pink);
  color: #D81B60;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: #0F172A;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  min-height: 50px;
}

.price-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--pantone-2935);
  font-family: 'Outfit', sans-serif;
  margin-bottom: 20px;
}

.price-tag span {
  font-size: 1.2rem;
  font-weight: 600;
}

/* ==========================================================================
   BOOKING WIZARD & STEPPER
   ========================================================================== */
.booking-section {
  padding: 60px 0;
}

.booking-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 82, 165, 0.12);
  max-width: 900px;
  margin: 0 auto;
}

.booking-header {
  text-align: center;
  margin-bottom: 36px;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  gap: 12px;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: var(--transition);
}

.step.active {
  opacity: 1;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E2E8F0;
  color: var(--text-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step.active .step-num {
  background: var(--pantone-2935);
  color: white;
}

.step-line {
  height: 2px;
  width: 60px;
  background: #E2E8F0;
}

.alert-box {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-weight: 600;
  font-size: 0.95rem;
}

.alert-box.danger {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FCA5A5;
}

.alert-box.success {
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #86EFAC;
}

.service-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.service-opt-card {
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.service-opt-card:hover {
  border-color: var(--pantone-3115);
}

.service-opt-card.selected {
  border-color: var(--pantone-2935);
  background: var(--light-cyan);
}

.service-opt-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.service-opt-card .opt-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--pantone-2935);
}

.date-time-picker-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  margin: 24px 0;
}

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.form-control-lg {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-control-lg:focus {
  border-color: var(--pantone-2935);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 6px;
}

.slot-btn {
  padding: 10px;
  border: 2px solid #E2E8F0;
  border-radius: var(--radius-sm);
  background: white;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  font-size: 0.9rem;
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--pantone-3115);
  background: var(--light-cyan);
}

.slot-btn.selected {
  background: var(--pantone-2935);
  color: white;
  border-color: var(--pantone-2935);
}

.slot-btn:disabled {
  background: #F1F5F9;
  color: #94A3B8;
  border-color: #E2E8F0;
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.6;
}

.step-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
}

.step-actions.right {
  justify-content: flex-end;
}

.summary-card {
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 20px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.summary-row .label {
  color: var(--text-muted);
}

.summary-row .value {
  font-weight: 700;
}

.summary-row .value.price {
  font-size: 1.3rem;
  color: var(--pantone-2935);
}

.badge-slot {
  background: var(--light-cyan);
  color: var(--pantone-2935);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   DASHBOARDS & TABLES
   ========================================================================== */
.dashboard-section {
  padding: 60px 0;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--card-shadow);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.stat-icon.cyan { background: var(--light-cyan); }
.stat-icon.pink { background: var(--soft-pink); }
.stat-icon.green { background: #DCFCE7; }

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
}

.admin-table-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.table-filters {
  display: flex;
  gap: 12px;
}

.form-control {
  padding: 10px 14px;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  width: 100%;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th, .data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.9rem;
}

.data-table th {
  background: #F8FAFC;
  font-weight: 700;
  color: var(--text-muted);
}

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-card.wide {
  max-width: 720px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid #E2E8F0;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 12px;
  background: transparent;
  border: none;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab-btn.active {
  color: var(--pantone-2935);
  border-bottom-color: var(--pantone-2935);
}

.bulk-upload-area {
  border: 2px dashed var(--pantone-3115);
  border-radius: var(--radius-md);
  padding: 36px;
  text-align: center;
  background: var(--light-cyan);
  cursor: pointer;
}

.upload-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

/* ==========================================================================
   UTILITY & FOOTER
   ========================================================================== */
.hidden { display: none !important; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.full-width { width: 100%; }

.footer {
  background: #0B192C;
  color: white;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #1E293B;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #94A3B8;
}

@media (max-width: 768px) {
  .hero-container { grid-template-columns: 1fr; }
  .date-time-picker-layout { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   SERVICIOS Y TARJETAS MÉDICAS MEJORADAS
   ========================================================================== */
.services-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 45px;
}

.service-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px -10px rgba(0, 82, 165, 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px -12px rgba(0, 82, 165, 0.18), 0 10px 25px rgba(244, 143, 177, 0.15);
  border-color: var(--pantone-3115);
}

.featured-card {
  border: 2px solid var(--pantone-3115);
  background: linear-gradient(180deg, #FFFFFF 0%, #F0F9FF 100%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: linear-gradient(135deg, var(--pantone-2935), var(--pantone-3115));
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(0, 173, 239, 0.35);
  text-transform: uppercase;
}

.service-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.service-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #E8F7FC 0%, #FFF0F5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 1px solid rgba(0, 173, 239, 0.2);
}

.service-tag-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pantone-2935);
  background: var(--light-cyan);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.service-card-body h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
}

.service-features-list li {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features-list .check-icon {
  color: #00ADEF;
  font-weight: 800;
  background: #E8F7FC;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.service-card-footer {
  border-top: 1px solid #F1F5F9;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-tag {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--pantone-2935);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-tag .currency {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pantone-3115);
}

/* ==========================================================================
   NUEVO DISEÑO HERO PREMIUM Y MODERNO
   ========================================================================== */
.hero-badge-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.badge-cyan {
  background: #E8F7FC;
  color: #0052A5;
  border: 1px solid rgba(0, 173, 239, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.highlight-text {
  background: linear-gradient(135deg, var(--pantone-2935) 0%, var(--pantone-3115) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 32px 0;
}

.trust-pill {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #E2E8F0;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 82, 165, 0.04);
}

.hero-specialist-card {
  padding: 28px !important;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid rgba(0, 173, 239, 0.25) !important;
  box-shadow: 0 20px 45px -10px rgba(0, 82, 165, 0.15) !important;
}

.doctor-profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 18px;
}

.doctor-avatar-box {
  position: relative;
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  max-height: 56px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: 2px solid var(--pantone-3115) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  overflow: hidden !important;
  padding: 3px !important;
  box-shadow: 0 4px 15px rgba(0, 173, 239, 0.2) !important;
}

.doctor-avatar-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  border-radius: 50% !important;
  display: block !important;
}

.online-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  background: #10B981;
  border: 2px solid white;
  border-radius: 50%;
}

.doctor-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 2px 0;
}

.specialty-title {
  font-size: 0.85rem;
  color: var(--pantone-2935);
  font-weight: 700;
  margin: 0 0 4px 0;
}

.doctor-rating {
  font-size: 0.8rem;
  color: #F59E0B;
  font-weight: 800;
}

.doctor-rating span {
  color: #64748B;
  font-weight: 600;
  margin-left: 4px;
}

.card-badge-header {
  font-size: 0.9rem;
  color: #0F172A;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.emergency-contact-box {
  background: linear-gradient(135deg, #F0F9FF 0%, #FFF5F7 100%);
  border: 1px solid rgba(0, 173, 239, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.emergency-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-icon {
  font-size: 1.5rem;
}

.emergency-text strong {
  font-size: 0.88rem;
  color: #0F172A;
  display: block;
}

.emergency-text p {
  font-size: 0.78rem;
  color: #64748B;
  margin: 0;
}

.btn-wa-micro {
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1;
}

.btn-wa-micro:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.45);
  background: #20BA5A;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP PARA LA CLÍNICA (5382-4026)
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.92rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #FFFFFF;
}

.floating-wa-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.5);
  background: #20BA5A;
  color: #FFFFFF;
}

.wa-float-icon {
  font-size: 1.4rem;
}

/* ==========================================================================
   MIGRACIÓN INICIAL DISCRETA PARA EL DOCTOR
   ========================================================================== */
.admin-migration-box {
  background: #FFFFFF;
  border: 1px dashed var(--pantone-3115);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 4px 15px rgba(0, 82, 165, 0.04);
}

.migration-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.migration-icon {
  font-size: 1.8rem;
  background: var(--light-cyan);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.migration-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px 0;
}

.migration-info p {
  font-size: 0.85rem;
  color: #64748B;
  margin: 0;
}

/* ==========================================================================
   CALENDARIO VISUAL INTERACTIVO ESTILO GOOGLE CALENDAR
   ========================================================================== */
.gcal-container-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px -10px rgba(0, 82, 165, 0.08);
  overflow: hidden;
  padding: 24px;
}

.gcal-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 18px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.gcal-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gcal-logo-badge {
  background: #E8F7FC;
  color: var(--pantone-2935);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 173, 239, 0.3);
}

.gcal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.gcal-controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gcal-month-label {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--pantone-2935);
  min-width: 140px;
  text-align: center;
}

.gcal-view-toggle {
  display: flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
  margin-left: 10px;
}

.btn-tab-toggle {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748B;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-tab-toggle.active {
  background: #FFFFFF;
  color: var(--pantone-2935);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.gcal-calendar-body {
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
}

.gcal-weekdays-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748B;
  padding: 12px 0;
  letter-spacing: 0.5px;
}

.gcal-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: #E2E8F0;
  gap: 1px;
}

.gcal-day-cell {
  background: #FFFFFF;
  min-height: 110px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}

.gcal-day-cell:hover {
  background: #F8FAFC;
}

.gcal-day-cell.other-month {
  background: #FAFAFA;
  opacity: 0.5;
}

.gcal-day-cell.is-today {
  background: #F0F9FF;
}

.gcal-day-num {
  font-size: 0.85rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 6px;
  display: inline-block;
}

.today-pill {
  background: var(--pantone-2935);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gcal-day-events {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  max-height: 80px;
}

.gcal-event-chip {
  background: linear-gradient(135deg, #E8F7FC, #FFF0F5);
  border-left: 3px solid var(--pantone-3115);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  color: #0F172A;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gcal-event-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 173, 239, 0.25);
  border-left-color: var(--pantone-2935);
}

.chip-time {
  font-weight: 800;
  color: var(--pantone-2935);
  font-size: 0.72rem;
}

.chip-title {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}