/* Small additions to the existing login, password recovery and assessoria views. */
.login .auth-recovery-link {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-decoration: none;
    text-underline-offset: 3px;
}

.login .auth-recovery-link:hover,
.login .auth-recovery-link:focus-visible {
    color: var(--primary-color);
    text-decoration: underline;
}

.login .auth-recovery-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.login .auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0 14px;
    color: var(--primary-color);
    font-size: 12px;
}

.login .auth-divider::before,
.login .auth-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid #dce5f0;
}

.login .auth-providers {
    display: grid;
    gap: 10px;
}

.login .auth-provider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid #dce5f0;
    border-radius: 9px;
    background: #fff;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.login .auth-provider:hover {
    border-color: var(--primary-color);
    background: #f0f5fd;
    text-decoration: none;
}

.login .auth-provider:focus-visible {
    outline: 3px solid #7099d0;
    outline-offset: 3px;
}

.password-recovery .recovery-notice,
.password-recovery .card .recovery-copy {
    font-size: 14px;
    line-height: 1.6;
}

.password-recovery .card .recovery-copy {
    color: #506782;
}

.password-recovery .recovery-notice .bi {
    margin-right: 6px;
}

.recovery-confirmation .recovery-confirmation-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 16px 0 14px;
}

.recovery-confirmation-heading > .bi {
    flex-shrink: 0;
    color: #188269;
    font-size: 21px;
}

.recovery-confirmation .recovery-confirmation-title {
    margin: 0;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.recovery-confirmation .card .recovery-confirmation-message {
    margin: 0 0 18px;
    color: #435169;
    font-size: 14px;
    line-height: 1.6;
}

.recovery-confirmation-provider {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px;
    border: 1px solid #dce5f0;
    border-radius: 4px;
    background: #f4f7fb;
}

.recovery-confirmation-provider > .bi {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--primary-color);
    font-size: 15px;
}

.recovery-confirmation-provider h2 {
    margin: 0 0 5px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.recovery-confirmation .recovery-confirmation-provider .recovery-copy {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
}

.recovery-confirmation .recovery-confirmation-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    border-color: var(--button-border-color);
    background: var(--button-color);
    color: var(--white-color);
    font-size: 14px;
    font-weight: 600;
}

.recovery-confirmation .recovery-confirmation-back:hover {
    background: var(--button-border-color);
}

/* Select2 adds its width inline; keep the existing field inside its column. */
.assessoria-page .select2-container {
    width: 100% !important;
}

.assessoria-page .select2-selection--single {
    display: flex;
    align-items: center;
    height: auto;
    min-height: 38px;
}

.assessoria-page .select2-selection--single .select2-selection__rendered {
    flex: 1;
    min-width: 0;
    padding-right: 26px;
    white-space: normal;
}

.assessoria-page .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
}

.auth-assessoria-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    width: 100%;
    padding: 3px 4px;
}

.auth-assessoria-name {
    flex: 1;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
}

.auth-environment-badge {
    display: inline-block;
    flex: 0 0 auto;
    max-width: 45%;
    padding: 3px 8px;
    border: 1px solid #d1dff4;
    border-radius: 6px;
    background: #eaf1fc;
    color: #284e85;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
}

.select2-results__option--highlighted[aria-selected] .auth-environment-badge {
    border-color: #fff;
    background: #fff;
    color: var(--primary-color);
}
