/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-ynthimmpyp] {
    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-ynthimmpyp] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-i860zvdb1y],
.components-reconnect-repeated-attempt-visible[b-i860zvdb1y],
.components-reconnect-failed-visible[b-i860zvdb1y],
.components-pause-visible[b-i860zvdb1y],
.components-resume-failed-visible[b-i860zvdb1y],
.components-rejoining-animation[b-i860zvdb1y] {
    display: none;
}

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


#components-reconnect-modal[b-i860zvdb1y] {
    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-i860zvdb1y 0.5s both;
    &[open]

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-i860zvdb1y {
    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/Login.razor.rz.scp.css */
.login-split[b-odhfp3cjgq] {
    display: flex;
    flex: 1;
    width: 100%;
    min-height: 100vh;
}

.login-split-imagen[b-odhfp3cjgq] {
    position: relative;
    flex: 0 0 60%;
    max-width: 60%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-fondo-difuminado[b-odhfp3cjgq] {
    position: absolute;
    inset: -20px;
    background-image: url('/pdf-assets/doctor.jpg');
    background-size: cover;
    background-position: center 15%;
    filter: blur(12px) brightness(0.8) saturate(1.15);
    transform: scale(1.1);
}

.login-fondo-difuminado[b-odhfp3cjgq]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(39, 109, 156, 0.28);
}

.login-imagen-doctor[b-odhfp3cjgq] {
    position: relative;
    z-index: 1;
    max-width: 92%;
    max-height: 94vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    border-radius: 6px;
}

.login-split-form[b-odhfp3cjgq] {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--mud-palette-surface);
}

.login-auth-card[b-odhfp3cjgq] {
    width: 100%;
    max-width: 360px;
}

.login-auth-marca[b-odhfp3cjgq] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.login-auth-marca img[b-odhfp3cjgq] {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
}

.login-auth-marca span[b-odhfp3cjgq] {
    font-size: 20px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    letter-spacing: 0.5px;
}

.login-auth-titulo[b-odhfp3cjgq] {
    font-size: 26px;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    margin: 0 0 6px;
}

.login-auth-subtitulo[b-odhfp3cjgq] {
    font-size: 14px;
    color: var(--mud-palette-text-secondary);
    margin: 0 0 30px;
}

.login-auth-alerta[b-odhfp3cjgq] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fdecea;
    color: #b3261e;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 20px;
}

.login-auth-campo[b-odhfp3cjgq] {
    margin-bottom: 18px;
}

.login-auth-campo label[b-odhfp3cjgq] {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.login-auth-input-wrap[b-odhfp3cjgq] {
    position: relative;
}

.login-auth-input-wrap[b-odhfp3cjgq]  .mud-icon-root {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a2acbd;
    font-size: 18px;
    pointer-events: none;
}

.login-auth-input-wrap input[b-odhfp3cjgq] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 40px 12px 40px;
    border: 1.5px solid #e4e8ee;
    border-radius: 8px;
    background: #f7f9fc;
    font-size: 14px;
    color: #1f2d3d;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.login-auth-input-wrap input:focus[b-odhfp3cjgq] {
    outline: none;
    border-color: var(--mud-palette-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(39, 109, 156, 0.12);
}

.login-auth-toggle-pass[b-odhfp3cjgq] {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    padding: 4px;
    cursor: pointer;
    color: #a2acbd;
    display: flex;
}

.login-auth-toggle-pass[b-odhfp3cjgq]  .mud-icon-root {
    position: static;
    transform: none;
}

.login-auth-boton[b-odhfp3cjgq] {
    width: 100%;
    padding: 13px;
    border: 0;
    border-radius: 8px;
    background: var(--mud-palette-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.login-auth-boton:hover:not(:disabled)[b-odhfp3cjgq] {
    background: var(--mud-palette-primary-darken);
}

.login-auth-boton:disabled[b-odhfp3cjgq] {
    background: #6b93ab;
    cursor: default;
}

.login-overlay-carga[b-odhfp3cjgq] {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.login-overlay-carga.activo[b-odhfp3cjgq] {
    display: flex;
}

.login-spinner[b-odhfp3cjgq] {
    width: 48px;
    height: 48px;
    border: 5px solid #e4e8ee;
    border-top-color: var(--mud-palette-primary);
    border-radius: 50%;
    animation: login-girar-b-odhfp3cjgq 0.8s linear infinite;
}

.login-overlay-texto[b-odhfp3cjgq] {
    margin-top: 12px;
    font-size: 13px;
    color: var(--mud-palette-text-secondary);
}

@keyframes login-girar-b-odhfp3cjgq {
    to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
    .login-split[b-odhfp3cjgq] {
        display: block;
        min-height: 100vh;
    }

    /* En movil/tablet la foto pasa a ser un fondo fijo a pantalla completa,
       borroso, y el formulario flota encima como una tarjeta. */
    .login-split-imagen[b-odhfp3cjgq] {
        position: fixed;
        inset: 0;
        z-index: 0;
        flex: none;
        max-width: none;
        width: 100%;
        height: 100%;
        min-height: 100vh;
    }

    .login-imagen-doctor[b-odhfp3cjgq] {
        display: none;
    }

    /* Difuminado propio de movil/tablet, independiente del de escritorio. */
    .login-fondo-difuminado[b-odhfp3cjgq] {
        background-position: center 15%;
        filter: blur(3px) brightness(0.8) saturate(1.15);
    }

    .login-fondo-difuminado[b-odhfp3cjgq]::after {
        background: rgba(39, 109, 156, 0.28);
    }

    .login-split-form[b-odhfp3cjgq] {
        position: relative;
        z-index: 1;
        flex: none;
        max-width: 100%;
        min-height: 100vh;
        background: transparent;
        align-items: center;
        padding: 24px 20px;
    }

    .login-auth-card[b-odhfp3cjgq] {
        background: rgba(255, 255, 255, 0.94);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 16px;
        padding: 28px 24px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    }
}
