/* /Components/Layout/AdminLayout.razor.rz.scp.css */
/* Panel clínico — diseño: design_handoff_fisioestrada (FisioEstrada Panel). Tokens de color en app.css. */

.adm[b-ofx29whwwd] {
    display: flex;
    min-height: 100vh;
    background: var(--bg);
    color: var(--tx);
}

:root[data-theme="light"] .adm[b-ofx29whwwd] { background: #EEF3F7; }

/* ---------- Sidebar ---------- */
.adm-sidebar[b-ofx29whwwd] {
    width: 256px;
    flex-shrink: 0;
    background: #0B2F55;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1040;
}

/* ---------- Columna principal ---------- */
.adm-main[b-ofx29whwwd] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.adm-header[b-ofx29whwwd] {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 74px;
    padding: 12px clamp(16px, 3vw, 32px);
    background: var(--sf);
    border-bottom: 1px solid var(--bd);
}

.adm-titulos[b-ofx29whwwd] { flex: 1; min-width: 0; }

.adm-titulo[b-ofx29whwwd] {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--hd);
    line-height: 1.2;
}

.adm-subtitulo[b-ofx29whwwd] {
    font-size: 13px;
    font-weight: 600;
    color: var(--tx3);
}

.adm-usuario[b-ofx29whwwd] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.adm-usuario form[b-ofx29whwwd] { margin: 0; }

.adm-usuario .theme-toggle-btn[b-ofx29whwwd] { width: 40px; height: 40px; border-radius: 10px; }

.adm-perfil[b-ofx29whwwd] {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.adm-avatar[b-ofx29whwwd] {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--tint);
    color: var(--hd);
    font-size: 13px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.adm-avatar img[b-ofx29whwwd] { width: 100%; height: 100%; object-fit: cover; }

.adm-perfil-texto[b-ofx29whwwd] { display: flex; flex-direction: column; line-height: 1.25; }
.adm-perfil-nombre[b-ofx29whwwd] { font-size: 14px; font-weight: 700; color: var(--hd); }
.adm-perfil-rol[b-ofx29whwwd] { font-size: 12px; color: var(--tx3); }

.adm-salir[b-ofx29whwwd] {
    color: var(--tx2);
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
}

.adm-salir:hover[b-ofx29whwwd] { background: var(--tint); color: var(--tx); }

.adm-contenido[b-ofx29whwwd] {
    width: 100%;
    max-width: 1280px;
    padding: clamp(16px, 3vw, 32px);
}

/* ---------- Mostrar / ocultar menú (clic en el logo) ----------
   Escritorio: el checkbox marcado = menú oculto.
   Móvil (<900px): el checkbox marcado = menú abierto como drawer. */
.adm-toggle[b-ofx29whwwd] { position: absolute; opacity: 0; pointer-events: none; }
.adm-overlay[b-ofx29whwwd] { display: none; }

.adm-logo-toggle[b-ofx29whwwd] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #0B2F55;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.adm-logo-toggle img[b-ofx29whwwd] { object-fit: contain; }

/* En oscuro el header ya es oscuro: sin fondo propio, solo borde claro para que se lea como botón. */
:root[data-theme="dark"] .adm-logo-toggle[b-ofx29whwwd] {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

:root[data-theme="dark"] .adm-logo-toggle:hover[b-ofx29whwwd] { background: rgba(255, 255, 255, 0.08); }

@media (min-width: 900px) {
    .adm-toggle:checked ~ .adm-sidebar[b-ofx29whwwd] { display: none; }
    .adm-toggle:checked ~ .adm-main .adm-logo-toggle[b-ofx29whwwd] { display: inline-flex; }
}

@media (max-width: 899.98px) {
    .adm-logo-toggle[b-ofx29whwwd] { display: inline-flex; }

    .adm-sidebar[b-ofx29whwwd] {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
    }

    .adm-toggle:checked ~ .adm-sidebar[b-ofx29whwwd] { transform: translateX(0); }

    .adm-toggle:checked ~ .adm-overlay[b-ofx29whwwd] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(8, 33, 60, 0.55);
        z-index: 1030;
    }

    .adm-perfil-texto[b-ofx29whwwd] { display: none; }
    .adm-titulo[b-ofx29whwwd] { font-size: 18px; }
}

#blazor-error-ui[b-ofx29whwwd] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ofx29whwwd] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/AdminNavMenu.razor.rz.scp.css */
.adm-marca[b-4fxmz8wxid] {
    padding: 22px 16px 18px;
}

.adm-marca-enlace[b-4fxmz8wxid] {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    margin: 0;
}

.adm-marca-enlace img[b-4fxmz8wxid] { object-fit: contain; flex-shrink: 0; }

.adm-marca-nombre[b-4fxmz8wxid] {
    display: block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1.1;
}

.adm-marca-nombre span[b-4fxmz8wxid] { color: #8CC3EC; }

.adm-marca-sub[b-4fxmz8wxid] {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    color: #BFD4E6;
}

.adm-nav[b-4fxmz8wxid] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
}

.adm-nav[b-4fxmz8wxid]  .adm-nav-link,
.adm-nav-externo[b-4fxmz8wxid] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #BFD4E6;
    text-decoration: none;
}

.adm-nav[b-4fxmz8wxid]  .adm-nav-link:hover,
.adm-nav-externo:hover[b-4fxmz8wxid] {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.adm-nav[b-4fxmz8wxid]  .adm-nav-link.active {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.adm-grupo > summary[b-4fxmz8wxid] {
    display: flex;
    align-items: center;
    list-style: none;
    cursor: pointer;
}

.adm-grupo > summary[b-4fxmz8wxid]::-webkit-details-marker {
    display: none;
}

.adm-grupo > summary[b-4fxmz8wxid]  .adm-nav-link {
    flex: 1;
}

.adm-grupo-flecha[b-4fxmz8wxid] {
    padding: 10px 12px;
    color: #BFD4E6;
    border-radius: 10px;
}

.adm-grupo-flecha:hover[b-4fxmz8wxid] {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.adm-grupo-flecha i[b-4fxmz8wxid] {
    display: inline-block;
    width: auto;
    font-size: 13px;
    transition: transform 0.15s;
}

.adm-grupo:not([open]) .adm-grupo-flecha i[b-4fxmz8wxid] {
    transform: rotate(-90deg);
}

.adm-nav[b-4fxmz8wxid]  .adm-nav-sub {
    margin-left: 22px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
}

.adm-nav-externo[b-4fxmz8wxid] {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 600;
}

.adm-nav i[b-4fxmz8wxid] {
    width: 20px;
    text-align: center;
    font-size: 17px;
    flex-shrink: 0;
}

.adm-nav-externo i[b-4fxmz8wxid] { font-size: 15px; }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-uy3nwesty9],
.components-reconnect-repeated-attempt-visible[b-uy3nwesty9],
.components-reconnect-failed-visible[b-uy3nwesty9],
.components-pause-visible[b-uy3nwesty9],
.components-resume-failed-visible[b-uy3nwesty9],
.components-rejoining-animation[b-uy3nwesty9] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-uy3nwesty9],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-uy3nwesty9],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-uy3nwesty9],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-uy3nwesty9],
#components-reconnect-modal.components-reconnect-retrying[b-uy3nwesty9],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-uy3nwesty9],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-uy3nwesty9],
#components-reconnect-modal.components-reconnect-failed[b-uy3nwesty9],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-uy3nwesty9] {
    display: block;
}


#components-reconnect-modal[b-uy3nwesty9] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-uy3nwesty9 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-uy3nwesty9 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-uy3nwesty9 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-uy3nwesty9]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-uy3nwesty9 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-uy3nwesty9 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-uy3nwesty9 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-uy3nwesty9 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-uy3nwesty9] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-uy3nwesty9] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-uy3nwesty9] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-uy3nwesty9] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-uy3nwesty9] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-uy3nwesty9] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-uy3nwesty9] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-uy3nwesty9 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-uy3nwesty9] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-uy3nwesty9 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Agenda/Horarios.razor.rz.scp.css */
.hor-dia[b-9ktz7f5n10] {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 12px 0;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
}

.hor-nombre[b-9ktz7f5n10] {
    flex: 0 0 110px;
    font-weight: 700;
    padding-top: 4px;
}

.hor-bloques[b-9ktz7f5n10] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.hor-bloque[b-9ktz7f5n10] {
    display: flex;
    gap: 6px;
    align-items: center;
}

.hor-bloque select[b-9ktz7f5n10] {
    width: 92px;
}

@media (max-width: 575px) {
    .hor-dia[b-9ktz7f5n10] {
        flex-direction: column;
        gap: 6px;
    }
}
