:root{
    --color-primary:#0c7286;
    --color-bg:#EEF5F5;
    --color-dark:#16223A;
}

@font-face {
    font-family: 'Roboto';
    src: url('../css/fonts/roboto/Roboto-Light.woff2') format('woff2');
    font-weight: 300; 
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../css/fonts/roboto/Roboto-Regular.woff2') format('woff2');
    font-weight: 400; 
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../css/fonts/roboto/Roboto-Medium.woff2') format('woff2');
    font-weight: 500; 
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../css/fonts/roboto/Roboto-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../css/fonts/roboto/Roboto-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/*Fuente Figtree***********/
@font-face {
    font-family: 'Figtree';
    src: url('../css/fonts/figtree/Figtree-Light.woff2') format('woff2');
    font-weight: 300; 
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('../css/fonts/figtree/Figtree-Regular.woff2') format('woff2');
    font-weight: 400; 
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('../css/fonts/figtree/Figtree-Medium.woff2') format('woff2');
    font-weight: 500; 
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('../css/fonts/figtree/Figtree-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('../css/fonts/figtree/Figtree-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

body{
    font-family: 'Figtree', 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    background:#EEF5F5;
    min-height:100vh;
}

.auth-wrapper{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:#F2F5F7;

}

[data-bs-theme="dark"] .auth-wrapper{
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background: #020617;

}


.auth-card{
    width:100%;
    max-width:420px;
    padding:2rem;
    margin: 10px;
    background:#FFFFFF;
    border-radius:16px;
    box-shadow:0 20px 40px rgba(0,0,0,.2);

}
[data-bs-theme="dark"] .auth-card{
    background: #020617;
    box-shadow: 0 20px 40px rgb(0 0 0 / 47%);
    border: 1px solid #cecece;
    color:white;
}

[data-bs-theme="dark"] .auth-card{
    background: #020617;
    box-shadow: 0 20px 40px rgb(0 0 0 / 47%);
    border: 1px solid #cecece;
    color:white;
}

.btn-login{
    background: #020617; 
    margin-top : 15px;
    min-height: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.auth-product-version {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: .45rem;
    padding: .28rem .58rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
    color: var(--bs-secondary-color);
    font-size: .74rem;
    font-weight: 650;
}
.auth-product-version i { color: var(--bs-primary); }
.auth-support-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .35rem .8rem;
    width: min(420px, calc(100% - 20px));
    margin: .85rem auto 1rem;
    color: var(--bs-secondary-color);
    font-size: .78rem;
}
.auth-support-footer span,
.auth-support-footer a { display: inline-flex; align-items: center; gap: .32rem; }
.auth-support-footer a { color: inherit; text-decoration: none; font-weight: 700; }
.auth-support-footer a:hover { color: var(--bs-primary); }
.auth-support-footer i { color: var(--bs-primary); font-size: .95rem; }
.btn-login:hover {
    background: #020617; 
    opacity: 0.9 !important;
}

[data-bs-theme="dark"] .btn-login{
    background: #fff;
    color:#020617;
}
[data-bs-theme="dark"] .btn-login:hover {
    background: #fff; 
    opacity: 0.9 !important;
}

.btn-acceso-mozo {
    min-height: 54px;
    border-width: 2px;
    border-radius: .7rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .04em;
}

@media (max-width: 576px) {
    .btn-login {
        min-height: 60px;
        height: 60px;
        font-size: 1.1rem;
    }

    .btn-acceso-mozo {
        min-height: 58px;
        font-size: 1.05rem;
    }
}

.btn-login-sucursal{
    background: #020617; 
    margin-top : 15px;
    min-height: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
}
.btn-login-sucursal:hover {
    background: #020617; 
    opacity: 0.9 !important;
}

[data-bs-theme="dark"] .btn-login-sucursal{
    background: #fff;
    color:#020617;
}
[data-bs-theme="dark"] .btn-login-sucursal:hover {
    background: #fff; 
    opacity: 0.9 !important;
}

.acceso-mozo__teclado {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .7rem;
}

.acceso-mozo__panel {
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: .9rem;
    background: color-mix(in srgb, var(--bs-tertiary-bg) 75%, transparent);
}

.acceso-mozo__codigo-wrap {
    position: relative;
}

.acceso-mozo__codigo-wrap > i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--bs-primary);
    font-size: 1.25rem;
}

.acceso-mozo__codigo {
    min-height: 60px;
    padding-left: 3.1rem;
    border-width: 2px;
    border-color: color-mix(in srgb, var(--bs-primary) 45%, var(--bs-border-color));
    background: var(--bs-body-bg);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: .36rem;
}

.acceso-mozo__codigo:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 .22rem color-mix(in srgb, var(--bs-primary) 20%, transparent);
}

.acceso-mozo__tecla {
    min-height: 56px;
    border: 1px solid color-mix(in srgb, var(--bs-primary) 18%, var(--bs-border-color));
    border-radius: .75rem;
    background: linear-gradient(145deg, var(--bs-tertiary-bg), var(--bs-body-bg));
    color: var(--bs-body-color);
    box-shadow: 0 .2rem .55rem rgba(15, 23, 42, .08);
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform .12s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.acceso-mozo__tecla:hover,
.acceso-mozo__tecla:focus-visible {
    border-color: var(--bs-primary);
    background: color-mix(in srgb, var(--bs-primary) 15%, var(--bs-tertiary-bg));
    box-shadow: 0 .35rem .8rem color-mix(in srgb, var(--bs-primary) 18%, transparent);
}

.acceso-mozo__tecla:active {
    transform: scale(.94);
    box-shadow: none;
}

.acceso-mozo__tecla--accion {
    color: var(--bs-primary);
    font-size: 1.35rem;
}

[data-bs-theme="dark"] .acceso-mozo__panel {
    background: #07132c;
    border-color: #22345e;
}

[data-bs-theme="dark"] .acceso-mozo__tecla {
    background: linear-gradient(145deg, #142449, #0b1833);
    border-color: #2b416f;
    box-shadow: 0 .2rem .55rem rgba(0, 0, 0, .22);
}

[data-bs-theme="dark"] .acceso-mozo__tecla:hover,
[data-bs-theme="dark"] .acceso-mozo__tecla:focus-visible {
    background: #193363;
    border-color: #3f8cff;
}
