/* =========================
   Appte - Design System v2
   Tokens + overrides sobre Bootstrap 5
   ========================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

.min-w-180 { min-width: 180px; }

:root {
  /* Colores */
  --bg-page: #FFFDFB;
  --card-bg: #FFFFFF;
  --accent-mint: #63D6B1;
  --accent-blue: #8FBFE6;
  --color-principal: #1a153c;
  --color-acento: #ad0098;
  --text-primary: #212428;
  --text-secondary: #5A6368;
  --muted: #9AA3A8;
  --danger: #E25B5B;

  /* Sombras */
  --shadow-1: 0 6px 18px rgba(36, 41, 46, 0.06);
  --shadow-2: 0 10px 30px rgba(36, 41, 46, 0.08);
  --border-subtle: 1px solid rgba(36, 41, 46, 0.06);

  /* Espaciado */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;

  /* Bordes */
  --r-radius: 10px;

  /* TipografÃ­a */
  --font-base: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 15px;

  /* Layout */
  --container-max: 1200px;
}

/* =========================
   Base
   ========================= */
body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  background-color: var(--bg-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}


/* =========================
   Override colores Bootstrap
   ========================= */


.text-danger {
    --bs-text-opacity: 1;
    color: #ae4774 !important;
}

.btn-primary {
  background-color: var(--color-principal);
  border-color: var(--color-principal);
  font-weight: 600;
  border-radius: var(--r-radius);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #2d2466;
  border-color: #2d2466;
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-principal);
  color: var(--color-principal);
  font-weight: 600;
  border-radius: var(--r-radius);
}

.btn-secondary:hover {
  background-color: var(--color-principal);
  color: #fff;
}

/* Botones acciÃ³n especial â€” ya definidos en site.css */
.btn-accion {
  color: var(--color-principal);
  border: 1px solid var(--color-principal);
  background-color: transparent;
  border-radius: var(--r-radius);
  font-weight: 600;
}

.btn-accion:hover {
  background-color: var(--color-principal);
  color: #fff;
}

.btn-accion-magenta {
  color: var(--color-acento);
  border: 1px solid var(--color-acento);
  background-color: transparent;
  border-radius: var(--r-radius);
  font-weight: 600;
}

.btn-accion-magenta:hover {
  background-color: var(--color-acento);
  color: #fff;
}

/* =========================
   Cards
   ========================= */
.card {
  border-radius: var(--r-radius);
  box-shadow: var(--shadow-1);
  border: var(--border-subtle);
  background: var(--card-bg);
}

.card:hover {
  box-shadow: var(--shadow-2);
  transition: box-shadow 0.18s ease;
}

/* =========================
   Navbar
   ========================= */
.navbar-appte {
  background: var(--bg-page);
  box-shadow: var(--shadow-1);
  padding: 12px 0;
}

.navbar-appte .navbar-brand {
  font-weight: 700;
  color: var(--color-principal);
  font-size: 20px;
}

.navbar-appte .nav-link {
  color: var(--text-secondary);
  font-weight: 600;
}

.navbar-appte .nav-link:hover {
  color: var(--color-principal);
}

/* =========================
   Hero landing
   ========================= */
.hero-landing {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
}

.hero-landing .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-landing .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: var(--space-lg);
  max-width: 800px;
}

.hero-landing h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.hero-landing p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: var(--space-lg);
}

.hero-landing .btn-hero-primary {
  background: #fff;
  color: var(--color-principal);
  font-weight: 700;
  border-radius: var(--r-radius);
  padding: 12px 28px;
  border: none;
  margin-right: 12px;
}

.hero-landing .btn-hero-primary:hover {
  background: var(--accent-mint);
  color: #fff;
}

.hero-landing .btn-hero-secondary {
  background: var(--color-acento);
  color: #fff;
  font-weight: 700;
  border-radius: var(--r-radius);
  padding: 12px 28px;
  border: none;
}

.hero-landing .btn-hero-secondary:hover {
  background: #8f007e;
}

/* =========================
   Feature cards
   ========================= */
.feature-card {
  background: var(--card-bg);
  border-radius: var(--r-radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-1);
  border: var(--border-subtle);
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.feature-card .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(143, 191, 230, 0.2), rgba(99, 214, 177, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 1.5rem;
  color: var(--color-principal);
}

.feature-card h4 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* =========================
   SecciÃ³n cÃ³mo funciona
   ========================= */
.como-funciona-step {
  text-align: center;
  padding: var(--space-md);
}

.como-funciona-step .step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-principal);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.como-funciona-step h5 {
  font-weight: 700;
  color: var(--text-primary);
}

.como-funciona-step p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* =========================
   Testimonios
   ========================= */
.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--r-radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-1);
  border: var(--border-subtle);
}

.testimonial-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-principal);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-card .nombre {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
}

.testimonial-card .texto {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* =========================
   SecciÃ³n CTA final
   ========================= */
.cta-final {
  background: var(--color-principal);
  color: #fff;
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-final h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.cta-final p {
  opacity: 0.85;
  margin-bottom: var(--space-lg);
}

.cta-final .btn-cta {
  background: var(--color-acento);
  color: #fff;
  font-weight: 700;
  border-radius: var(--r-radius);
  padding: 14px 36px;
  border: none;
  font-size: 1rem;
}

.cta-final .btn-cta:hover {
  background: #8f007e;
}

/* =========================
   GrÃ¡fico ocupaciÃ³n
   ========================= */
.chart-card {
  background: var(--card-bg);
  border-radius: var(--r-radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-1);
  border: var(--border-subtle);
}

.chart-card h5 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

/* =========================
   Footer
   ========================= */
.footer-appte {
  background: var(--color-principal);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg) 0;
  font-size: 14px;
  text-align: center;
}

.footer-appte a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 var(--space-sm);
}

.footer-appte a:hover {
  color: #fff;
}

/* =========================
   Secciones generales
   ========================= */
.seccion {
  padding: var(--space-xl) 0;
}

.seccion-gris {
  background: #F7F7FA;
  padding: var(--space-xl) 0;
}

.seccion-titulo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.seccion-subtitulo {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 768px) {
  .hero-landing h1 {
    font-size: 1.8rem;
  }

  .hero-landing {
    min-height: 380px;
  }

  .seccion-titulo {
    font-size: 1.4rem;
  }
}

/* =========================
   Accesibilidad
   ========================= */
button:focus,
a:focus {
  outline: 3px solid rgba(99, 214, 177, 0.4);
  outline-offset: 2px;
  border-radius: 8px;
}

/* =========================
   Modales Auth
   ========================= */
.modal-auth .modal-content {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(36, 41, 46, 0.08);
  border: none;
}

.modal-auth .form-control {
  background-color: #FBFBFB;
  border: 1px solid rgba(36, 41, 46, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

.modal-auth .form-control::placeholder {
  color: #9AA3A8;
}

.modal-auth .btn-primary {
  background-color: var(--color-principal);
  color: #fff;
  border-radius: 10px;
  height: 48px;
  font-weight: 700;
}

.modal-auth .btn-outline-secondary {
  border: 1px solid var(--color-principal);
  color: var(--color-principal);
  background: transparent;
  border-radius: 10px;
  height: 48px;
  font-weight: 700;
}

.modal-auth .btn-outline-secondary:hover {
  background-color: var(--color-principal);
  color: #fff;
}

.modal-auth .modal-title-custom {
  font-size: 22px;
  font-weight: 700;
}

/* Override Backdrop (Bootstrap) */
.modal-backdrop.show {
  opacity: 1 !important;
  background-color: rgba(15, 20, 25, 0.45) !important;
}

/* AnimaciÃ³n de entrada */
.modal-auth.fade .modal-dialog {
  transform: scale(0.98);
  opacity: 0;
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}

.modal-auth.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

/* Mensajes de error */
.modal-auth .field-validation-error {
  color: #E25B5B !important;
  font-size: 13px;
  display: flex !important;
  align-items: center;
  margin-top: 4px;
}

.modal-auth .field-validation-error::before {
  color: #fff;
  padding: var(--space-xl) 0;
  text-align: center;
}

.cta-final h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.cta-final p {
  opacity: 0.85;
  margin-bottom: var(--space-lg);
}

.cta-final .btn-cta {
  background: var(--color-acento);
  color: #fff;
  font-weight: 700;
  border-radius: var(--r-radius);
  padding: 14px 36px;
  border: none;
  font-size: 1rem;
}

.cta-final .btn-cta:hover {
  background: #8f007e;
}

/* =========================
   GrÃ¡fico ocupaciÃ³n
   ========================= */
.chart-card {
  background: var(--card-bg);
  border-radius: var(--r-radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-1);
  border: var(--border-subtle);
}

.chart-card h5 {
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

/* =========================
   Footer
   ========================= */
.footer-appte {
  background: var(--color-principal);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg) 0;
  font-size: 14px;
  text-align: center;
}

.footer-appte a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 0 var(--space-sm);
}

.footer-appte a:hover {
  color: #fff;
}

/* =========================
   Secciones generales
   ========================= */
.seccion {
  padding: var(--space-xl) 0;
}

.seccion-gris {
  background: #F7F7FA;
  padding: var(--space-xl) 0;
}

.seccion-titulo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.seccion-subtitulo {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 768px) {
  .hero-landing h1 {
    font-size: 1.8rem;
  }

  .hero-landing {
    min-height: 380px;
  }

  .seccion-titulo {
    font-size: 1.4rem;
  }
}

/* =========================
   Accesibilidad
   ========================= */
button:focus,
a:focus {
  outline: 3px solid rgba(99, 214, 177, 0.4);
  outline-offset: 2px;
  border-radius: 8px;
}

/* =========================
   Modales Auth
   ========================= */
.modal-auth .modal-content {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(36, 41, 46, 0.08);
  border: none;
}

.modal-auth .form-control {
  background-color: #FBFBFB;
  border: 1px solid rgba(36, 41, 46, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

.modal-auth .form-control::placeholder {
  color: #9AA3A8;
}

.modal-auth .btn-primary {
  background-color: var(--color-principal);
  color: #fff;
  border-radius: 10px;
  height: 48px;
  font-weight: 700;
}

.modal-auth .btn-outline-secondary {
  border: 1px solid var(--color-principal);
  color: var(--color-principal);
  background: transparent;
  border-radius: 10px;
  height: 48px;
  font-weight: 700;
}

.modal-auth .btn-outline-secondary:hover {
  background-color: var(--color-principal);
  color: #fff;
}

.modal-auth .modal-title-custom {
  font-size: 22px;
  font-weight: 700;
}

/* Override Backdrop (Bootstrap) */
.modal-backdrop.show {
  opacity: 1 !important;
  background-color: rgba(15, 20, 25, 0.45) !important;
}

/* AnimaciÃ³n de entrada */
.modal-auth.fade .modal-dialog {
  transform: scale(0.98);
  opacity: 0;
  transition: transform 160ms ease-out, opacity 160ms ease-out;
}

.modal-auth.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

/* Mensajes de error */
.modal-auth .field-validation-error {
  color: #E25B5B !important;
  font-size: 13px;
  display: flex !important;
  align-items: center;
  margin-top: 4px;
}

.modal-auth .field-validation-error::before {
  content: "\f071";
  /* FontAwesome fa-triangle-exclamation */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 6px;
}

/* =========================
   User Dropdown Menu
   ========================= */
.dropdown-menu-appte {
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(36, 41, 46, 0.08);
  border: 1px solid rgba(36, 41, 46, 0.06);
  padding: 8px;
  margin-top: 10px;
}

.dropdown-menu-appte .dropdown-item {
  max-height: 56px;
  display: flex !important;
  flex-direction: row;
  align-items: center;
  padding: 0 14px;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-principal);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu-appte .dropdown-item:hover,
.dropdown-menu-appte .dropdown-item:focus {
  background-color: rgba(143, 191, 230, 0.08);
  transform: translateY(-2px);
  color: var(--color-principal);
}

.menu-item-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(26, 21, 60, 0.06);
  flex-shrink: 0;
}

.menu-item-text {
  font-weight: 600;
  font-size: 15px;
  color: #1a153c;
}

.menu-item-danger .menu-item-icon {
  background: rgba(226, 91, 91, 0.08);
}

.menu-item-danger .menu-item-text {
  color: #E25B5B;
}

.menu-item-danger i {
  color: #E25B5B;
}

.dropdown-menu-appte .dropdown-divider {
  border-top: 1px solid rgba(36, 41, 46, 0.06);
  margin: 6px 0;
}

.dropdown-menu-appte .item-logout {
  color: #E25B5B !important;
}

.dropdown-menu-appte .item-logout .icon-wrapper {
  background-color: rgba(226, 91, 91, 0.06);
  color: #E25B5B !important;
}

.dropdown-menu-appte .item-logout:hover {
  background-color: rgba(226, 91, 91, 0.08) !important;
  color: #E25B5B !important;
  transform: translateY(-2px);
}

.btn-tres-puntos {
  background: rgba(36, 41, 46, 0.06) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  cursor: pointer !important;
  color: #1a153c !important;
  line-height: 1 !important;
}

.btn-tres-puntos:hover,
.btn-tres-puntos:focus,
.btn-tres-puntos:active,
.btn-tres-puntos.show {
  background: rgba(36, 41, 46, 0.12) !important;
  box-shadow: none !important;
  color: #1a153c !important;
}

.btn-user-menu {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(36, 41, 46, 0.1);
  background: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.btn-user-menu:hover,
.btn-user-menu:focus {
  background: #F7F7FA;
  box-shadow: 0 4px 12px rgba(36, 41, 46, 0.05);
}

@media (max-width: 768px) {
  .dropdown-menu-appte {
    width: calc(100% - 24px) !important;
    margin: 10px 12px !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    max-width: none !important;
  }

  .dropdown-menu-appte .dropdown-item {
    height: 64px;
  }
}

/* =========================
   Sidebar NavegaciÃ³n
   ========================= */
.sidebar {
  width: 220px;
  min-height: 100vh;
  background: #FFFFFF;
  border-right: 1px solid rgba(36, 41, 46, 0.06);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  color: #5A6368;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  border-radius: 3px;
  margin: 2px 12px;
  transition: all 0.15s ease;
}

.sidebar-item i {
  font-size: 18px;
  color: #5A6368;
}

.sidebar-item:hover {
  background: rgba(26, 21, 60, 0.04);
  color: #5A6368;
}

.sidebar-item:hover i {
  color: #5A6368;
}

.sidebar-item.active {
  background: #8FBFE6;
  color: #FFFFFF;
}

.sidebar-item.active i {
  color: #FFFFFF;
}

.sidebar-item .sidebar-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  flex-shrink: 0;
}

.sidebar-item.active .sidebar-icon {
  background: transparent;
}

.sidebar-footer {
  margin-top: auto;
  padding: 16px 12px;
  border-top: 1px solid rgba(36, 41, 46, 0.06);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  margin-bottom: 8px;
}

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1a153c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.sidebar-username-container {
  display: flex;
  flex-direction: column;
}

.sidebar-username {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.2;
}

.sidebar-email {
  font-size: 12px;
  color: #5A6368;
  line-height: 1.2;
  margin-top: 2px;
}

.sidebar-logout {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  color: #E25B5B;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.sidebar-logout:hover {
  background: rgba(226, 91, 91, 0.06);
  color: #E25B5B;
}

.main-with-sidebar {
    margin-left: 220px;
    min-height: 100vh;
    /*background: var(--bg-page);*/
    background-color: #f7f9fb;
    padding: 32px;
}

/* =========================
   Dashboard (Cuadro de mandos)
   ========================= */
.pagina-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.dashboard-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.5px;
}

.dashboard-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-panel {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(36, 41, 46, 0.03);
  border: 1px solid rgba(36, 41, 46, 0.06);
  padding: 24px;
}

.reserva-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
}

.reserva-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(26, 21, 60, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--color-principal);
  flex-shrink: 0;
}

.reserva-stat-content {
  display: flex;
  flex-direction: column;
}

.reserva-stat-content h6 {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 2px;
}

.reserva-stat-content p {
  margin: 0;
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 700;
}



.cal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.cal-dot-occupied {
  background-color: #8FBFE6;
}

.cal-dot-checkin {
  background-color: #63D6B1;
}

.cal-dot-checkout {
  background-color: #9AA3A8;
}

@media (max-width: 992px) {
  .pagina-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =========================
   Dashboard (ExtracciÃ³n estilos inline)
   ========================= */
.dashboard-actions-select {
  min-width: 250px;
  background-color: #FFFFFF;
  border-radius: 8px;
  border-color: rgba(36, 41, 46, 0.1);
  padding: 10px 14px;
  color: var(--text-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-notificaciones {
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid rgba(36, 41, 46, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.btn-notificaciones i {
  font-size: 18px;
}

.reserva-stat-icon-actual {
  background: rgba(143, 191, 230, 0.15);
  color: #8FBFE6;
}

.reserva-stat-icon-proxima {
  background: rgba(99, 214, 177, 0.15);
  color: #63D6B1;
}

.reserva-stat-icon-pasada {
  background: rgba(36, 41, 46, 0.06);
  color: #5A6368;
}

.alojamiento-img-container {
  position: relative;
  width: 140px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}

.alojamiento-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-estado {
  position: absolute;
  top: 8px;
  left: 8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 11px;
  padding: 4px 8px;
}

.alojamiento-titulo {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 20px;
}

.alojamiento-direccion {
  font-size: 14px;
  font-weight: 500;
}

.btn-alojamiento-accion {
  background: rgba(36, 41, 46, 0.06);
  font-weight: 600;
  border-radius: 6px;
  color: var(--text-primary);
  padding: 6px 12px;
  font-size: 13px;
}

.calendario-titulo {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.calendario-leyenda {
  font-size: 13px;
  font-weight: 500;
}

.btn-grafica-nav {
  border-radius: 6px;
  background: rgba(36, 41, 46, 0.04);
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grafica-titulo-aÃ±o {
  color: var(--text-primary);
  font-size: 15px;
}

.grafica-container {
  position: relative;
  height: 160px;
  width: 100%;
  margin: 0 auto;
}

.ingresos-container {
  border-top: 1px solid rgba(36, 41, 46, 0.06);
}

.ingresos-label {
  font-size: 13px;
  font-weight: 500;
}

.ingresos-valor {
  font-weight: 700;
  color: var(--text-primary);
}

.btn-accion-principal {
  background: #1a153c;
  border-radius: 8px;
  font-weight: 600;
  padding: 12px;
  font-size: 14px;
  transition: opacity 0.2s;
  color: white;
}

.btn-accion-principal:hover {
  opacity: 0.9;
  color: white;
}

.btn-accion-secundaria {
  background: rgba(36, 41, 46, 0.04);
  border-radius: 8px;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 14px;
}

.reserva-vacia {
  font-size: 14px;
  color: #9AA3A8;
}

.support-card-custom {
  background: rgba(143, 191, 230, 0.1);
  border: 1px dashed rgba(143, 191, 230, 0.4);
}

.support-icon {
  font-size: 24px;
  color: #8FBFE6;
}

.support-titulo {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
}

.support-texto {
  font-size: 13px;
  line-height: 1.4;
}

.btn-support {
  background: #FFFFFF;
  color: var(--text-secondary);
  font-weight: 600;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  padding: 8px;
  border: 1px solid rgba(36, 41, 46, 0.06);
}

.empty-dashboard-subtitle {
  max-width: 600px;
  line-height: 1.6;
}

.empty-dashboard-card {
  padding: 40px 24px;
}

.empty-dashboard-icon {
  font-size: 32px;
  color: #8FBFE6;
  width: 64px;
  height: 64px;
  background: rgba(143, 191, 230, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-dashboard-text {
  font-size: 14px;
}

/* =========================
   Calendario Grid
   ========================= */
.calendario-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendario-dia {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid rgba(36, 41, 46, 0.06);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background-color: #fff;
}

.calendario-dia.ocupado {
  background: rgba(143, 191, 230, 0.1);
}

.calendario-dia.checkin {
  background: rgba(99, 214, 177, 0.1);
}

.calendario-dia.checkout {
  background: rgba(36, 41, 46, 0.04);
}

.calendario-dia.fuera-mes {
  color: #adb5bd;
  background-color: #f8f9fa;
  border-color: rgba(36, 41, 46, 0.03);
  cursor: default;
}

.calendario-cabecera-dia {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  padding-bottom: 8px;
}

.calendario-punto {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 4px;
}

.punto-ocupado {
  background: #8FBFE6;
}

.punto-checkin {
  background: #63D6B1;
}

.punto-checkout {
  background: #9AA3A8;
}

/* =========================
   PÃ¡gina Mis Reservas
   ========================= */
.reserva-card {
  display: flex;
  gap: 16px;
  background: var(--card-bg, #FFFFFF);
  border-radius: var(--r-radius, 12px);
  padding: 16px;
  box-shadow: var(--shadow-1, 0 10px 30px rgba(36, 41, 46, 0.08));
  border: var(--border-subtle, 1px solid rgba(36, 41, 46, 0.06));
  margin-bottom: 12px;
}

.reserva-card-img {
  width: 120px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.btn-primary {
  background-color: #8FBFE6 !important;
  border-color: #8FBFE6 !important;
  color: #1a153c !important;
  font-weight: 700 !important;
  border-radius: var(--r-radius) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #7aaed4 !important;
  border-color: #7aaed4 !important;
  color: #1a153c !important;
}

.filtros-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}

.filtros-row .filtro-buscar {
  flex: 1;
}

.reserva-seccion-titulo {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reserva-badge-contador {
  background: rgba(26, 21, 60, 0.08);
  color: var(--color-principal);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 13px;
  font-weight: 600;
}

.resumen-fila {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(36, 41, 46, 0.06);
}

.resumen-valor {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.pagina-layout-2col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

.reservas-sidebar {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 24px;
    margin-top: 16px;
}


@media (max-width: 992px) {
  .pagina-layout-2col {
    grid-template-columns: 1fr;
  }
}

.btn-accion-header {
  padding: 10px 20px;
  border-radius: 8px;
}

.btn-filtros-avanzados {
  border-radius: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(36, 41, 46, 0.1);
  color: var(--text-secondary);
}

.icono-input-buscar {
  left: 14px;
  top: 12px;
}

.input-filtro-reserva {
  padding-left: 40px;
  border-radius: 8px;
  background: rgba(36, 41, 46, 0.02);
  border-color: rgba(36, 41, 46, 0.1);
}

.input-filtro-fechas {
  width: 220px;
  padding-left: 40px;
  border-radius: 8px;
  background: rgba(36, 41, 46, 0.02);
  border-color: rgba(36, 41, 46, 0.1);
}

.filtro-contenedor-feat {
  width: auto;
}

.badge-estado-reserva {
  border-radius: 6px;
  font-weight: 600;
}

.reserva-titulo-propiedad {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}

.reserva-ubicacion {
  font-size: 13px;
}

.reserva-pasajeros {
  font-weight: 700;
  color: #8FBFE6;
}

.reserva-avatar {
  width: 32px;
  height: 32px;
  background: #1a153c;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
}

.reserva-nombre-huesped {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}

.reserva-fechas-detalle {
  font-size: 14px;
  font-weight: 500;
}

.reserva-btn-accion {
  border-radius: 6px;
  font-weight: 600;
  border: 1px solid rgba(36, 41, 46, 0.1);
  color: var(--text-secondary);
}

.reserva-btn-detalles {
  background: rgba(36, 41, 46, 0.06);
  font-weight: 600;
  border-radius: 6px;
  color: var(--text-primary);
}

.btn-recuperar-custom {
  border-radius: 6px;
  font-weight: 600;
}

.card-empty {
  border: 1px dashed rgba(36, 41, 46, 0.15);
  background: transparent;
}

.reserva-empty-icon {
  font-size: 32px;
  color: #adb5bd;
  width: 64px;
  height: 64px;
  background: rgba(36, 41, 46, 0.04);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reserva-empty-title {
  font-weight: 600;
  color: var(--text-secondary);
}

.reserva-btn-crear {
  background: rgba(36, 41, 46, 0.06);
  font-weight: 600;
  border-radius: 8px;
  color: var(--text-primary);
  padding: 8px 16px;
}

.resumen-titulo-ppal {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}

.resumen-etiqueta {
  font-size: 14px;
  font-weight: 500;
}

.resumen-icono-container {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(36, 41, 46, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.resumen-icono-ingresos {
  background: rgba(143, 191, 230, 0.15);
  color: #8FBFE6;
}

.resumen-icono-cancelacion {
  background: rgba(226, 91, 91, 0.1);
  color: #E25B5B;
}

.resumen-fila-last {
  border-bottom: none;
}

.grafica-contenedor-feat {
  position: relative;
  height: 180px;
  width: 100%;
  margin: 0 auto;
}



.support-icono-feat {
  font-size: 28px;
  color: #8FBFE6;
}

.support-texto-feat {
  font-size: 13px;
  line-height: 1.5;
}

.support-btn-feat {
  border-radius: 8px;
  font-weight: 600;
}

.badge-seccion {
  font-size: 11px;
  font-weight: 600;
  color: #5A6368;
  background: #ffffff;
  border: 1px solid rgba(36, 41, 46, 0.1);
  border-radius: 999px;
  padding: 2px 10px;
}

.titulo-seccion-form {
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
}



.form-label-custom {
  font-size: 12px;
  font-weight: 600;
  color: #5A6368;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.form-control-custom {
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 8px;
  border: 1px solid rgba(36, 41, 46, 0.15);
  background-color: #ffffff;
  color: var(--text-primary);
  box-shadow: none;
  transition: all 0.2s ease;
}

.form-control-custom:focus {
  border-color: #8FBFE6;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(143, 191, 230, 0.15);
}

.form-control-custom::placeholder {
  color: #adb5bd;
}

.texto-descripcion-seccion {
  font-size: 14px;
  color: #6c757d;
  font-style: italic;
}



.consejos-titulo {
  font-size: 13px;
  font-weight: 700;
  color: #8FBFE6;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.consejo-item {
  display: flex;
  gap: 12px;
}

.consejo-icono {
  min-width: 20px;
  color: #8FBFE6;
  font-size: 14px;
}

.consejo-subtitulo {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.consejo-texto {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.formulario-columna {
  width: 100%;
}

/* =========================
   Tom Select Overrides
   ========================= */
.ts-wrapper .ts-control {
  border-radius: var(--r-radius) !important;
  border: 1px solid rgba(36, 41, 46, 0.06) !important;
  background: #FBFBFB !important;
  min-height: 52px;
  padding: 14px 16px;
  font-size: 1rem;
}

.ts-wrapper.focus .ts-control {
  background: #FFFFFF !important;
  box-shadow: 0 0 0 4px rgba(99, 214, 177, 0.15) !important;
  border-color: var(--accent-mint) !important;
}

.ts-dropdown {
  border-radius: var(--r-radius) !important;
  box-shadow: var(--shadow-2) !important;
  border: var(--border-subtle) !important;
  font-size: 0.95rem;
  margin-top: 4px;
}

.ts-dropdown .option {
  padding: 10px 16px;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
  background-color: rgba(99, 214, 177, 0.1) !important;
  color: var(--color-principal) !important;
}

/* =========================
   Detalle Reserva
   ========================= */
.text-color-principal {
  color: var(--color-principal) !important;
}

.text-accent-blue {
  color: var(--accent-blue) !important;
}

.text-micro-bold {
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.text-xs {
  font-size: 0.75rem;
}

.text-sm-md {
  font-size: 0.9rem;
}

.text-lg {
  font-size: 1.1rem;
}

.min-h-240 {
  min-height: 240px;
}

.bg-soft-blue-border {
  background-color: #f8fbff;
  border: 1px solid rgba(143, 191, 230, 0.2);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--accent-blue), #4e4b63);
}

.reserva-detalle-avatar {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  background: #e9ecef;
  color: #495057;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.z-index-2 {
  z-index: 2;
}

.font-size-sm {
  font-size: 0.8rem;
}

.font-size-xs {
  font-size: 0.7rem;
}

.border-light {
  border-color: rgba(0, 0, 0, 0.1);
}


.alojamiento-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.alojamiento-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alojamiento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 40%,
      rgba(0, 0, 0, 0.65) 100%);
}

.alojamiento-card-info {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  color: #fff;
}

.alojamiento-card-info h5 {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 4px;
  color: #fff;
}

.ocupacion-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(36, 41, 46, 0.08);
  margin-top: 4px;
}

.ocupacion-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: #8FBFE6;
}


.badge-activo {
  background-color: #63D6B1;
  color: #ffffff;
  padding: 4px 12px;
  width: auto;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
}

.badge-pausado {
  background-color: #F4A261;
  color: #ffffff;
  padding: 4px 12px;
  width: auto;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  position: absolute;
  top: 12px;
  right: 12px;
  left: auto;
}

.pasos-indicador {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.pasos-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-principal);
  white-space: nowrap;
}

.pasos-barra {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: rgba(36, 41, 46, 0.08);
}

.pasos-barra-fill {
  height: 100%;
  border-radius: 999px;
  background: #8FBFE6;
}

.tipo-card-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* PASO 2: Tipos de Lugar */
.tipo-card {
  border: 2px solid rgba(36, 41, 46, 0.06);
  border-radius: var(--r-radius);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
  background: var(--card-bg);
}

.tipo-card:hover {
  border-color: #8FBFE6;
  background: rgba(143, 191, 230, 0.06);
}

.tipo-card.selected {
  border-color: #8FBFE6;
  background: rgba(143, 191, 230, 0.12);
}

.tipo-card .tipo-icono {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(143, 191, 230, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.3rem;
  color: var(--color-principal);
}

.tipo-card.selected .tipo-icono {
  background: #8FBFE6;
  color: #fff;
}

/* PASO 2: Contadores */
.contador-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(36, 41, 46, 0.06);
  border-radius: var(--r-radius);
  background: var(--card-bg);
}

.contador-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(36, 41, 46, 0.12);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--color-principal);
  transition: all 0.15s ease;
}

.contador-btn:hover {
  background: rgba(26, 21, 60, 0.06);
}

.contador-valor {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-principal);
  min-width: 24px;
  text-align: center;
}

/* Modal CategorÃ­a Imagen Paso 4 */
.modal-espacio-imagen .modal-content {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(36, 41, 46, 0.08);
  border: none;
}

.modal-espacio-imagen .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-espacio-imagen .modal-title-custom {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-principal);
  width: 100%;
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-backdrop.show {
  background-color: rgba(15, 20, 25, 0.45);
  opacity: 1 !important;
}

/* RediseÃ±o Paso 4 - Subida de Fotos */
.upload-area {
  border: 2px dashed rgba(143, 191, 230, 0.5);
  border-radius: var(--r-radius);
  padding: 48px 24px;
  text-align: center;
  background: rgba(143, 191, 230, 0.04);
  transition: all 0.18s ease;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: #8FBFE6;
  background: rgba(143, 191, 230, 0.08);
}

.upload-icono {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(143, 191, 230, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: #8FBFE6;
}

.foto-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.foto-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto-img-wrapper .foto-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  padding: 8px;
  color: #fff;
}

.foto-principal-badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

.foto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.foto-grid-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #fbfafa;
    padding: 10px;
    border-radius: var(--r-radius);
    box-shadow: var(--shadow-1);
    border: var(--border-subtle);
}

    .foto-grid-item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        display: block;
        flex-shrink: 0;
    }

.foto-item-footer {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    margin-top: 8px;
    font-size: 13px;
    min-width: 0;
    padding-left:5px
}

    .foto-item-footer span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

.btn-eliminar-foto {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: auto !important;
    color: #E25B5B !important;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
  height: 48px;
  border-radius: 50%;
  background: rgba(143, 191, 230, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.3rem;
  color: var(--color-principal);
}

.tipo-card.selected .tipo-icono {
  background: #8FBFE6;
  color: #fff;
}

/* PASO 2: Contadores */
.contador-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid rgba(36, 41, 46, 0.06);
  border-radius: var(--r-radius);
  background: var(--card-bg);
}

.contador-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(36, 41, 46, 0.12);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--color-principal);
  transition: all 0.15s ease;
}

.contador-btn:hover {
  background: rgba(26, 21, 60, 0.06);
}

.contador-valor {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-principal);
  min-width: 24px;
  text-align: center;
}

/* Modal CategorÃ­a Imagen Paso 4 */
.modal-espacio-imagen .modal-content {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(36, 41, 46, 0.08);
  border: none;
}

.modal-espacio-imagen .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-espacio-imagen .modal-title-custom {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-principal);
  width: 100%;
  text-align: center;
  margin-bottom: 1.5rem;
}

.modal-backdrop.show {
  background-color: rgba(15, 20, 25, 0.45);
  opacity: 1 !important;
}

/* RediseÃ±o Paso 4 - Subida de Fotos */
.upload-area {
  border: 2px dashed rgba(143, 191, 230, 0.5);
  border-radius: var(--r-radius);
  padding: 48px 24px;
  text-align: center;
  background: rgba(143, 191, 230, 0.04);
  transition: all 0.18s ease;
}

.upload-area:hover,
.upload-area.dragover {
  border-color: #8FBFE6;
  background: rgba(143, 191, 230, 0.08);
}

.upload-icono {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(143, 191, 230, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
  color: #8FBFE6;
}

.foto-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.foto-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.foto-img-wrapper .foto-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  padding: 8px;
  color: #fff;
}

.foto-principal-badge {
  position: absolute;
  top: 8px;
  left: 8px;
}

.foto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.foto-grid-item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background-color: #fbfafa;
    padding: 10px;
    border-radius: var(--r-radius);
    box-shadow: var(--shadow-1);
    border: var(--border-subtle);
}

    .foto-grid-item img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        display: block;
        flex-shrink: 0;
    }

.foto-item-footer {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    margin-top: 8px;
    font-size: 13px;
    min-width: 0;
    padding-left:5px
}

    .foto-item-footer span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
    }

.btn-eliminar-foto {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-left: auto !important;
    color: #E25B5B !important;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
    width: auto;
}

    .btn-eliminar-foto:hover {
        color: #c0392b !important;
        text-decoration: underline;
    }

.btn-upload {
    width: auto !important;
}

/* Modal Alojamiento Incompleto & Btn Danger overrides */
.btn-danger {
  background-color: #E8848A !important;
  border-color: #E8848A !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: var(--r-radius) !important;
}
.btn-danger:hover {
  background-color: #d4676e !important;
  border-color: #d4676e !important;
  color: #fff !important;
}

.modal-incompleto-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #f0f7fb;
    color: #8FBFE6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px auto;
}

.modal-incompleto-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 12px;
}

.modal-incompleto-text {
    font-size: 15px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 0;
    line-height: 1.6;
}

.modal-footer.footer-incompleto {
    border-top: 1px solid rgba(36, 41, 46, 0.08);
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.border-acento {
    border: 2px solid var(--color-acento) !important;
}

/* Sugerencias */
.sugerencia-avatar-area {
    text-align: center;
}

.sugerencia-avatar-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border: 2px dashed rgba(36, 41, 46, 0.12);
    border-radius: var(--r-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-secondary);
    background: rgba(143, 191, 230, 0.04);
}

.sugerencia-avatar-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--r-radius);
}

.sugerencia-textarea {
    min-height: 120px;
    resize: vertical;
}

.sugerencia-mapa {
    width: 100%;
    height: 300px;
    border-radius: var(--r-radius);
    border: 1px solid rgba(36, 41, 46, 0.08);
    background: #f8f9fa;
}

.sugerencia-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(143, 191, 230, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8FBFE6;
    font-size: 0.85rem;
}

.sticky-lateral {
    top: 24px;
    z-index: 1;
    height: fit-content;
}

.fs-10px {
    font-size: 10px !important;
}

.mw-300 { max-width: 300px; }
.mw-250 { max-width: 250px; }
.mw-200 { max-width: 200px; }
.mw-120 { max-width: 120px; }
.pl-search { padding-left: 2.5rem !important; }
.bg-card-bg { background: var(--card-bg); }
.icon-3rem-dim { font-size: 3rem; opacity: 0.5; }
.icon-4rem-dim { font-size: 4rem; opacity: 0.3; }
.min-h-400 { min-height: 400px; }
.h-180-overflow { height: 180px; overflow: hidden; }
.w-16px { width: 16px; text-align: center; }
.text-eliminar { color: #E25B5B !important; }
.sugerencia-img-80 {
    width: 80px;
    height: 80px;
    background: #f0f5fa;
    overflow: hidden;
}

.sugerencias-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.sugerencia-card-item {
    border: 2px solid transparent;
    border-radius: 16px;
    transition: border-color 0.2s ease;
}

.sugerencia-img-90 {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
}

.letter-spacing-sm {
    letter-spacing: -0.2px;
}

.letter-spacing-md {
    letter-spacing: 0.5px;
}

.letter-spacing-lg {
    letter-spacing: 1px;
}

.letter-spacing-minus {
    letter-spacing: -0.5px;
}

.text-accent-gold {
    color: #E0A86E;
}

.text-accent-red {
    color: #E25B5B;
}

.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.sugerencia-desc-text {
    font-size: 13px;
    max-width: 400px;
}

.sugerencia-card-actions {
    min-height: 90px;
    width: 120px;
}

.badge-activo-custom {
    background-color: #e1f2eb;
    color: #74C3A6;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 16px;
}

.badge-pendiente-custom {
    background-color: #f3f4f6;
    color: #6b7280;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 16px;
}

.border-light-gray {
    border-color: #e5e7eb !important;
}

.bg-primary-custom {
    background-color: #74C3A6;
}

.input-custom-8 {
    border-color: #e5e7eb;
    border-radius: 8px;
}

.rounded-12 {
    border-radius: 12px;
}

.rounded-16 {
    border-radius: 16px;
}

.sidebar-img-header {
    height: 220px;
    background: #f3f4f6;
}

.sidebar-img-radius {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.sidebar-content-radius {
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.sidebar-cat-text {
    color: #74C3A6;
    font-size: 11px;
}

.sidebar-avatar-placeholder {
    width: 28px;
    height: 28px;
    overflow: hidden;
}

.sidebar-avatar-icon {
    font-size: 12px;
}

.sidebar-desc-text {
    font-size: 14px;
    line-height: 1.6;
}

.text-primary-custom {
    color: #74C3A6;
}

.fs-14px {
    font-size: 14px;
}

.btn-sidebar-action {
    border-color: #e5e7eb !important;
    border-radius: 8px;
}

.bg-tip-container {
    background-color: #F5FCFA;
    border-color: #EBF5F0 !important;
}

.bg-tip-icon {
    background: #e1f2eb;
    color: #74C3A6;
}

.fs-11px {
    font-size: 11px;
}

.fs-12px {
    font-size: 12px;
}

.w-6px {
    width: 6px;
    height: 6px;
    background-color: #74C3A6;
}

/* Clases especÃ­ficas para VerAppt y EditarAppt */
.ver-appt-mapa {
    height: 400px;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.ver-appt-counters {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.ver-appt-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.ver-appt-servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
}

.ver-appt-checks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.ver-appt-servicio-btn {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    background: white;
    width: 100%;
    position: relative;
    cursor: pointer;
}

.ver-appt-servicio-static {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    background: white;
    width: 100%;
    position: relative;
}

.ver-appt-servicio-info-icon {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: #ad0098;
}

.ver-appt-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.ver-appt-fechas {
    color: #1a153c;
    font-weight: 500;
    margin-bottom: 1rem;
}

.ver-appt-descripcion {
    line-height: 1.7;
    color: #6b7280;
}

.icono-temp-oculto {
    position: absolute;
    left: -9999px;
}

.badge-activo-inline {
    background-color: var(--accent-mint);
    color: var(--color-principal);
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.badge-pausado-inline {
    background-color: #fce4e4;
    color: var(--danger);
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* RediseÃ±o Pasos Info Servicio */
.step-card {
    margin-bottom: 18px;
}
.step-card-inner {
    padding: 16px;
}
.step-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
}
.drag-handle {
    cursor: grab;
    color: #6c757d; /* text-muted */
    font-size: 18px;
    user-select: none;
}
.step-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
}
.step-delete-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--danger);
    font-weight: 700;
    border-radius: 8px;
    padding: 8px 10px;
}
.step-delete-btn:hover {
    background: rgba(226,91,91,0.06);
}
.step-body {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.step-desc {
    flex: 1;
    min-width: 0;
}
.step-image-wrap {
    width: 320px;
    max-width: 40%;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    /*gap: 8px;*/
}
.step-thumb-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-1);
}
.step-thumb {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}
.step-img-delete {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: white;
    border: var(--border-subtle);
    color: var(--danger);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-img-hint {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
    text-align: center;
}

/* --- HORARIOS REDESIGN --- */
.time-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin: 12px 0;
}
.time-card {
  background: var(--card-bg);
  border-radius: var(--r-radius);
  padding: 18px;
  box-shadow: var(--shadow-1);
  border: var(--border-subtle);
  flex: 1;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.time-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.time-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(143,191,230,0.08), rgba(143,191,230,0.04));
    color: var(--color-principal);
    font-size: 16px;
}
.time-label {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
}
.time-controls {
   /* display: flex;
    gap: 12px;
    align-items: center;*/
    display: flex;
    gap: 8px;
}
.time-select {
    flex: 1; /* <-- esto es lo que falta */
    min-width: 0; /* sobreescribe el min-width que lo bloquea */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #fbfbfb;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(36,41,46,0.06);
    min-width: 110px;
    font-size: 14px;
    color: var(--text-primary);
    box-shadow: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-secondary) 50%), linear-gradient(135deg, var(--text-secondary) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 36px;
}
.time-select:focus {
  outline: 3px solid rgba(143,191,230,0.14);
  outline-offset: 2px;
  border-color: var(--accent-blue);
}
@media (max-width: 900px) {
  .time-row { flex-direction: column; }
  .time-card { min-width: auto; }
}

.form-check-input:checked {
    background-color: #8FBFE6 !important;
    border-color: #8FBFE6 !important;
}

.form-check-input:focus {
    border-color: #8FBFE6;
    box-shadow: 0 0 0 3px rgba(143,191,230,0.25);
}
.icono-login {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient( 135deg, rgba(143, 191, 230, 0.2), rgba(99, 214, 177, 0.15) );
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-size: 1.5rem;
    color: var(--color-principal);
}

.tipo-icono-selected {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #8FBFE6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.checkin-hero {
    text-align: center;
    padding: 0em 1rem 11px 1.5rem ;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.checkin-hero-icono {
  font-size: 3rem;
  color: var(--accent-mint);
}
.checkin-appt-foto {
  width: 220px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.checkin-badge-entrada {
  background: #e8faf5;
  color: var(--color-principal);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.checkin-badge-salida {
  background: #e8f2fc;
  color: var(--color-principal);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.checkin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.checkin-form-grid .campo-ancho-completo {
  grid-column: 1 / -1;
}
.checkin-firma-canvas {
  width: 100%;
  height: 160px;
  border: 2px dashed rgba(36,41,46,0.12);
  border-radius: 8px;
  cursor: crosshair;
  display: block;
}
.checkin-legal {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
  margin-top: 12px;
}
.checkin-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-top: var(--border-subtle);
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .checkin-form-grid {
    grid-template-columns: 1fr;
  }
}

/* --- CALENDARIO TOOLTIPS & COLORES --- */
.cal-tooltip {
    position: relative;
    cursor: pointer;
}
.cal-tooltip-popup {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a153c;
    color: #fff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    pointer-events: none;
}
.cal-tooltip-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1a153c;
}
.cal-tooltip:hover .cal-tooltip-popup {
    display: block;
}
.cal-dia-pasada {
    background: rgba(150,150,150,0.15) !important;
    border-radius: 6px;
}
.cal-dia-activa {
    background: rgba(99,214,177,0.15) !important;
    border-radius: 6px;
}
.cal-dia-futura {
    background: rgba(244,162,97,0.15) !important;
    border-radius: 6px;
}

.gtranslate_wrapper,
.gtranslate_wrapper > * {
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    align-items: center !important;
}

/*.gtranslate_wrapper {
    position: absolute !important;
    top: 12px !important;
    right: 16px !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 6px !important;
    align-items: center !important;
}*/

/* Dual Role Toggle */
.sidebar-mode-toggle {
    margin-bottom: 20px;
}
.mode-switch-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}
.mode-switch {
    width: 64px;
    height: 32px;
    background: #e9ecef;
    border-radius: 20px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 4px;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.mode-switch.is-anfitrion {
    background: #8FBFE6;
}
.mode-switch .mode-option {
    z-index: 2;
    font-size: 14px;
    color: #1a153c;
    transition: all 0.3s ease;
}
.mode-slider {
    position: absolute;
    top: 3px;
    left: 4px;
    width: 26px;
    height: 26px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}
.mode-switch.is-anfitrion .mode-slider {
    transform: translateX(30px);
}

/* Notificaciones */
#campanaContainer {
    z-index: 1000;
}

.btn-notificaciones {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s;
    position: relative;
}

.btn-notificaciones:hover {
    background: rgba(0,0,0,0.05);
    color: var(--color-principal);
}

#panelNotificaciones {
    width: 320px;
    max-height: 500px;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-2);
    border: var(--border-subtle);
    z-index: 1050;
}

.notificacion-item {
    transition: background 0.2s;
    border-radius: 8px;
    padding: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.notificacion-item:last-child {
    border-bottom: none;
}

.notificacion-item:hover {
    background: rgba(0,0,0,0.02);
}


/* =========================
   Chat System
   ========================= */
.chat-list-container {
    max-height: 70vh;
    overflow-y: auto;
}

.chat-panel-derecho {
    min-height: 70vh;
}

.chat-list-item {
    padding: 16px;
    transition: background 0.2s;
    display: block;
}

.chat-list-item.active {
    background: rgba(143,191,230,0.12) !important;
}

.chat-avatar-lista {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 0.9rem;
}

.chat-nombre-conv {
    font-size: 0.95rem;
}

.chat-fecha-conv {
    font-size: 0.75rem;
}

.chat-ultimo-mensaje {
    max-width: 180px;
}

.chat-badge-noleidos {
    font-size: 0.7rem;
}

.chat-avatar-header {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.chat-online-dot {
    font-size: 0.5rem;
}

.chat-empty-icon {
    font-size: 4rem;
    opacity: 0.2;
}

.chat-empty-text {
    max-width: 300px;
}

.chat-messages-area {
    background: #f8f9fa !important;
}

/* Notificaciones de chat */
.toast-chat-notif {
    z-index: 9999;
    max-width: 320px;
    border-left: 4px solid var(--accent-blue);
    animation: fadeInRight 0.4s ease-out;
}

.chat-messages-container {
    height: calc(70vh - 140px);
    max-height: calc(70vh - 140px);
    overflow-y: auto;
    scroll-behavior: smooth;
}

.chat-list-container {
    max-height: 70vh;
    overflow-y: auto;
}

.toast-mensaje {
    position: fixed;
    bottom: 80px;
    right: 16px;
    z-index: 9999;
    max-width: 320px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.toast-mensaje:hover {
    opacity: 0.9;
}

.icon-completado {
    color: #63D6B1;
}

.btn-google {
    border: 1px solid rgba(36,41,46,0.15);
    background: white;
    color: var(--text-primary);
}

.btn-google:hover {
    background: #f8f9fa;
}

/* Selector perfiles sidebar */
.perfil-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 10px;
    border: 1.5px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.perfil-card:hover {
    background: rgba(143,191,230,0.12);
    border-color: #8FBFE6;
}

.perfil-card.selected {
    background: rgba(143,191,230,0.15);
    border-color: #8FBFE6;
    color: #1a153c;
}

.perfil-card i {
    font-size: 1.1rem;
}

.equipo-card-email {
    max-width: 180px;
    word-break: break-all;
}

.equipo-grid > .equipo-col {
    width: 50%;
}

@media (max-width: 767px) {
    .equipo-grid > .equipo-col {
        width: 100%;
    }
}

@media (min-width: 1500px) {
    .equipo-grid > .equipo-col {
        width: 33.333%;
    }
}

.text-micro {
    font-size: 0.70rem !important;
}

.text-micro-bold {
    font-size: 0.75rem !important;
    font-weight: 600;
}

.text-nano {
    font-size: 0.65rem !important;
}

.ocupacion-min-w {
    min-width: 120px !important;
}

.border-dashed {
    border-style: dashed !important;
}

.badge-activo-inline {
    background-color: #e6f7ec;
    color: #0d9444;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pausado-inline {
    background-color: #fcecef;
    color: #e03131;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.password-requisitos {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.80rem;
    margin-top: 6px;
}
.password-requisitos span {
    color: var(--danger);
}
.password-requisitos span.req-ok {
    color: var(--accent-mint);
}
.password-requisitos span.req-fail {
    color: var(--danger);
}

/* =========================
   Perfil de Usuario
   ========================= */
.perfil-foto-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.perfil-foto-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-blue);
    background: #fff;
}

.perfil-foto-iniciales {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--color-principal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 700;
    border: 3px solid var(--accent-blue);
}

.perfil-foto-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 34px;
    height: 34px;
    background: var(--color-principal);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid #fff;
    transition: all 0.2s ease;
    padding: 0;
}

.perfil-foto-btn:hover {
    background: var(--accent-blue);
    transform: scale(1.1);
    color: #fff;
}

.avatar-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.avatar-opcion {
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(36, 41, 46, 0.03);
}

.avatar-opcion:hover {
    background: rgba(143, 191, 230, 0.1);
}

.avatar-opcion.selected {
    border-color: var(--accent-blue);
    background: rgba(143, 191, 230, 0.18);
}

.bio-contador {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: right;
    margin-top: 4px;
}

.perfil-email-readonly {
    font-weight: 600;
    color: var(--text-primary);
    word-break: break-all;
    margin-top: 15px;
}

.confirmar-password-feedback {
    font-size: 0.8rem;
    margin-top: 4px;
    font-weight: 600;
}


@media (max-width: 768px) {
    #appSidebar {
        z-index: 1050;
    }
}


/* =========================
   Support Chat Widget
   ========================= */
.soporte-widget-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-principal);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1100;
    box-shadow: var(--shadow-2);
    transition: transform 0.2s ease;
}
.soporte-widget-btn:hover {
    transform: scale(1.08);
}
.soporte-widget-panel {
    position: fixed;
    bottom: 88px;
    right: 24px;
    width: 340px;
    height: 480px;
    background: var(--card-bg);
    border-radius: var(--r-radius);
    box-shadow: var(--shadow-2);
    border: var(--border-subtle);
    display: flex;
    flex-direction: column;
    z-index: 1099;
    overflow: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.soporte-widget-panel.oculto {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}
.soporte-widget-header {
    background: var(--color-principal);
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.95rem;
}
.soporte-mensajes {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.soporte-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
}
.soporte-msg-bot {
    background: rgba(143,191,230,0.15);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.soporte-msg-user {
    background: var(--color-principal);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.soporte-msg-typing {
    background: rgba(143,191,230,0.15);
    color: var(--text-secondary);
    align-self: flex-start;
    font-style: italic;
    font-size: 0.8rem;
}
.soporte-input-area {
    padding: 12px;
    border-top: var(--border-subtle);
    display: flex;
    gap: 8px;
}
.soporte-input {
    flex: 1;
    border: 1px solid rgba(36,41,46,0.1);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.85rem;
    outline: none;
    resize: none;
}
.soporte-input:focus {
    border-color: var(--accent-blue);
}
.soporte-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--color-principal);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .soporte-widget-panel {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 80px;
    }
}


.sidebar-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Overlay de carga */
.overlay-carga {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(26, 21, 60, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.overlay-carga-spinner {
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overlay-carga-spinner .spinner-border {
    width: 3.5rem;
    height: 3.5rem;
    color: var(--accent-mint);
    margin-bottom: 1.5rem;
    border-width: 0.25em;
}

.overlay-carga-spinner p {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ==================================
   Responsive MÃ³vil - Reservas (Index)
   ================================== */
@media (max-width: 767px) {
    /* 1. Header Buttons */
    .dashboard-title { font-size: 1.4rem; }
    .dashboard-subtitle { font-size: 0.85rem; }
    
    /* Contenedor de botones en el header */
    .d-flex.gap-2 {
        flex-wrap: wrap !important;
    }

    .btn-accion-header, 
    .btn-filtros-avanzados {
        padding: 8px 12px;
        font-size: 0.8rem;
        flex: 1 1 auto;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
    }

    /* 2. Reservation Cards */
    .reserva-card {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        margin-bottom: 16px;
        overflow: hidden;
    }

    .reserva-card-img {
        width: 100%;
        height: 180px;
        border-radius: 0;
    }

    .reserva-card .flex-grow-1 {
        padding: 16px;
    }

    /* 3. Action Buttons in Cards */
    /* El contenedor de botones dentro de la card (L190 en Index.cshtml) */
    .reserva-card .d-flex.gap-2 {
        flex-wrap: wrap !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .reserva-btn-accion, 
    .reserva-btn-detalles, 
    .btn-recuperar-custom,
    .reserva-card .btn-accion-header.bg-white {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        padding: 10px 4px;
        font-size: 0.8rem;
        margin: 0 !important;
        text-align: center;
    }

    /* 4. Filters Column */
    .filtros-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        margin-bottom: 20px;
    }

    .filtros-row > div, 
    .filtros-row .filtro-buscar, 
    .filtros-row select,
    .filtros-row input {
        width: 100% !important;
        max-width: 100% !important;
    }
}

.sugerencias-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 767px) {
    .sugerencias-grid { grid-template-columns: 1fr; }
}


/* PWA Banner */
.pwa-install-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 16px;
    z-index: 1050;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.pwa-install-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}
.pwa-install-content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pwa-install-texto {
    display: flex;
    flex-direction: column;
    font-size: small;
}
.pwa-install-acciones {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* =========================
   Página de Planes v2
   ========================= */
.planes-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-lg);
    align-items: start;
}

@media (max-width: 992px) {
    .planes-layout {
        grid-template-columns: 1fr;
    }
}

.plan-selector-card {
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    padding: var(--space-md);
    background: var(--card-bg);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    box-shadow: var(--shadow-1);
}

.plan-selector-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.plan-selector-card.active {
    border-color: var(--accent-mint);
    background: rgba(99, 214, 177, 0.02);
}

.plan-selector-card.active .radio-check {
    background-color: var(--accent-mint);
    border-color: var(--accent-mint);
}

.plan-selector-card.active .radio-check::after {
    content: "";    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: block;
    margin-bottom: 2px;
}

.radio-check {
    width: 24px;
    height: 24px;
    border: 2px solid #DDE1E3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plan-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs) var(--space-md);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(221, 225, 227, 0.5);
}

.plan-feature-item {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.plan-feature-item i.fa-check { color: var(--accent-mint); }
.plan-feature-item i.fa-xmark { color: #E25B5B; opacity: 0.5; }

.addon-card {
    background: #fff;
    border-radius: 12px;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid #DDE1E3;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.addon-card:hover {
    border-color: var(--accent-blue);
}

.addon-card input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.extra-apts-control {
    background: #fff;
    border-radius: 12px;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid #DDE1E3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary-card-sticky {
    position: sticky;
    top: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-2);
}

.price-total {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-principal);
}

.price-animate {
    transition: all 0.3s ease;
}

.btn-counter {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #DDE1E3;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-counter:hover {
    background: #e9ecef;
}

.text-color-principal {
    color: var(--color-principal);
}

/* Clases específicas para Planes v2 (limpieza de inline) */
.alert-planes {
    border-radius: 16px;
    background: rgba(220, 53, 69, 0.05) !important;
}

.icon-box-42 {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box-80 {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.05) !important;
}

.extra-apts-wrapper {
    max-width: 250px;
}

.btn-start-now {
    border-radius: 12px;
    font-size: 1.1rem;
}

.modal-round-24 {
    border-radius: 24px;
}

.btn-round-14 {
    border-radius: 14px;
}

.link-accent-mint { color: var(--accent-mint); transition: color 0.2s; }
.link-accent-mint:hover { color: #51b898; }
.text-accent-blue { color: var(--accent-blue); }


/* --- Inquilino Hero --- */


/* --- Inquilino Hero --- */

@media (max-width: 768px) {
    .inquilino-hero-content {
        margin: 1rem auto;
    }

    .inquilino-hero {
        justify-content: center;
    }
}

.inquilino-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.inquilino-hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('/Img/img-fondo-inicio.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
}

.inquilino-hero-overlay {
    display: none;
}

.inquilino-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: auto;
    padding: 3rem 1.5rem;
    color: white;
    background: linear-gradient( 135deg, rgba(26,21,60,0.80) 0%, rgba(26,21,60,0.55) 100%);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    margin: 2rem auto 2rem 2rem;
    max-width: 420px;
    width: 100%;
}



.inquilino-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.inquilino-hero-subtitle {
    max-width: 500px;
    font-size: 1.15rem;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    margin-bottom: 2.5rem;
}

.inquilino-feature-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    max-width: 420px;
}

.inquilino-feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.inquilino-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 420px;
}

.inquilino-badge {
    background: var(--accent-mint);
    color: var(--color-principal);
    border-radius: 50rem;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}


@media (max-width: 768px) {
    .hero-landing {
        min-height: 100svh;
    }

    .hero-content {
        padding: 6rem 1.5rem 3rem;
        text-align: center;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-content .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
}

