.custom-login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #fff;
    padding-top: 0px;
}

.custom-login-container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
    text-align: center;
    /* Sin sombra */
    border-radius: 8px;
    background: #FFF;
}

.toastBar span {
    padding-right: 20px;
}

.toastBar {
    display: flex;
    height: 40px;
    padding: 8px;
    align-items: center;
    gap: 5px;
    border-radius: 4px;
    position: fixed;
    top: 24px;
    width: auto;
    transform: translateX(-50%);
    left: 50%;
    z-index: 10000;
}

.toastBar.success {
    background: #D6F3E1;
}

.toastBar.success svg {
    fill: #22A052;
}

.toastBar.error {
    background: #FCEEEE;
}

.toastBar.error svg {
    fill: #B3261E;
}

.toastBar span {
    flex-grow: 1;
    text-align: left;
}


/* Logo */

.custom-login-logo {
    margin-bottom: 1rem;
}

.custom-login-container h2 {
    color: #002B84;
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    /* Heythere/Title Large */
    font-family: "Libre Franklin";
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 28px;
    /* 127.273% */
    letter-spacing: 0.11px;
}

.custom-login-container p {
    margin: 0 0 1.5rem 0;
    color: #555;
}


/* Errores de WordPress */

.login-error {
    background: #ffe6e6;
    color: #cc0000;
    padding: 0.75rem;
    margin: 1rem 0;
    border-radius: 4px;
}


/* Formularios */

.form-group {
    text-align: left;
    width: 100%;
    position: relative;
}

.iconTextbox {
    position: absolute;
    top: 9px;
    right: 5px;
}

.user_pass-container.error {
    display: block;
    text-align: left;
}

.user_pass-container.error .icon-container {
    display: none;
}

.error-span,
.invalid-feedback {
    font-family: "Libre Franklin";
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0.5px;
    color: #DC362E;
    padding-top: 4px;
    display: block;
    padding-left: 4px;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    color: #333;
    font-weight: bold;
}


/* Inputs con el CSS requerido (sin variables) */

.form-group input,
.user_pass-container input {
    display: flex;
    height: 40px;
    padding: 0px 2px 0px 8px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid #B3B2B6;
    background: #FFF;
    width: 100%;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: 0.5px;
    color: #002B84
}

.form-group input:not(.error):not(.success):focus,
.form-group input:not(.error):not(.success):hover,
.user_pass-container input:not(.error):not(.success):hover,
.user_pass-container input:not(.error):not(.success):focus {
    border: 1px solid #002b84 !important;
    outline: none !important;
}

.form-group input::placeholder,
.user_pass-container input::placeholder {
    color: #B3B2B6;
}


/* Botón con el CSS requerido (sin variables) */


/* Contenedor de mensajes de validación */

.validation-messages p {
    margin: 0.25rem 0;
    /* Por defecto en gris (sin texto o sin chequear) */
    color: #B3B2B6;
    font-size: 0.9rem;
}

#custom_loginform,
#custom_forgotpasswordform,
#custom_resetpasswordform {
    display: flex;
    padding: 0px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    align-self: stretch;
}

.user_pass-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.icon-container {
    position: absolute;
    right: 10px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon-container svg {
    cursor: pointer;
    width: 23px;
    height: 23px;
    fill: #002B84;
}

.validation-messages {
    padding-left: 15px;
}

#togglePasswordOff {
    display: none;
}

#togglePassword {
    width: 26px;
    height: 26px;
}

#messages-container {
    display: none;
    margin-top: -15px;
    margin-bottom: -15px;
}

.validation-messages,
#messages-container {
    width: 100%;
}

.validation-messages p {
    width: 100%;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    /* 140% */
    letter-spacing: 0.5px;
    text-align: left
}

.custom-login-logo {
    margin-bottom: 64px
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -7px 0px 0px 0px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    appearance: none;
    /* Oculta el diseño predeterminado */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    border: 1px solid #002B84;
    box-shadow: 0 0 0 1px #002B84 !important;
    border-radius: 0px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.remember-me input[type="checkbox"]:checked {
    background-color: #002B84;
}

.remember-me input[type="checkbox"]:checked::after {
    content: "";
    background-image: url('../img/checkmark.png');
    background-size: 80%;
    background-position: 1px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 17px;
    /* Ajusta según el tamaño deseado */
    height: 14px;
    background-repeat: no-repeat;
}

.remember-me label {
    font-family: "Libre Franklin";
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: 0.5px;
    color: #706D74
}

.termsPrivacy {
    font-family: "Libre Franklin";
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    /* 133.333% */
    letter-spacing: 0.048px;
    color: #706D74
}

.termsPrivacy a {
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 0.048px;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    color: #706D74
}

div.error.heyThere_inline,
input.error,
input.error:hover,
input.active,
input.focus {
    border-color: #DC362E !important;
    color: #DC362E !important;
    border: 1px solid #DC362E !important;
}