﻿
:root {
    --yellow: #ffdd05;
}


body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}

.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}



.text-smoke {
    color: #888EA8 !important;
}

/*.barra-superior-amarilla {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 1px;
    background: #FFDD05;
    z-index: 99999;
}*/

.custom-container {
    display: flex;
    height: 100vh;
    flex-direction: row;
}

.custom-left {
    flex: 1;
    /*background-image: url('img/fondo.jpg');*/
    /*background-image: url('../img/logo/road-sunset-bg04.jpg');*/
    /*background-image: url('../img/banner/bg-screen-loginleft.png');*/
    background-image: url('../img/banner/family-banner-car-hd.png');
    /*background-image: url('../img/logo/road-way.jpg');*/
    /*background-image: url('../img/logo/road-way01.jpg');*/
    background-size: cover;
    background-position: center right;
    position: relative;
    z-index: 1;
    /* ...ya tienes estas reglas... */
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: end;*/

    margin: 0;
    height: 100vh;
    /*background-color: #0a0a23;*/
    /*flex-direction: column;*/
    display: flex;
    align-items: center;
    padding-left: 60px;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}

    .custom-left::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.4);
    }

@media (max-width: 768px) {
    .custom-left {
        display: none;
    }
}


.custom-right {
    flex: 1;
    max-width: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    position: relative;
    z-index: 2;
}

/*.custom-right::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;*/ /* puedes cambiar el grosor aquí */
/*background-color: #FFDD05;
        z-index: 1;
    }*/

.right-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}



.right-bg-dark {
    width: 100%;
    height: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*background-image: url('../img/logo/road-way.jpg');
    background-size: cover;
    background-position: center;*/
    /*background-color: #f7f7f7;*/
    background-color: #000;
    position: relative;
}

/*.right-bg-dark::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6);
    }*/

.right-bg-light {
    width: 100%;
    height: 65%;
    /*background-color: #f7f7f7;*/
    background-color: #000;
}

@media (max-width: 576px) {
    .right-bg-light {
        background-color: #f7f7f7;
    }
}

.login-box {
    position: absolute;
    z-index: 10;
    width: 100%;
    max-width: 360px;
    padding: 0;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);*/
}

@media (max-width: 576px) {
    .login-box {
        margin-top: 150px;
        border-radius: 20px 20px 0px 0px;
        box-shadow: none;
    }
}


.login-header {
    background-color: #f7f7f7;
    padding: 20px;
    text-align: center;
    /*display:flex;
    justify-content:center;
    align-items: center;*/
}
/*.login-header span {
    top:45px;
    position: absolute;
    font-size: 0.8rem;
    text-align: center;
}*/
.logo {
    top: 10%;
    /*position: absolute;*/
    height: 40px;
    margin-bottom: 70px;
}

.login-content {
    padding: 30px 30px;
}

.title-login {
    font-size: 1.25rem;
}

.btn-custom {
    width: 100%;
    padding: 10px !important;
    margin-bottom: 10px;
    font-size: 14px;
    border: none !important;
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

.btn-google {
    background-color: #f7f7f7 !important;
    color: #333;
}

.btn-apple {
    background-color: #f7f7f7 !important;
    color: #333;
}


.btn-validate {
    background-color: #FFDD05 !important;
    color: black;
}

    .btn-validate:hover {
        background-color: #000 !important;
        color: white !important;
    }

        .btn-validate:hover span {
            color: #FFDD05 !important;
        }

.btn-default-dark {
    /*background-color: #000 !important;*/
    border: 1px solid #fff !important;
    color: white !important;
}

    .btn-default-dark:hover {
        background-color: #000 !important;
        border: 1px solid #000 !important;
        color: white !important;
    }

        .btn-default-dark:hover span {
            color: #FFDD05 !important;
        }

.divider {
    border: none;
    border-top: 1px solid #333;
    margin: 20px 0;
}

.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;*/
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #FFDD05;
    /*border-color: #FFDD05;*/
    /*border-color: none;*/
    /*box-shadow: none;*/
}

/*.btn:focus, .btn:active:focus, .form-control:focus {*/
/*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;*/
/*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #FFDD05;*/
/*border-color: #FFDD05;*/
/*border-color: none;*/
/*box-shadow: none;*/
/*}*/

.input-text {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #fff;
    color: black;
}

/*.input-text:focus {
        outline: none;
        border: 1px solid #FFDD05;*/
/*box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.25);*/
/*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #FFDD05;
    }*/

/*input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    border-radius: 10px;*/
/*background-color: #1c2a33;*/
/*color: white;*/
/*}*/
.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        padding-right: 40px;
    }

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ccc;
    user-select: none;
    width: 35px;
    text-align: center;
}

.register {
    font-size: 14px;
    text-align: center;
    margin-top: 0px;
}

    .register a {
        color: #00b3ff;
        text-decoration: none;
    }


.Forget {
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
}

    .Forget a {
        color: #000;
        text-decoration: none;
    }

.footer-logo {
    /*background-color: #f7f7f7;*/
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #999;
    font-size: 0.9rem;
}

    .footer-logo img {
        height: 20px;
    }

.lang {
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
    color: #ccc;
}


.btn-floating-chev {
    position: absolute;
    top: 50%;
    right: 32.7%;
    transform: translate(-100%, -50%);
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    z-index: 50;
    transition: all 0.3s ease;
}

    .btn-floating-chev:hover {
        background-color: #F7F7F7;
        transform: translate(-100%, -50%) translateX(-4px);
    }

    .btn-floating-chev i {
        font-size: 18px;
    }

@media (max-width: 768px) {
    .btn-floating-chev {
        display: none;
    }
}



.btn-icon-header {
    position: relative;
    color: white !important;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

    .btn-icon-header:hover {
        color: #FFDD05;
    }

    /* Tooltip */
    .btn-icon-header::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: -40px;
        left: 50%;
        transform: translateX(-50%);
        background: #fff;
        color: #000;
        padding: 5px 10px;
        border-radius: 5px;
        white-space: nowrap;
        font-size: 13px;
        font-weight: 600;
        box-shadow: 0px 2px 6px rgba(0,0,0,0.2);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 100;
    }

    /*Flechita del tooltip*/
    .btn-icon-header::before {
        content: "";
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: #fff;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 99;
    }

    .btn-icon-header:hover::after,
    .btn-icon-header:hover::before {
        opacity: 1;
    }






.form-signin {
    /*max-width: 330px;*/
    /*padding: 1rem;*/
}

    .form-signin .form-floating:focus-within {
        z-index: 3;
        /*border-color: none;*/
        /*box-shadow:none;*/
        /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #FFDD05;*/
    }


.input-accountid {
    /*background-color: #f7f7f7;*/
    margin-bottom: -1px;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

    .input-accountid:focus {
        border-color: #FFDD05;
        box-shadow: none;
        /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #FFDD05;*/
    }

.input-password {
    /*background-color: #f7f7f7;*/
    margin-bottom: 10px;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

    .input-password:focus {
        border-color: #FFDD05;
        box-shadow: none;
        /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #FFDD05;*/
    }





.block-container {
    display: flex;
    flex-direction: column;
    font-size: 2.4rem;
    color: #fff;
    line-height: 1.4;
    min-height: calc(2 * 1.4em + 0.5em);
    text-shadow: 0 6px 6px rgba(0,0,0,0.5);
    z-index: 9;
}

.block {
    opacity: 0;
    transform: translateY(-40px); /* Salida hacia arriba */
    transition: opacity 0.4s ease, transform 0.4s ease;
}

    .block.visible {
        opacity: 1;
        transform: translateY(0); /* Entrada desde abajo */
    }

.first-line {
    font-size: 2.3rem;
    font-weight: bold;
}

.second-line-wrapper {
    /*background: rgba(0,0,0,0.25);*/
    /*padding: 0.8rem 1.5rem;*/
    /*border-radius: 20px;*/
    display: inline-flex;
    align-items: center;
    font-size: 1.8rem;
    margin-top: 10px;
}

.typed-text {
    white-space: nowrap;
}

.cursor {
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    margin-left: 0.35em;
    border-radius: 50%;
    background-color: #fff;
    animation: blink 1s infinite;
    vertical-align: middle;
}

    .cursor.hidden {
        display: none;
    }

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}























.soft-alert {
    position: fixed !important;
    z-index: 2147483647 !important;
    padding: 12px 18px;
    border-radius: 10px;
    min-width: 280px;
    max-width: 600px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all .35s ease;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    border: 0 !important;
    overflow: hidden;
    position: relative;
}

    .soft-alert::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 10px;
        igual al border-radius background: inherit;
        mismo fondo del alert z-index: 3;
        tapar la curva siempre
    }

    .soft-alert.show {
        opacity: 1;
    }


.pos-top-center {
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
}

    .pos-top-center.show {
        top: 25px;
    }


.pos-top-right {
    top: -80px;
    right: 25px;
}

    .pos-top-right.show {
        top: 25px;
    }

.pos-top-left {
    top: -80px;
    left: 25px;
}

    .pos-top-left.show {
        top: 25px;
    }

.pos-left-center {
    left: -400px;
    top: 50%;
    transform: translateY(-50%);
}

    .pos-left-center.show {
        left: 25px;
    }

.pos-right-center {
    right: -400px;
    top: 50%;
    transform: translateY(-50%);
}

    .pos-right-center.show {
        right: 25px;
    }

.pos-bottom-right {
    bottom: 25px;
    right: 25px;
    transform: translateY(120%);
}

    .pos-bottom-right.show {
        transform: translateY(0);
    }

.pos-bottom-center {
    bottom: 25px;
    left: 50%;
    transform: translate(-50%, 120%);
}

    .pos-bottom-center.show {
        transform: translate(-50%, 0);
    }

.pos-bottom-left {
    bottom: 25px;
    left: 25px;
    transform: translateY(120%);
}

    .pos-bottom-left.show {
        transform: translateY(0);
    }

.soft-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    color: #8a1c22;
}

.soft-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

.soft-success {
    background-color: #d1e7dd;
    border: 1px solid #badbcc;
    color: #0f5132;
}

.soft-info {
    background-color: #d7e3ff;
    border: 1px solid #b0c1ff;
    color: #0a2885;
}


.alert-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background-color: currentColor;
    border-top-right-radius: 10px;
    border-top-left-radius: 0;
    z-index: 5;
    transition: width linear;
}

    .alert-progress.full {
        border-top-left-radius: 10px;
    }

.alert-progress-danger {
    background: linear-gradient(90deg, #b01923, #d62828, #8a1c22);
}

.alert-progress-warning {
    background: linear-gradient(90deg, #856404, #eac54f, #c19a2b);
}

.alert-progress-success {
    background: linear-gradient(90deg, #0a7a43, #32d48e, #0f5132);
}

.alert-progress-info {
    background: linear-gradient(90deg, #0a2885, #4e7bff, #084298);
}

.alert-progress-secondary {
    background: linear-gradient(90deg, #41464b, #6c757d, #343a40);
}



@media screen and (min-width: 1200px) and (max-width: 1400px) and (max-height: 800px) {
    .custom-right {
        max-width: 600px
    }

    .login-box {
        width: 100%;
        max-width: 310px;
    }

    .login-content {
        padding: 20px 30px;
    }
    /*.login-header {
        padding: 20px;
        text-align: center;
    }*/
    .logo {
        top: 0px;
        height: 30px;
        margin-bottom: 130px;
    }

    .title-login {
        font-size: 1.1rem;
    }

    .footer-logo {
        margin-top: 0px;
        padding: 20px;
        font-size: 0.75rem;
    }

    .btn-custom {
        padding: 8px !important;
        margin-bottom: 5px;
        font-size: 0.7rem !important;
    }

    .form-floating {
        font-size: 0.85rem !important;
    }

    .Forget, .register {
        font-size: 0.75rem !important;
    }

    .form-floating > input.form-control.input-accountid,
    .form-floating > input.form-control.input-password {
        height: 3.2rem !important;
        min-height: 3.2rem !important;
        padding: .5rem .75rem !important;
        font-size: .875rem !important;
        line-height: 1.2 !important;
    }

        .form-floating > input.form-control.input-accountid ~ label,
        .form-floating > input.form-control.input-password ~ label {
            padding: .85rem .75rem !important;
            background: none !important;
            font-size: .8rem !important;
        }

        .form-floating > input.form-control.input-accountid:focus,
        .form-floating > input.form-control.input-accountid:not(:placeholder-shown),
        .form-floating > input.form-control.input-password:focus,
        .form-floating > input.form-control.input-password:not(:placeholder-shown) {
            padding-top: 1.25rem !important;
            padding-bottom: .25rem !important;
        }



    .nx-btn{
        height: 40px !important;
    }
    .nx-btn__label{
        font-size: 0.75rem;
    }
    .nx-btn__disc {
        right:5px !important;
        height: 30px !important;
        width: 30px !important;
    }
    
    
}
