.elementor-776 .elementor-element.elementor-element-c72ffd9{--display:flex;--min-height:100vh;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-776 .elementor-element.elementor-element-a368c00{--display:flex;--border-radius:16px 16px 16px 16px;box-shadow:0px 0px 5px 0px rgba(255, 255, 255, 0.07);--padding-top:30px;--padding-bottom:30px;--padding-left:30px;--padding-right:30px;}.elementor-776 .elementor-element.elementor-element-a368c00:not(.elementor-motion-effects-element-type-background), .elementor-776 .elementor-element.elementor-element-a368c00 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#0F1521;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-776 .elementor-element.elementor-element-1613476 img{width:45%;}.elementor-776 .elementor-element.elementor-element-87f9bc7.elementor-element{--align-self:center;}body.elementor-page-776:not(.elementor-motion-effects-element-type-background), body.elementor-page-776 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#141414;}@media(max-width:767px){.elementor-776 .elementor-element.elementor-element-c72ffd9{--min-height:95vh;}.elementor-776 .elementor-element.elementor-element-a368c00{--border-radius:13px 13px 13px 13px;--padding-top:25px;--padding-bottom:25px;--padding-left:10px;--padding-right:10px;}}@media(min-width:768px){.elementor-776 .elementor-element.elementor-element-c72ffd9{--content-width:500px;}}/* Start custom CSS for shortcode, class: .elementor-element-87f9bc7 *//* CSS COMPLETO PARA SISTEMA DE AUTENTICACIÓN */

/* Modal principal */
.auth-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.auth-modal-content {
    background: #EBF2FA;
    border: 2px solid #ffffff20;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: modalFadeIn 0.3s ease;
}

.auth-modal-content p {
    color: #000 !important;
    font-family: 'Montserrat';
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Contenedor principal */
#auth-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 0rem;
    background: #ffffff00;
    border-radius: 12px;
    font-family: 'Montserrat';
}

#auth-wrapper h3 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Montserrat';
}

#auth-wrapper p {
    text-align: center;
    margin-bottom: 1.2rem;
    color: #fff;
    font-size: 17px;
    font-weight: 300;
    font-family: 'Montserrat';
}

#auth-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: 'Montserrat';
}

/* Inputs */
#auth-wrapper input[type="text"],
#auth-wrapper input[type="email"],
#auth-wrapper input[type="password"] {
    padding: 12px 15px;
    border: 2px solid #151C29;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
    background-color:#151C29;
    font-family: 'Montserrat';
    border-color: #151C29 !important;
    color: #fff;
}

#auth-wrapper input[type="text"]:focus,
#auth-wrapper input[type="email"]:focus,
#auth-wrapper input[type="password"]:focus {
    border: 2px solid #ffffff50 !important;
    background-color:#151C29;
    outline: none;
}

/* Placeholders */
#auth-wrapper input::placeholder {
    color: #fff;
    font-family: 'Montserrat';
}

/* Botones */
#auth-wrapper button {
    margin-top: 1rem;
    background: #0075ff;
    color: white;
    border: none;
    padding: 18px !important;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    font-family: 'Montserrat';
    font-weight: 700;
    width: 100%;
}

#auth-wrapper button:hover {
    background: #00244f;
    transform: translateY(-1px);
    box-shadow: 0 6px 6px rgba(255, 255, 255, 0.3);
}

#auth-wrapper button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.2);
}

/* Enlaces */
#auth-wrapper a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s;
    display: inline-block;
    margin-top: 0;
    text-align: left;
    font-family: 'Montserrat';
}

#auth-wrapper a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Errores de login */
.login-error {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.login-error:not(:empty) {
    display: block;
}

/* Checkbox */
#auth-wrapper label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    margin: 5px 0;
}

#auth-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #5a9818;
}

/* Formulario de recuperación */
#recover-form p {
    color: #fff;
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.5;
    font-family: 'Montserrat';
}

#reset-password-form .code-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
    margin-top: 5px;
}

.code-digit {
    width: 60px !important;
    height: 60px;
    text-align: center;
    font-size: 45px !important;
    font-weight: 100;
    background-color: #0075ff !important;
    color: #0075ff !important;
    border: 2px solid #0075ff !important;
}

.code-digit:focus {
    border: 2px solid #ffffff50 !important;
    background-color: #0075ff !important;
    outline: none;
}

#reset-password-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#reset-password-form .new-password-section {
    margin-top: 15px;
    position: relative;
}

#reset-password-form .new-password-section::before {
    content: '';
    display: block;
    height: 1px;
    background: #00091A;
    margin-bottom: 20px;
}

#reset-password-form .new-password-section label {
    display: block;
    text-align: left;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 500;
}

/* NUEVOS ESTILOS PARA CAMPOS DE CONTRASEÑA CON OJITO */

/* Contenedor del campo de contraseña */
.password-field {
    position: relative;
    display: inline-block;
    width: 100%;
}

.password-field input {
    width: 100%;
    padding-right: 45px !important;
}

/* Botón para mostrar/ocultar contraseña */
.password-toggle {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ffffff70;
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle:hover {
    color: #fff;
}

.password-toggle i {
    font-size: 16px;
}

/* Overlays de carga */
.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0f1521;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: inherit;
}

.overlay-content {
    text-align: center;
    padding: 20px;
    color: #fff;
}

.overlay-content p {
    color: #fff !important;
    font-family: 'Montserrat';
    font-size: 16px;
    margin-top: 15px;
}

/* Spinner de carga */
.loading-spinner {
    border: 4px solid #ffffff20;
    border-top: 4px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 0 auto 15px;
}

/* Botón del modal */
.auth-modal button {
    background: #1C216D;
    color: white;
    border: none;
    padding: 15px 30px !important;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(28, 33, 109, 0.3);
    font-family: 'Montserrat';
    font-size: 16px;
    cursor: pointer;
}

.auth-modal button:hover {
    background: #2C34AF;
    transform: translateY(-2px);
}

/* Posicionamiento para overlays */
#login-form, #register-form, #recover-form {
    position: relative;
}

/* ANIMACIONES */
@keyframes modalFadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-20px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.6s;
}

/* Efectos de transición entre formularios */
#login-form, #register-form, #recover-form {
    transition: all 0.4s ease;
}

/* Estilos para el formulario activo */
#login-form:not([style*="display: none"]),
#register-form:not([style*="display: none"]),
#recover-form:not([style*="display: none"]) {
    animation: formFadeIn 0.5s ease;
}

@keyframes formFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 600px) {
    #auth-wrapper {
        padding: 0rem;
        margin: 0 10px;
    }
    
    #auth-wrapper h3 {
        font-size: 1.5rem;
    }
    
    #auth-wrapper input[type="text"],
    #auth-wrapper input[type="email"],
    #auth-wrapper input[type="password"] {
        padding: 10px 12px;
    }
    
    .code-digit {
        width: 45px !important;
        height: 45px;
        font-size: 35px !important;
    }
    
    .password-toggle {
        right: 12px;
    }
    
    .password-toggle i {
        font-size: 14px;
    }
    
    .auth-modal-content {
        padding: 1.5rem;
        margin: 0 15px;
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-c72ffd9 */.elementor-776 .elementor-element.elementor-element-c72ffd9 {
    background-image: url(https://www.akreditar.com/wp-content/uploads/2025/09/login-bg.84fcc346.png);
    background-position: bottom;
    background-repeat: no-repeat;
    background-color: #00091a;
    background-size: contain;
}

/* Tablets y pantallas medianas (768px - 1024px) */
@media (max-width: 1024px) {
    .elementor-776 .elementor-element.elementor-element-c72ffd9 {
        background-size: 100% auto;
        background-attachment: scroll;
    }
}

/* Móviles grandes (481px - 767px) */
@media (max-width: 767px) {
    .elementor-776 .elementor-element.elementor-element-c72ffd9 {
        background-size: contain;
        background-position: bottom center;
    }
}

/* Móviles pequeños (hasta 480px) */
@media (max-width: 480px) {
    .elementor-776 .elementor-element.elementor-element-c72ffd9 {
        background-size: 120% auto;
        background-position: bottom center;
        background-repeat: repeat;
    }
}

/* Para móviles en orientación horizontal */
@media (max-width: 767px) and (orientation: landscape) {
    .elementor-776 .elementor-element.elementor-element-c72ffd9 {
        background-size: cover;
        background-position: center bottom;
    }
}

/* Para pantallas muy altas (como móviles) */
@media (max-height: 600px) {
    .elementor-776 .elementor-element.elementor-element-c72ffd9 {
        background-size: 100% 80%;
    }
}/* End custom CSS */