html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5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bGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

/* 2 */

/* Fondo general */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
    background: #f5f7fb;
}

/* Tarjeta */
.login-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

/* Logo */
.logo {
    width: 180px;
    margin-bottom: 1rem;
}

/* Títulos */
.title {
    font-size: 1.4rem;
    font-weight: 700;
}

.subtitle {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Inputs con icono */
.input-group {
    position: relative;
    margin-bottom: 1rem;
}

    .input-group i {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.2rem;
        color: #777;
    }

.input {
    width: 100%;
    padding: .75rem 2.4rem;
    border: 1px solid #ddd;
    border-radius: .75rem;
    font-size: .95rem;
}

/* Link */
.register-link {
    display: block;
    text-align: right;
    font-size: .85rem;
    margin-bottom: 1.5rem;
    color: #0069d9;
    cursor: pointer;
}

/* Botón login */
.btn-login {
    width: 100%;
    padding: .8rem;
    background: #0038a8;
    color: #fff;
    border: none;
    border-radius: .75rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

    .btn-login:hover {
        background: #002f8a;
    }

/* Caja huella */
.fingerprint-box {
    display: flex;
    gap: .8rem;
    align-items: center;
    justify-content: center;
    background: #eef1fb;
    padding: .8rem;
    border-radius: 1rem;
}

/* Huella icon */
.finger-left i {
    font-size: 1.8rem;
    color: #0038a8;
}

.finger-right {
    display: flex;
    align-items: center;
    gap: .6rem;
}

.finger-text {
    font-size: .85rem;
}

/* Switch estilo iPhone */
.switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    background: #ccc;
    border-radius: 34px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .3s;
}

    .slider:before {
        content: "";
        position: absolute;
        height: 18px;
        width: 18px;
        left: 3px;
        bottom: 3px;
        background: white;
        border-radius: 50%;
        transition: .3s;
    }

input:checked + .slider {
    background: #0038a8;
}

    input:checked + .slider:before {
        transform: translateX(22px);
    }

/*3*/
/* === CONTENEDOR GENERAL === */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f4f6fc;
    padding: 20px;
}

/* === TARJETA PRINCIPAL === */
.login-card {
    background: #ffffff;
    padding: 35px;
    width: 100%;
    max-width: 380px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* === LOGO === */
.login-logo {
    width: 160px;
    margin-bottom: 15px;
}

/* === TITULO === */
.titulo-bienvenido {
    color: #0b3c89; /* Azul del logo */
    font-weight: 700;
    margin-bottom: 5px;
}

/* === SUBTÍTULO === */
.subtitulo {
    color: #777;
    margin-top: 0;
    margin-bottom: 15px;
}

/* === INPUTS REDONDEADOS === */
.input-rounded {
    border-radius: 12px !important;
    height: 42px;
}

/* === REGÍSTRATE === */
.texto-registrate {
    margin-top: 10px;
    font-size: 14px;
}

.link-registrate {
    color: #0b3c89;
    font-weight: 600;
    text-decoration: none;
}

/* === BOTÓN LOGIN === */
.btn-login {
    background: #0b3c89 !important;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    height: 44px;
    border: none;
}

.btn-login:hover {
    background: #092f6a !important;
}

/* === CAJA DE HUELLA === */
.fingerprint-box {
    margin-top: 20px;
    background: #e8edfa;
    padding: 12px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Columna izquierda: ícono */
.finger-left {
    display: flex;
    align-items: center;
    font-size: 26px;
    color: #0b3c89;
}

/* Texto de huella */
.huella-texto {
    flex-grow: 1;
    margin-left: 12px;
    text-align: left;
}

.huella-texto strong {
    font-size: 15px;
    color: #000;
}

.huella-texto p {
    font-size: 12px;
    color: #555;
    margin: 0;
}

/* === SWITCH (estilo iPhone) === */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 26px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #0b3c89;
}

input:checked + .slider:before {
    transform: translateX(22px);
}

.slider.round {
    border-radius: 34px;
}
/* === CONTENEDOR GENERAL === */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f4f6fc;
    padding: 20px;
}

/* === TARJETA PRINCIPAL === */
.login-card {
    background: #ffffff;
    padding: 35px;
    width: 100%;
    max-width: 380px;
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* === LOGO === */
.login-logo {
    width: 160px;
    margin-bottom: 15px;
}

/* === TITULO === */
.titulo-bienvenido {
    color: #0b3c89; /* Azul del logo */
    font-weight: 700;
    margin-bottom: 5px;
}

/* === SUBTÍTULO === */
.subtitulo {
    color: #777;
    margin-top: 0;
    margin-bottom: 15px;
}

/* === INPUTS REDONDEADOS === */
.input-rounded {
    border-radius: 12px !important;
    height: 42px;
}

/* === REGÍSTRATE === */
.texto-registrate {
    margin-top: 10px;
    font-size: 14px;
}

.link-registrate {
    color: #0b3c89;
    font-weight: 600;
    text-decoration: none;
}

/* === BOTÓN LOGIN === */
.btn-login {
    background: #0b3c89 !important;
    color: white;
    font-weight: 600;
    border-radius: 10px;
    height: 44px;
    border: none;
}

    .btn-login:hover {
        background: #092f6a !important;
    }

/* === CAJA DE HUELLA === */
.fingerprint-box {
    margin-top: 20px;
    background: #e8edfa;
    padding: 12px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Columna izquierda: ícono */
.finger-left {
    display: flex;
    align-items: center;
    font-size: 26px;
    color: #0b3c89;
}

/* Texto de huella */
.huella-texto {
    flex-grow: 1;
    margin-left: 12px;
    text-align: left;
}

    .huella-texto strong {
        font-size: 15px;
        color: #000;
    }

    .huella-texto p {
        font-size: 12px;
        color: #555;
        margin: 0;
    }

/* === SWITCH (estilo iPhone) === */
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 26px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 3px;
        bottom: 3px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #0b3c89;
}

    input:checked + .slider:before {
        transform: translateX(22px);
    }

.slider.round {
    border-radius: 34px;
}
/* Contenedor general */
.login-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding-top: 40px;
}

/* Tarjeta */
.login-card {
    width: 90%;
    max-width: 380px;
    background: white;
    padding: 25px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: center;
}

/* Logo */
.login-logo {
    width: 150px;
    margin-bottom: 10px;
}

/* Título */
.titulo-bienvenido {
    font-size: 24px;
    font-weight: bold;
    color: #003f8a; /* Azul del logo */
}

/* Subtítulo */
.subtitulo {
    font-size: 14px;
    color: #777;
    margin-top: -5px;
}

/* Wrapper del input */
.input-wrapper {
    position: relative;
    background: #f8f8fb;
    border: 1px solid #ddd;
    border-radius: 12px;
    height: 48px;
    display: flex;
    align-items: center;
    padding-left: 38px; /* Ajusta icono usuario */
    padding-right: 38px; /* Ajusta icono ojo */
}

/* Icono de la izquierda (usuario / llave) */
.input-icon {
    position: absolute;
    left: 12px;
    font-size: 18px;
    color: #555;
}

/* Campo de texto */
.input-text {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 15px;
    padding-left: 5px;
}

/* Icono ojo */
.password-icon {
    position: absolute;
    right: 12px;
    font-size: 18px;
    color: #555;
    cursor: pointer;
}


/* Registrate */
.texto-registrate {
    margin-top: 10px;
    font-size: 13px;
}

.link-registrate {
    color: #003f8a;
    font-weight: bold;
}

/* Boton login */
.btn-login {
    background: #003f8a;
    color: white;
    border-radius: 10px;
    padding: 12px;
    font-size: 15px;
}

/* Caja huella */
.fingerprint-box {
    margin-top: 20px;
    background: #e8edfa;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
}

.finger-left i {
    font-size: 30px;
    color: #003f8a;
}

/* Texto huella */
.huella-texto {
    flex: 1;
    margin-left: 10px;
}

    .huella-texto p {
        font-size: 12px;
        margin-top: -5px;
        color: #555;
    }

/* Switch deslizable */
.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 22px;
    width: 100%;
    height: 100%;
    transition: .3s;
}

    .slider:before {
        position: absolute;
        content: "";
        width: 18px;
        height: 18px;
        left: 2px;
        bottom: 2px;
        background: white;
        border-radius: 50%;
        transition: .3s;
    }

input:checked + .slider {
    background-color: #003f8a;
}

    input:checked + .slider:before {
        transform: translateX(20px);
    }



