/* ============================================
   COWORK SPACE - Main Stylesheet
   ============================================ */

/* ============================================
   COCO — Identidad de marca (Manual COCO)
   Navy #17233c · Coral #e95340 · Burgundy #861c14 · Crema #efedec
   Tipografía: Averta (display, comercial) → Montserrat como sustituta web.
   ============================================ */
:root {
    --primary: #17233c;
    --primary-light: #1f2f4d;
    --accent: #e95340;
    --accent-hover: #d8412e;
    --burgundy: #861c14;
    --text-dark: #17233c;
    --text-muted: #6a7382;
    --bg-light: #f6f4f1;
    --bg-section: #efedec;
    --cream: #efedec;
    --white: #ffffff;
    --shadow: 0 6px 20px rgba(23,35,60,0.08);
    --shadow-lg: 0 18px 50px rgba(23,35,60,0.16);
    --radius: 16px;
    --admin-nav-h: 56px;       /* altura de la barra superior del admin */
    --transition: all 0.25s ease;
    --font-display: 'Montserrat', -apple-system, sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: 'Montserrat', -apple-system, sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}
img { max-width: 100%; }
/* La cabecera del sitio (templates/_sitenav.php) es sticky y va en el flujo: no
   necesita padding-top en el body. */
.navbar .navbar-brand { padding-top: 0; padding-bottom: 0; }

/* === Buttons (píldora COCO) === */
.btn-accent {
    background: var(--accent);
    color: white;
    border: 2px solid var(--accent);
    padding: 11px 28px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .84rem;
    transition: var(--transition);
}
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: white; transform: translateY(-2px); }

.btn-outline-accent {
    border: 2px solid var(--accent);
    color: var(--accent);
    background: transparent;
    padding: 11px 28px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .84rem;
    transition: var(--transition);
}
.btn-outline-accent:hover { background: var(--accent); color: white; transform: translateY(-2px); }

.btn-dark-custom {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    padding: 11px 28px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .84rem;
    transition: var(--transition);
}
.btn-dark-custom:hover { background: var(--primary-light); border-color: var(--primary-light); color: white; transform: translateY(-2px); }

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0f3460 100%);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(233,69,96,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(233,69,96,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.hero p.lead {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 540px;
}
.hero .btn { padding: 14px 36px; font-size: 1.1rem; }

/* === Section Styles === */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-section); }
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary);
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* === Cards === */
.card-space {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}
.card-space:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-space .card-img-top {
    height: 220px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.card-space .card-body { padding: 1.5rem; }
.card-space .space-type {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.card-space .space-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.card-space .space-price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

/* === Space Image Placeholder === */
.space-img-placeholder {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}
.space-img-placeholder.hot_desk { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.space-img-placeholder.fixed_desk { background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.space-img-placeholder.meeting_room { background: linear-gradient(135deg, var(--accent), var(--accent-hover)); }
.space-img-placeholder.private_office { background: linear-gradient(135deg, var(--burgundy), var(--accent-hover)); }
.space-img-placeholder.event_space { background: linear-gradient(135deg, var(--accent), var(--burgundy)); }

/* === Pricing Cards === */
.card-pricing {
    border: 2px solid #e9ecef;
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
    background: white;
}
.card-pricing:hover { border-color: var(--accent); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-pricing.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}
.card-pricing.popular:hover { transform: scale(1.05) translateY(-5px); }
.card-pricing .popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}
.card-pricing .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}
.card-pricing .price small { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.card-pricing ul { list-style: none; padding: 0; text-align: left; }
.card-pricing ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f5;
    color: var(--text-dark);
}
.card-pricing ul li i { color: var(--accent); margin-right: 10px; width: 20px; text-align: center; }

/* === Stats === */
.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}
.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}
.stat-card h3 { font-size: 2rem; font-weight: 800; margin-bottom: 0; }
.stat-card p { color: var(--text-muted); margin: 0; }

/* === Features === */
.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* === Auth Pages === */
.auth-container {
    min-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-section);
    padding: 2rem;
}
.auth-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    width: 100%;
    max-width: 460px;
}
.auth-card h2 {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* === Member Dashboard === */
.dashboard-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    height: 100%;
    transition: var(--transition);
}
.dashboard-card:hover { box-shadow: var(--shadow-lg); }

/* === Admin Layout ===
   La barra superior del admin es sticky: ocupa su hueco en el flujo, así que el
   contenido nunca queda por debajo. Antes era fixed-top (fuera del flujo) y
   tapaba la primera fila de cada página: título y botones de acción.
   --admin-nav-h es la referencia única de su altura; la barra la impone con
   min-height para que la barra lateral (fija) case exactamente con ella. */
.admin-topbar { min-height: var(--admin-nav-h); }
/* Botón del menú lateral: solo existe donde la lateral es deslizante (≤992px) */
.admin-navtoggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    color: #fff;
    font-size: 1.15rem;
    line-height: 1;
    min-width: 40px;
    min-height: 40px;
    margin-right: .25rem;
    padding: 0;
    cursor: pointer;
}
.admin-navtoggle:hover { color: var(--accent); }
/* La barra superior es .sticky-top (z-index 1020) y los desplegables de Bootstrap
   nacen en 1000: cualquier menú que llegara a la franja superior (típico en las
   últimas filas de una tabla, donde Popper lo abre hacia arriba) quedaba pintado
   POR DEBAJO de la barra y sus botones eran inaccesibles. Los subimos por encima;
   siguen por debajo de los modales (1055) y del buscador de .ss__list (1056). */
.dropdown-menu { --bs-dropdown-zindex: 1030; }
/* Donde la barra lateral es visible, la superior no debe partirse en dos líneas:
   la lateral se ancla a --admin-nav-h y quedaría desalineada. Por debajo de
   992px la lateral se oculta, así que ahí puede repartirse sin problema. */
@media (min-width: 993px) {
    .admin-topbar, .admin-topbar > .container-fluid { flex-wrap: nowrap; }
    .admin-topbar .navbar-nav { flex-direction: row; flex-shrink: 0; }
    .admin-topbar .navbar-brand { min-width: 0; overflow: hidden; }
}
.admin-wrapper { display: flex; min-height: calc(100vh - var(--admin-nav-h)); }
.admin-sidebar {
    width: 260px;
    background: var(--primary);
    color: white;
    padding: 1.5rem 0;
    flex-shrink: 0;
    position: fixed;
    top: var(--admin-nav-h);
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}
.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 12px 24px;
    font-size: 0.95rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: white;
    background: rgba(255,255,255,0.1);
    border-left-color: var(--accent);
}
.admin-sidebar .nav-link i { width: 24px; text-align: center; margin-right: 10px; }
.admin-sidebar .sidebar-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    padding: 1rem 24px 0.5rem;
    font-weight: 600;
}
.admin-content {
    flex: 1;
    min-width: 0;              /* deja encoger tablas anchas en vez de desbordar */
    margin-left: 260px;
    padding: 2rem;
    background: var(--bg-section);
    min-height: calc(100vh - var(--admin-nav-h));
}

/* === Calendar === */
.fc { background: white; border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.fc .fc-button-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}
.fc .fc-button-primary:hover { background: var(--primary-light) !important; }
.fc .fc-event {
    border-radius: 6px;
    padding: 2px 6px;
    font-size: 0.85rem;
    border: none;
}
.fc .fc-event.status-pending { background: #ffc107; color: #333; }
.fc .fc-event.status-confirmed { background: #28a745; }
.fc .fc-event.status-cancelled { background: #dc3545; }

/* === Tables === */
/* Sin overflow:hidden — recortaba los menús desplegables de la columna Acciones.
   Las esquinas se redondean en las propias celdas de los extremos. */
.table-custom {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.table-custom > .table { margin-bottom: 0; }
.table-custom thead tr:first-child th:first-child { border-top-left-radius: var(--radius); }
.table-custom thead tr:first-child th:last-child  { border-top-right-radius: var(--radius); }
.table-custom tbody tr:last-child td:first-child  { border-bottom-left-radius: var(--radius); }
.table-custom tbody tr:last-child td:last-child   { border-bottom-right-radius: var(--radius); }
.table-custom thead { background: var(--primary); color: white; }
.table-custom thead th { border: none; padding: 14px 16px; font-weight: 600; font-size: 0.9rem; }
.table-custom tbody td { padding: 14px 16px; vertical-align: middle; }

/* === Amenity Badge === */
.amenity-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-section);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-dark);
    margin: 3px;
}
.amenity-badge i { color: var(--accent); }

/* === Page Header === */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 60px 0 40px;
}
.page-header h1 { font-weight: 800; font-size: 2.5rem; }
.page-header .breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.page-header .breadcrumb-item.active { color: white; }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }

/* === Badges === */
.badge-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* === Contact Form === */
.contact-info-card {
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    height: 100%;
}
.contact-info-card h3 { font-weight: 700; margin-bottom: 1.5rem; }
.contact-info-card .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1.5rem;
}
.contact-info-card .info-icon {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* === Booking Modal === */
.booking-summary {
    background: var(--bg-section);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.booking-summary .summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #dee2e6;
}
.booking-summary .summary-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    border-bottom: none;
}

/* === Responsive === */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .card-pricing.popular { transform: none; }
    .card-pricing.popular:hover { transform: translateY(-5px); }

    /* La barra lateral pasa a ser deslizante. Antes se ocultaba del todo
       (display:none) y el admin se quedaba SIN NINGÚN menú en móvil y tablet:
       la única forma de cambiar de sección era escribir la URL. */
    .admin-navtoggle { display: inline-flex; }
    .admin-sidebar {
        transform: translateX(-100%);
        visibility: hidden;             /* cerrada no debe alcanzarse con el tabulador */
        transition: transform .25s ease, visibility .25s;
        z-index: 1010;                  /* sobre el contenido, bajo la barra superior (1020) */
        box-shadow: 0 18px 40px rgba(0,0,0,.28);
        width: min(280px, 84vw);
    }
    .admin-sidebar.open { transform: translateX(0); visibility: visible; }
    .admin-backdrop {
        position: fixed;
        top: var(--admin-nav-h); left: 0; right: 0; bottom: 0;
        background: rgba(23,35,60,.5);
        z-index: 1005;
    }
    body.admin-nav-open { overflow: hidden; }

    /* La barra superior tampoco debe partirse en dos líneas aquí: la lateral
       deslizante y el fondo se anclan a --admin-nav-h. */
    .admin-topbar, .admin-topbar > .container-fluid { flex-wrap: nowrap; }
    .admin-topbar .navbar-nav { flex-direction: row; align-items: center; flex-shrink: 0; gap: .25rem; }
    /* Bootstrap deja los .nav-link sin padding lateral fuera del modo expandido:
       en solo-icono los tres quedaban pegados y sin zona de toque decente. */
    .admin-topbar .navbar-nav .nav-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        min-height: 40px;
        padding: .4rem .6rem;
        border-radius: 8px;
        font-size: 1.02rem;
    }
    .admin-topbar .navbar-nav .nav-link:hover,
    .admin-topbar .navbar-nav .nav-link:focus-visible { background: rgba(255,255,255,.10); }
    .admin-topbar > .container-fluid { padding-left: 1rem !important; padding-right: 1rem !important; }
    .admin-topbar .navbar-brand { min-width: 0; overflow: hidden; }

    .admin-content { margin-left: 0; padding: 1.25rem; }

    /* Tablas anchas: que hagan scroll dentro de su tarjeta en vez de empujar
       la página entera y sacar los elementos de la pantalla. */
    .table-custom { overflow-x: auto; }
}
@media (max-width: 576px) {
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 2rem; }
    .section { padding: 50px 0; }
    .auth-card { padding: 2rem; }
}

/* ============================================
   Slot picker (reserva) - chips de hora y duración
   ============================================ */
.slot-grid { display: flex; flex-wrap: wrap; gap: .4rem; }
.slot-chip {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    border-radius: 10px;
    padding: .45rem .7rem;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
    min-width: 60px;
    text-align: center;
    line-height: 1.1;
}
.slot-chip:hover:not(.disabled):not(.active) {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}
.slot-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(233, 69, 96, .30);
}
.slot-chip.disabled {
    background: #f4f4f4;
    color: #bcbcbc;
    cursor: not-allowed;
    text-decoration: line-through;
    border-style: dashed;
}
.duration-chip { min-width: auto; }

/* ============================================
   ÁREA DE CLIENTE (moderno)
   ============================================ */
.member-nav {
    display: flex; gap: 8px; flex-wrap: wrap;
    background: #fff; border-radius: 999px; padding: 6px;
    box-shadow: var(--shadow); margin-bottom: 1.75rem;
}
.member-nav__item {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 999px;
    font-weight: 600; font-size: .9rem; color: var(--text-muted);
    text-decoration: none; transition: var(--transition); white-space: nowrap;
}
.member-nav__item i { font-size: .95rem; }
.member-nav__item:hover { background: var(--bg-section); color: var(--primary); }
.member-nav__item.active { background: var(--primary); color: #fff; }
.member-nav__badge {
    background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700;
    border-radius: 999px; padding: 1px 7px; margin-left: 2px;
}
@media (max-width: 576px) {
    .member-nav { flex-wrap: nowrap; overflow-x: auto; border-radius: 16px; }
    .member-nav__item span { display: none; }
    .member-nav__item { padding: 10px 14px; }
}

/* Cabecera del área de cliente */
.member-hero { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; border-radius: var(--radius); padding: 28px 32px; margin-bottom: 1.75rem; }
.member-hero h1 { font-size: 1.7rem; margin: 0; }
.member-hero p { margin: 4px 0 0; color: rgba(255,255,255,.7); }

/* Tarjetas de estadística modernas */
.mstat { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; display: flex; align-items: center; gap: 16px; height: 100%; }
.mstat__icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.mstat__num { font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--primary); }
.mstat__label { color: var(--text-muted); font-size: .85rem; margin-top: 2px; }

/* Panel genérico del área de cliente */
.mcard { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px 26px; height: 100%; }
.mcard__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.mcard__title .ico { color: var(--accent); }

/* Lista de correspondencia / facturas */
.mlist { display: flex; flex-direction: column; gap: 10px; }
.mlist__row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--bg-section); border-radius: 12px; transition: var(--transition); background: #fff; }
.mlist__row:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.mlist__row.unread { border-left: 3px solid var(--accent); background: #fffdfc; }
.mlist__ico { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-section); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mlist__main { flex: 1; min-width: 0; }
.mlist__main .t { font-weight: 600; color: var(--text-dark); }
.mlist__main .s { font-size: .82rem; color: var(--text-muted); }
.mempty { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.mempty i { font-size: 2.4rem; color: #d8dde3; margin-bottom: 12px; }

/* ============================================
   COCO — Capa de marca (overrides globales)
   ============================================ */

/* Navbar y footer en navy COCO (no el negro de Bootstrap) */
.navbar.bg-dark { background-color: var(--primary) !important; }
.footer.bg-dark { background-color: var(--primary) !important; }
.navbar-dark .navbar-nav .nav-link { font-weight: 600; letter-spacing: .01em; transition: var(--transition); }
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active { color: var(--accent) !important; }
.navbar-brand img { display: block; }

/* Titulares con la tipografía display y carácter COCO */
h1, h2, h3, h4, h5, h6, .section-title, .page-header h1, .hero h1 { font-family: var(--font-display); }
.section-title, .page-header h1 { text-transform: uppercase; font-weight: 800; letter-spacing: -.01em; }
.hero h1 { font-weight: 800; letter-spacing: -.015em; }

/* Utilidad de color de marca (usada en iconos del footer) */
.text-accent { color: var(--accent) !important; }

/* Footer: encabezados coral en mayúsculas */
.footer h6 { color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .8rem; }

/* Footer sobre navy: texto y enlaces legibles (el .text-muted de Bootstrap
   es gris oscuro y no contrasta sobre el navy COCO). */
.footer { color: rgba(239,237,236,.85); }
.footer p, .footer li, .footer .text-muted { color: rgba(239,237,236,.62) !important; }
.footer a { color: rgba(239,237,236,.78) !important; text-decoration: none; }
.footer a:hover, .footer .text-muted a:hover, .footer a.text-muted:hover { color: var(--accent) !important; }
.footer .text-accent { color: var(--accent) !important; }
.footer .fab, .footer .social-ico { transition: color .15s; }

/* Botones Bootstrap → forma píldora coherente */
.btn { border-radius: 999px; font-weight: 600; }
.btn-primary { background-color: var(--accent); border-color: var(--accent); }
.btn-primary:hover, .btn-primary:focus { background-color: var(--accent-hover); border-color: var(--accent-hover); }
.btn-lg { padding: 14px 34px; }

/* Enlaces de contenido en coral (sin tocar nav, botones ni dropdowns) */
main a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.breadcrumb-item a) { color: var(--accent); }

/* Foco de formularios en coral */
.form-control:focus, .form-select:focus, .form-check-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgba(233,83,64,.20);
}
.form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }

/* Chips de reserva ya usan --accent (ahora coral) */

/* Marca del panel admin */
.navbar-brand .coco-admin-tag { font-family: var(--font-display); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

/* ---- Desplegable con buscador (assets/js/searchable-select.js) ---- */
.ss { position: relative; }
/* El <select> real queda oculto pero presente: el formulario se envía igual */
.ss__native { position: absolute; opacity: 0; pointer-events: none; height: 0; width: 0; }
.ss__input { cursor: text; }
.ss__list {
    display: none; position: absolute; z-index: 1056;   /* por encima de los modales de Bootstrap */
    top: 100%; left: 0; right: 0; margin-top: 2px;
    max-height: 240px; overflow-y: auto;
    background: #fff; border: 1px solid #dee2e6; border-radius: .5rem;
    box-shadow: 0 8px 24px rgba(23,35,60,.12);
}
.ss.is-open .ss__list { display: block; }
.ss__item { padding: 8px 12px; font-size: .9rem; cursor: pointer; }
.ss__item:hover, .ss__item.is-active { background: rgba(233,83,64,.10); }
.ss__item.is-selected { font-weight: 600; }
.ss__empty { padding: 10px 12px; font-size: .85rem; color: #6a7382; }

