/* ===== VARIABLES Y ESTILOS BASE ===== */
:root {
  --primary: rgb(11, 163, 173);
  --primary-dark: rgb(8, 130, 138);
  --primary-light: rgba(11, 163, 173, 0.1);
  --secondary: #f43f5e;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --light-gray: #e2e8f0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* ===== HEADER Y NAVEGACIÓN ===== */
.main-header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 1rem;
}

.main-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
  position: relative;
}

/* Logo */
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.zen {
  color: var(--dark);
}

.cita {
  color: var(--primary);
}

/* Enlaces desktop */
.desktop-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.auth-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.auth-link {
  color: var(--dark);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
  font-weight: 500;
}

.auth-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

.separator {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0 8px;
}

.welcome-text {
  font-weight: 500;
  color: #333;
}

/* Botón business */
.btn-business {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-business:hover {
  background: var(--primary-dark);
  color: white;
}

.business-link {
  margin-left: auto;
}

/* ===== MENÚ MÓVIL ===== */
.mobile-menu-button {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--dark);
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: white;
  z-index: 1001;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  padding: 2rem;
  margin-top: 40px;
}

.mobile-menu-content .auth-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mobile-menu-content .auth-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.mobile-menu-content .welcome-text {
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.mobile-menu-content .btn-business {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  justify-content: center;
}

.close-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
  z-index: 1002;
}

#mobileMenuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

#mobileMenuOverlay.active {
  display: block;
}

/* ===== MODAL DE AUTENTICACIÓN ===== */
.auth-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.auth-modal-content {
  position: relative;
  background-color: #fff;
  margin: 15% auto;
  padding: 25px;
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.close-auth-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  color: #888;
  font-size: 24px;
  font-weight: normal;
  cursor: pointer;
  transition: color 0.3s ease;
  background: none;
  border: none;
  padding: 0;
}

.close-auth-modal:hover {
  color: #333;
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 20px;
  padding-top: 10px;
}

.auth-modal-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.5rem;
  font-weight: 600;
}

.auth-modal-body {
  padding: 0 1rem;
}

.auth-modal-body .form-group {
  margin-bottom: 1.5rem;
}

/* ===== FORMULARIOS Y BOTONES ===== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 500;
  color: var(--dark);
  display: block;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  font-size: 1rem;
  transition: all 0.3s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  text-decoration: none;
}

/* .btn-primary:hover {
  background: var(--primary-dark);
} */

.btn-block {
  display: block;
  width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .desktop-links {
    display: none !important;
  }

  .mobile-menu-button {
    display: block !important;
  }

  .btn-business {
    padding: 0.6rem;
  }

  .auth-modal-content {
    margin: 10% auto;
    width: 85%;
    padding: 15px;
  }

  .auth-modal-header h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
  }

  .form-control,
  .btn-block {
    padding: 0.875rem;
    font-size: 16px;
  }

  .close-auth-modal {
    font-size: 24px;
    right: 12px;
    top: 8px;
  }

  .mobile-menu {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .desktop-links {
    display: flex !important;
  }

  .mobile-menu-button {
    display: none !important;
  }

  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .auth-modal-content {
    margin: 15% auto;
    width: 90%;
    padding: 15px 12px;
  }

  .mobile-menu {
    width: 85%;
  }
}

/* ===== SOCIAL LOGIN STYLES UNIFICADOS ===== */
.social-login-container {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--light-gray);
}

.social-login-separator {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.social-login-separator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--light-gray);
  z-index: 1;
}

.social-login-separator span {
  background: white;
  padding: 0 1rem;
  color: var(--gray);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

.social-login-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--light-gray);
  background: white;
  color: var(--dark);
  font-size: 0.95rem;
}

.social-login-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: var(--dark);
}

.social-login-btn.google-btn:hover {
  border-color: var(--primary);
}

.social-login-btn:active {
  transform: translateY(0);
}

.social-logo {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  object-fit: contain;
}

/* ===== DARK MODE SUPPORT ===== */
/* @media (prefers-color-scheme: dark) {
  .social-login-container {
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .social-login-separator::before {
    background: rgba(255, 255, 255, 0.1);
  }

  .social-login-separator span {
    background: var(--dark);
    color: var(--light-gray);
  }

  .social-login-btn {
    background: #334155;
    border-color: #475569;
    color: var(--light);
  }

  .social-login-btn:hover {
    background: #475569;
    border-color: var(--primary);
    color: var(--dark);
  }
} */

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  .social-login-container {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }

  .social-login-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .social-logo {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }
}

@media (max-width: 480px) {
  .social-login-container {
    margin-top: 1.25rem;
    padding-top: 1rem;
  }

  .social-login-separator {
    margin-bottom: 1rem;
  }

  .social-login-separator span {
    font-size: 0.85rem;
    padding: 0 0.75rem;
  }

  .social-login-buttons {
    gap: 0.75rem;
  }

  .social-login-btn {
    padding: 9px 14px;
    font-size: 0.85rem;
  }

  .social-logo {
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }
}