﻿:root {
    --primary-color: #4b59cc;
    --text-color: #333;
    --bg-color: #fcfcfc;
    --card-width: 420px; /* Tamaño fijo de la tarjeta */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-image: url("https://abposusfiles.blob.core.windows.net/images/backGround_admin_login.png");
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #ffffffd9 !important;
    overflow-y: auto !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.input-validation-error {
    border: solid red 2px !important;
}

.form-options {
    align-items: stretch !important;
}

/* Contenedor Maestro: No crece más de 1440px */
.main-wrapper {
    /* width: 420px;
                min-width: 420px;
                max-width: 420px;
                height: 480px;
                min-height: 480px;
                max-height: 480px; */
    width: 100%;
    max-width: 1440px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffffd9 !important;
}

/* Logo Section */
.logo-section {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.brand-logo {
    width: 147px;
    padding-bottom: 30px;
    margin-bottom: 10px;
}

.logo-section p {
    /*color: #666;*/
    margin-bottom: 30px;
    text-align: center;
    font-size:20px;
}

.logo-section h2 {
    font-weight: 400 !important;
}

/* Login Card: Mantiene su tamaño entre 420-480px */
.login-card {
    background: #fff;
    width: 420px;
    max-width: var(--card-width);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    align-content: center;
    justify-content: space-between;
    color:black !important;
}


    .login-card h2 {
        text-align: center;
        font-weight: 500;
        margin-bottom: 30px;
    }

/* Inputs */
.input-group {
    margin-bottom: 20px !important;
    display: flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
    flex-direction: column;
}

    .input-group label {
        display: block !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        margin-bottom: 8px !important;
    }

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

    .input-wrapper input {
        width: 100%;
        padding: 12px 40px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 16px;
    }

.icon {
    position: absolute;
    left: 12px;
    color: #4b59cc;
}

.view-toggle {
    position: absolute;
    right: 12px;
    cursor: pointer;
    color: #999;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between; /* Empuja los elementos a los extremos */
    align-items: center;
    width: 100%; /* Obligatorio para que el space-between funcione */
    gap: 10px; /* Crea un espacio mínimo de seguridad entre ellos */
    flex-wrap: wrap; /* Si el celular es muy angosto, el link bajará en lugar de encimarse */
    font-size: 14px;
    margin-bottom: 25px;
}
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 5px; /* Separa el cuadrito del texto 'Remember me' */
    cursor: pointer;
    white-space: nowrap; /* Evita que el texto 'Remember me' se parta en dos líneas */
}
.forgot-link {
    text-decoration: none;
    color: #333;
}

/* Button */
.btn-login {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

    .btn-login:hover {
        background-color: #3a47a8;
    }

.contact-text {
    text-align: center;
    font-size: 13px;
    margin-top: 20px;
    color: #666;
}

/* Stores and Footer */
.store-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

    .store-buttons img {
        height: 40px;
    }

.legal-footer {
    margin-top: 50px;
    text-align: center !important;
    max-width: 800px !important;
}

    .legal-footer p {
        font-size: 12px ;
        /*color: #888 !important;*/
        line-height: 1.5;
    }
#copyInfo {
    color: #ffffffd9 !important;
}
.disclaimer {
    margin-top: 10px;
    font-size: 11px !important;
}


/*TWO FACTOR*/
/*.btn-sendAlert {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
}*/
.selectorSend {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-around;
    padding: 5px 15px;
    border: groove 1px #80808026;
    margin-top: 5px;
}

.send-To-Info {
    display: flex;
    flex-direction: column;
}

.selectorSend i {
    padding: 0 10px;
    color: #4b59cc;
    font-size: 15px;
}

.selectorSend .send-To-Info {
    padding: 0 50px 0px 10px;
    width: 270px;
    min-width: 270px;
    max-width: 270px;
}

/*TWO FACTOR CODE ENTER*/

#verify-subtitle {
    margin: 0px;
    padding: 15px 0 0 0;
}

.code-digits {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding-top: 15px;
}

.Dcode-send {
    height: 30px;
    width: 30px;
    text-align: center;
    border: 1px solid #ddd;
    font-weight: 600 !important;
    font-size: 18px;
}

.code-digits input::-webkit-outer-spin-button,
.code-digits input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.code-digits input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/*.btn-cancelAlert {
    width: 100%;
    padding: 14px;
    background-color: var(--cancel-color-btn);
    color: black;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 15px;
    -webkit-appearance: button;
    margin: 5px 0 0 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    text-align: center;
    border: solid 1px black;
    text-decoration: none;
}*/

    .btn-cancelAlert:hover, .btn-cancelAlert:active {
        background: #d3d8ddbf;
        text-decoration: none;
    }

    #resend-code {
        color: #4b59cc;
        font-weight: 600;
    }

    #resend-code:hover {
        color: #4b5acc66;
        font-weight: 600;
        cursor: pointer;
    }

#user-subtitle {
    font-weight: 500;
    font-size: 17px;
    padding-bottom: 20px;
}

/* Agrupa tus botones en un div con esta clase en tu HTML */
.button-group-otp {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px; /* Espacio real entre los dos */
    margin-top: 25px;
}

/* Estilo para el botón azul (Verify) */
.btn-sendAlert {
    width: 100%;
    height: 50px; /* Altura fija para ambos */
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

/* Estilo para el enlace (Cancel) */
.btn-cancelAlert {
    width: 100%;
    height: 50px; /* MISMA altura que el de arriba */
    display: inline-flex; /* Esto hace que respete el ancho y alto */
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: black;
    border: 1px solid black;
    border-radius: 25px;
    text-decoration: none;
    font-size: 18px;
    box-sizing: border-box;
    margin: 0; /* Quitamos los márgenes que causan el solapamiento */
}

    .btn-cancelAlert:hover {
        background: #d3d8ddbf;
        text-decoration: none;
        color: black;
    }

.logo-section h2 {
    text-align: center;
}