.auth-page {
    display: grid;
    width: 100%;
    height: 100vh;
    min-height: 100%;
    place-items: center;
    padding: 1.5rem;
    background: var(--color-background);
}

.auth-card {
    display: grid;
    max-width: 1174px;
    height: auto;
    grid-template-columns: 1.5fr 1fr;
    overflow: hidden;
    border-radius: 16px;
    background: var(--color-surface);
    box-shadow: 0 20px 20px var(--color-shadow);
}

.auth-hero-panel {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: var(--color-auth-hero);
}

.auth-hero-panel img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-hero-corner {
    position: absolute;
    top: 17px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--color-surface);
}

 
.auth-form-panel {
    display: flex;
    align-items: flex-start;
    padding: clamp(2rem, 7vh, 5rem) clamp(2rem, 5vw, 4.5rem);
    background: var(--color-surface);
}

.auth-form-container {
    width: 100%;
}

.auth-form-container .form-label {
    font-size: 14px;
    line-height: 100%;
}

.auth-logo {
    display: block;
    width: min(100%, 240px);
    height: auto;
    margin: 0 auto clamp(1rem, 3vh, 2rem);
    object-fit: contain;
}

.auth-field {
    margin-bottom: 30px;
}

.auth-form-options {
    margin: 17px 0 14px;
}
.auth-form-options .btn{
    border-radius: var(--border-radius-button);
    font-weight: 400;
}

.form-check {
    display: flex;
    align-items: center;
    min-height: 0;
    padding-left: 0;
}

.form-check .form-check-input {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0 10px 0 0;
    border-color: var(--color-border);
    border-radius: 6px;
}

.form-check-input:checked {
    background-color: var(--color-surface);
    border-color: var(--color-accent);
}

.form-check-label {
    color: var(--preto);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.form-check-label a,
.form-check-label a:hover,
.form-check-label a:focus {
    color: inherit;
    text-decoration: none;
}

.btn-primary {
    --bs-btn-bg: var(--preto);
    --bs-btn-border-color: var(--preto);
    --bs-btn-hover-bg: var(--preto);
    --bs-btn-hover-border-color: var(--preto);
    width: 82px;
    min-height: 36px;
    padding: 0.5rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 500;
    line-height: 100%;
    white-space: nowrap;
}

.btn-login {
    border-radius: var(--border-radius-button);
    font-weight: 400;
}

.auth-reset-button {
    width: auto;
    min-width: 170px;
}

.auth-form-error {
    margin: -10px 0 16px;
    color: var(--color-accent);
    font-size: 12px;
}

.auth-form-success {
    margin: 0 0 16px;
    color: #16845d;
    font-size: 12px;
}

.auth-forgot {
    display: block;
    margin-top: 19px;
    color: var(--cinza-menus);
    font-size: 12px;
    font-weight: 400;
    line-height: 100%;
    text-decoration: none;
}

.auth-forgot:hover {
    color: var(--preto);
}

.auth-forgot-password .auth-logo {
    margin-bottom: 16px;
}

.auth-forgot-password .auth-title {
    margin: 0 0 12px;
    line-height: 1.2;
}

.auth-forgot-password .auth-description {
    margin: 0 0 16px;
}

.auth-forgot-password .auth-form-success {
    margin-bottom: 12px;
    line-height: 1.35;
}

.auth-forgot-password .auth-field {
    margin-bottom: 20px;
}

.auth-forgot-password .auth-forgot {
    margin-top: 14px;
}

.auth-reset-password .auth-form-panel {
    padding: 30px 40px 20px;
}

.auth-reset-password .auth-logo {
    margin-bottom: 10px;
}

.auth-reset-password .auth-title {
    margin: 0 0 10px;
    font-size: 34px;
    line-height: 1.18;
}

.auth-reset-password .auth-description {
    margin: 0 0 14px;
    line-height: 1.4;
}

.auth-reset-password .auth-field {
    margin-bottom: 14px;
}

.auth-reset-password .auth-form-error {
    margin: -4px 0 10px;
}

@media (max-width: 767.98px) {
    .auth-reset-password .auth-form-panel {
        padding: 28px 26px 30px;
    }
}

.auth-validation {
    box-sizing: border-box;
    min-height: 34px;
    margin-bottom: 16px;
    padding: 0.5rem;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 10px;
}

.auth-validation-error {
    border-color: var(--color-validation-border);
    background: var(--color-validation-background);
    color: var(--color-validation-text);
}

.auth-validation-empty {
    visibility: hidden;
}

@media (max-width: 767.98px) {
    .auth-page {
        height: auto;
        min-height: 100vh;
        padding: 1rem;
    }

    .auth-card {
        display: block;
        width: min(100%, 380px);
        height: auto;
    }

    .auth-hero-panel {
        min-height: 220px;
    }

    .auth-form-panel {
        padding: 28px 26px 30px;
    }
}
