.login-register-cod {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #111122, #18172C);
    z-index: 1010;
}

.login-register-main form {
    width: 100%;
}

.login-register-cod::after {
    content: url('../images/helpers/login-1.png');
    position: absolute;
    bottom: 0;
    left: 0;
    /* width: 100%; */
    /* height: 100%; */
}

.login-register-cod::before {
    content: url('../images/helpers/login-2.png');
    position: absolute;
    top: 0;
    right: 0;
    /* width: 100%; */
    height: 100%;
}

.login-register-cod.login-register-cod--active {
    display: block;
}

.login-register-main {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    height: 100%;
}

.title-form {
    text-align: center;
    color: #fdfdfd;
    font-size: 18px !important;
    margin-bottom: 50px;
    font-weight: 700;
}

.resend-email {
    font-size: 16px;
    color: #fdfdfd;
    width: 100%;
    justify-content: center;
    color: #fdfdfd;
    gap: 20px;
    border-top: 1px solid #2C2D57;
    padding-top: 25px;
}

.resend-email.resend-email--border-none {
    border-top: none;
}

.link-blue--light {
    color: #AABEF7;
}

.login-logo {
    margin-bottom: 25px;
}

.login-card {
    width: 438px;
    min-width: 438px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background: #16152A;
    border: 1px solid #282740;
    border-radius: 16px;
    height: fit-content;
    padding: 40px 0;
}

.login-card--register {
    width: 560px;
}

.login-content-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 40px;
}

#recovery-1 .title-form,
#recovery-2 .title-form,
#recovery-4 .title-form,
#register-2 .title-form,
#register-3 .title-form {
    margin-bottom: 20px;
}

#recovery-2 .subtitle-login {
    margin-bottom: 0;
}

#recovery-form {
    gap: 100px;
}

.subtitle-login {
    font-size: 16px;
    font-weight: 400;
    color: #FDFDFD;
    text-align: center;
    margin-bottom: 32px;
}

.recovery {
    color: #6C8EF1;
    font-size: 16px;
    font-weight: 400;
    margin-top: -16px;
    align-self: start;
}

.login-card form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 70px;
}

#login-form {
    width: 358px;
}

#login-register {
    width: 560px;
}

.field-label b {
    color: #6C8EF1;
}

.field-cod {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.field-cod .field-label {
    color: #EBEBFE;
    font-size: 16px;
    margin-bottom: 8px;
}

.field-cod input[type="text"],
.field-cod input[type="password"],
.field-cod input[type="email"] {
    /* width: 358px; */
    border-radius: 8px;
    border: 1px solid #1E1D33;
    background: #141326 !important;
    color: #EBEBFE;
    font-size: 16px;
    padding: 10px 16px;
    height: 46px;
    transition: all 200ms ease-in-out;
}

.field-cod input[type="text"]:hover,
.field-cod input[type="password"]:hover,
.field-cod input[type="email"]:hover {
    border-color: #3D3D5C;
}

.field-cod .error-text {
    display: none;
    color: #D92D20;
}

.field-cod.input-cod-date.has-error, 
.field-cod.input-cod-tel.has-error {
    padding-bottom: 0 !important;
    margin-bottom: -30px !important;
}
.field-cod.has-error {
    padding-bottom: 50px !important;
}

.field-cod.has-error .error-text {
    display: flex;
}

.btn-submit-form {
    background: #4168D8;
    color: #fdfdfd;
    font-size: 18px !important;
    font-weight: 700;
    margin-top: -20px;
    transition: all 200ms ease-in-out;
    max-width: 358px;
    min-width: 140px;
}

.btn-submit-form:hover {
    background: #5779D8;
}

.btn-submit-form:disabled {
    background: #2C3551;
    color: #5A5D7A;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-submit-form:disabled:hover {
    background: #2C3551;
}

.btn-submit-form--flat {
    background: #0000;
    color: #AABEF7;
    transition: all 200ms ease-in-out;
    margin-top: -59px;
}

.btn-submit-form--flat:hover {
    color: #6F90ED;
    background: #0000;
}

.close-login-register {
    position: absolute;
    top: 34px;
    right: 34px;
    background: url(../images/close-xb.png) no-repeat;
    z-index: 10;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.field-cod.has-error input,
.has-error .input-cod-date--inputs,
.has-error .tel-cod {
    border-color: #D92D20;
}

.field-cod .toggle-password img{
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(52%) sepia(63%) saturate(1214%) hue-rotate(201deg) brightness(98%) contrast(93%);
}

#register-form {
    min-width: 480px;
}

.col-cod-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.col-cod-2 .field-cod {
    width: 230px;
}

input::placeholder {
    color: #3D3C5D !important;
}

.field-label {
    color: #EBEBFE;
    font-size: 16px;
    margin-bottom: 8px;
    display: inline-block;
}

.input-cod-date--inputs {
    border: 1px solid #1E1D33;
    border-radius: 8px;
}

.input-cod-date input {
    width: 75.6px;
    padding: 8px 16px;
    background: #141326;
    border: none;
    text-align: center;
    height: 46px;
    border-radius: 8px;
    color: #EBEBFE;
}

.input-cod-date input:nth-child(2) {
    border-right: 1px solid #1E1D33;
    border-left: 1px solid #1E1D33;
    border-radius: 0;
}



/* Checkbox with label */
.checkbox-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    color: #fdfdfd;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox-box {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    border: 2px solid #2b3554;
    background: #12182b;
    position: relative;
    transition: all .15s ease;
    box-shadow: var(--shadow);
}

.checkbox-row .checkbox-label {
    font-size: 16px;
    line-height: 1.35;
}

.checkbox-row .checkbox-label a {
    color: #84A1F3;
    text-decoration: none;
}

.checkbox-row .checkbox-label a:hover {
    text-decoration: underline;
}

.checkbox-input:focus+.checkbox-box {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), var(--shadow);
}

.checkbox-input:checked+.checkbox-box {
    border-color: #3c6be6;
    background: #3c6be6;
}

.checkbox-input:checked+.checkbox-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center/16px 16px no-repeat;
}

.checkbox-row.has-error .checkbox-box {
    border-color: var(--error);
}

/* Estilos personalizados para intl-tel-input en formularios de login/registro */
.field-cod .iti {
    width: 100%;
}

.field-cod .iti__tel-input {
    width: 100% !important;
    background: #141326 !important;
    border-radius: 8px !important;
    border: 1px solid #1E1D33 !important;
    /* padding: 10px 16px !important; */
    height: 46px !important;
    color: #EBEBFE !important;
    font-size: 16px !important;
}

.field-cod .iti__tel-input:hover {
    border-color: #3D3D5C !important;
}

.field-cod .iti__tel-input::placeholder {
    color: #3D3C5D !important;
}

.field-cod .iti__selected-flag {
    background: #141326 !important;
    border-radius: 8px 0 0 8px !important;
    padding: 0 12px !important;
}

.field-cod .iti__arrow {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #6C8EF1;
}

.field-cod .iti__arrow--up {
    border-top: none;
    border-bottom: 5px solid #6C8EF1;
}

.field-cod .iti__country-list {
    background: #141326 !important;
    border: 1px solid #3D3C5D !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
    max-height: 200px !important;
}

.field-cod .iti__country {
    color: #EBEBFE !important;
    padding: 8px 12px !important;
}

.field-cod .iti__country:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.field-cod .iti__country.iti__highlight {
    background: rgba(108, 142, 241, 0.2) !important;
}

.field-cod .iti__divider {
    border-bottom: 1px solid #2C2D57 !important;
}

.field-cod .iti__selected-dial-code {
    font-size: 16px;
    color: #EBEBFE;
    font-weight: 300;
}

.field-cod .iti__selected-country {
    height: 100% !important;
}

.field-cod .iti--inline-dropdown .iti__dropdown-content {
    border: none;
    background-color: transparent;
}

/* Ajuste para error state */
.field-cod.has-error .iti__tel-input {
    border-color: #D92D20 !important;
}