/* --------------------------- */
/* NEW LOGIN FORM STYLES - WB */
/* --------------------------- */


/* VARIABLES DE COLOR */

body[data-theme="prestamos"] {
    --primary-color: #0070D9;
    --secondary-color: #0BB2E5;
    --secondary-light: #DBF6FF;
    --gradient: linear-gradient(145deg, rgba(0, 198, 251, 1) 25%, rgba(0, 91, 234, 1) 100%);
}

body[data-theme="ventas"] {
    --primary-color: #02aa56;
    --secondary-color: #39d688;
    --secondary-light: #39d68820;
    --gradient: linear-gradient(145deg, #49BA64 25%, #35c957 100%);
}

/* HELPER CLASES */
.not-padding {
    padding: 0 !important;
}

.login-container {
    position: relative;
    display: flex;
    flex-direction: row-reverse;
    min-height: 100%;
    /* max-width: 1600px; */
    overflow: auto;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.hide-container {
    display: none !important;
}

/* HERO */
.login-hero {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: #fff;
    /*     padding: 40px 50px; */
}

.login-hero .img-var {
    width: 900px;
    z-index: 100;
}

.login-container .vector-var {
    position: absolute;
    width: 100%;
    height: 170px;
    bottom: 0;
    z-index: 99;
}

.login-hero .wrapper {
    display: flex;
    flex-direction: column;
    max-width: 660px;
}

.login-hero .heading h1,
.heading h1 {
    color: #fff;
    /* font-family: "Lato"; */
    font-weight: 800 !important;
    max-width: 420px;
}

.heading h1.dark-text {
    color: #454662 !important;
}

.login-hero .image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-hero .image img {
    max-width: 460px;
    transform: scale(1.1) translateY(-16px);
}

.features-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 40px;
}

.features-wrapper .feature {
    display: flex;
    flex-direction: column;
    width: 30%;
    color: #fff;
    font-size: 16px;
    /* font-family: "Lato"; */
    font-weight: 600;
}

.features-wrapper .feature img {
    max-width: 55px;
    margin-bottom: 22px;
}

img.inventario-icon {
    width: 46px;
}

/* FORM */
#login-form {
    max-width: 400px;
}

.form-header {
    margin: 30px 0 20px 0;
}

.form-header h2 {
    color: #70707050;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.1em;
}

.form-header .title {
    font-size: 1em !important;
    /* font-family: "Lato"; */
    color: #454662;
    font-weight: bold;
}

.form-header .logo {
    margin-bottom: 40px !important;
}

.form-container {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 100 !important;
    margin-bottom: 150px;
}

button.custom-btn,
a.custom-btn {
    width: 100% !important;
    border-radius: 3px !important;
    background-color: var(--primary-color);
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    border-color: #00000001 !important;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: #fff !important;
    transition: all .2s ease;
}

button.custom-btn:hover,
a.custom-btn:hover {
    background-color: var(--secondary-color);
}

button.custom-btn-secondary,
a.custom-btn-secondary {
    width: auto !important;
    color: var(--primary-color) !important;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
    margin: 0 0 0 5px;
    transition: all .2s ease;
    font-weight: bold;
}

button.custom-btn-secondary:hover,
a.custom-btn-secondary:hover {
    color: var(--primary-color) !important;
    background-color: var(--secondary-light);
}

/* Form inputs */
#login-form .btn-login-cont {
    display: flex;
    justify-content: center;
}

#login-form .custom-btn {
    margin-top: 5px;
    width: 300px !important;
    border-radius: 50px !important;
}

#login-form input[type="text"] {
    margin-bottom: 10px;
}

/* Login */
#login-form input[type="text"],
#login-form input[type="password"] {
    text-align: left !important;
    border: none;
    border-radius: 50px;
    border: 1px solid #999999;
    padding: 22px 15px;
    position: relative;
}



/* Register */
#register-form input[type="text"],
#register-form input[type="password"],
#register-form input[type="tel"],
#register-form input[type="email"] {
    text-align: left !important;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #999999;
    padding: 22px 15px;
    position: relative;
}

#register-form input[type="text"],
#register-form input[type="password"],
#register-form input[type="tel"],
#register-form select,
#register-form input[type="email"] {
    margin-bottom: 10px;
}

#login-form .form-group.error input[type="text"].form-control.valid,
#login-form .form-group.error input[type="password"].form-control.valid {
    border-color: #999999;
}

/* Form validations calss */
#login-form .form-group.error input[type="text"],
#login-form .form-group.error input[type="password"] {
    border-color: #FF3838 !important;
}

/* #login-form input[type="text"]::before {
    content: "\f007";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    color: #999999;
    position: absolute;
} */

.input-icon {
    z-index: 1000;
    position: absolute;
    left: 92%;
    top: 30%;
    font-size: 18px;
    background: #fff;
    color: var(--primary-color);
}

#login-form .basic-login-options {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 15px;
}

.help-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: 0.3s ease-in;
}

.help-link:hover {
    background-color: var(--secondary-light);
}


.help-link i {
    color: #fff !important;
    font-size: 0.8em;
}

.help-link .help-cont-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    width: 20px;
    height: 20px;
    margin: 0 5px 0 0;
    border-radius: 50px;
}

.help-link span,
.new-account p {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0 !important;
}

.new-account p {
    color: #454662 !important;
}

.new-account {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 10px;
}

.footer{
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color) !important;
    z-index: 102;
}

.footer .credits {
    position: absolute;
    margin-top: 10px !important;
    bottom: 0;
    text-align: center;
    color: #fff !important;
}

.footer .credits a {
    text-align: center;
    color: #fff !important;
    text-decoration: none;
}


/* REGISTER FORM STYLES */
.main-wrapper {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}

/* Formulario */
.form-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.form-cont .form {
    max-width: 380px;
}

.hero-new-account {
    margin: 20px;
    border-radius: 16px;
    background-color: var(--secondary-light);
    width: 50%;
}

#register-form #stepsTabContent label b {
    font-weight: 600 !important;
    color: #454662;
}

#business_type {
    display: flex;
    justify-content: space-between;
}

#business_type .rad-with-details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    border: 1px solid #E0E0E0;
    /* cursor: pointer; */
    padding: 8px 15px;
    font-size: 14px;
}

#business_type .rad-with-details label {
    margin-bottom: 0px !important;
    margin-right: 10px !important;
    cursor: pointer;
}

#business_type input:checked~.rad-with-details {
    background-color: var(--secondary-color) !important;
}

#business_type .rad-with-details .more-info i {
    font-size: 15px !important;
    margin-right: 17px;
    color: var(--primary-color) !important;
}

#business_type .inline-el {
    margin: 0;
    width: 48%;
}

#stepsTabs {
    justify-content: space-between;
    align-items: center;
    background-color: #f0f0f0;
    margin-bottom: 30px;
    padding: 5px !important;
    border-radius: 80px;
}

#step1-tab,
#step2-tab {
    padding: 7px 15px;
    display: inline-block;
    border-radius: 60px;
    border: none;
    margin: 0;
    color: var(--primary-color);
    font-weight: 500;
    width: 100%;
}

li.nav-item {
    width: 49.5%;
}

li.nav-item>a.nav-link.active {
    color: #fff !important;
    background: var(--primary-color);
}

.nav-tabs .nav-item .nav-link:before {
    display: none;
}

.form-title {
    font-weight: 700;
    color: #454662;
    margin: 40px 0 20px 0;
    font-size: 25px;
}

.basic-login-options .form-check .form-check-label {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    background-color: #d9d9d9;
    cursor: pointer;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
}

.form-check input[type="checkbox"]:after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f00c";
    font-size: 0.8em;
    display: none;
    color: #fff;
}
.form-check input[type="checkbox"]:hover {
    background-color: var(--secondary-light);
}
.form-check input[type="checkbox"]:checked {
    background-color: var(--primary-color);
}
.form-check input[type="checkbox"]:checked:after {
    display: block;
}

.login-check {
    margin: 0 !important;
    color: #454662 !important;
    padding: 3.5px 0 0 5px !important;
}

/* VIDEO */
.video-btn {
    color: #454662;
    border: none;
    transition: all .2s ease;
    display: inline-block;
}

.video-btn:hover {
    transform: translateY(-10px) scale(1.05);
}

/* Back Button Styles */
.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa; /* Light background */
    color: #495057; /* Darker text/icon */
    border-radius: 50%; /* Circular */
    text-decoration: none;
    font-size: 24px; /* Adjust arrow size */
    line-height: 1;
    border: 1px solid #dee2e6; /* Light border */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 15px; /* Space between button and card */
}

.back-button:hover {
    background-color: #e9ecef; /* Slightly darker on hover */
    color: #212529;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none; /* Remove underline on hover */
}

/* Style messages */
.login-response {
    margin-top: 15px;
    font-weight: 500;
    min-height: 20px; /* Reserve space */
}

.alert.alert-danger {
    background-color: #f8d7da; /* Bootstrap danger background */
    border-color: #f5c6cb;   /* Bootstrap danger border */
    color: #721c24;       /* Bootstrap danger text */
    padding: 10px 15px;   /* Adjust padding */
    font-weight: normal;  /* Normal weight */
    border-radius: 4px;
    margin-top: 20px;     /* More space above error */
    text-align: center;
    font-size: 14px;      /* Adjust font size */
}

#segundos-a-esperar {
    margin-top: 20px; /* Adjust spacing */
    color: #6c757d;
    font-size: 14px;
}

/* Loading animation dots color update */
body[data-theme="prestamos"] .dot,
body[data-theme="prestamos"] .dots span {
    background: var(--primary-color); /* Prestamos Blue */
}

body[data-theme="ventas"] .dot,
body[data-theme="ventas"] .dots span {
    background: var(--primary-color); /* Ventas Blue */
}

/* body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 20px;
    box-sizing: border-box;
} */

.page-center-wrapper {
    width: 400px; /* Match the card's max-width for alignment */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align button to the start (left) */
}

@media (max-width: 1900px) {
    .login-hero .img-var {
        width: 747px;
    }
}

/* .registro-logo img {
    max-width: 200px;
} */

/* MEDIAQUIERIES - RESPONSIVE */

/* ---------------- */
/* ---- TABLET ---- */
/* ---------------- */

@media (max-width: 991px) {

    .login-hero,
    .hero-new-account {
        display: none;
    }

    .form-container {
        min-width: 100% !important;
        padding: 0 25px;
    }

    /* Register */
    .form-cont {
        width: 100%;
    }

    .form-cont .form {
        max-width: 580px;
    }

    #mList {
        display: none !important;
    }

    .main-wrapper {
        justify-content: center;
    }

    .form-cont .form {
        width: 90% !important;
    }
}

@media (max-width: 768px) {}

/* ---------------- */
/* ---- MOBILE ---- */
/* ---------------- */

@media (max-width: 450px) {}

@media (max-width: 375px) {}

@media (max-width: 320px) {}

