.text-success {
    color: #137752;
}
.text-danger {
    color: #E74B4D;
}

.auth {
    min-height: 100vh;
    background-color: #fff;
}

.auth__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.auth__bg-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: clamp(24px, 3vw, 36px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

.auth__bg-logo {
    display: block;
    width: 50px;
    height: 50px;
}

.auth__bg-bottom {
    margin-top: auto;
}

.auth__bg-labels {
    margin-bottom: 8px;
}

.auth__bg-title {
    margin-bottom: 24px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth__bg-text {
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
}

.auth__form-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(8px, 2vw, 24px) 0;
}

.auth__form-wrap {
    width: 100%;
    max-width: 350px;
    margin: auto;
}

.auth__logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.auth__logo-img {
    flex-shrink: 0;
    display: block;
    width: 30px;
    height: 30px;
}

.auth__logo-name {
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}

.auth__logo-description {
    font-size: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text2);
}

.auth__form-title-box {
    margin-bottom: 32px;
}

.auth__form-title {
    margin-bottom: 8px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
}

.auth__form-description {
    font-size: 14px;
    line-height: 1.4;
    color: var(--color-text2);
}

.auth__form-group {
    width: 100%;
    margin-bottom: 24px;
}

.auth__checkbox {
    margin-bottom: 24px;
}

.auth__form-action-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid #E1E1E1;
}

.auth__form-reset-link {
    font-size: 14px;
    line-height: 1.2;
    color: #4259E9;
}

.auth__form-reset-link:hover {
    text-decoration: underline;
}

.auth__form-submit-btn {
    flex-shrink: 0;
}

.auth__form-bottom {
    margin-top: 24px;
    text-align: center;
}

.auth__form-call-link {
    font-size: 14px;
    line-height: 1.2;
    text-decoration: underline;
    color: #4259E9;
}

.auth__form-call-link:hover {
    text-decoration: none;
}

/* tablet: 577px – 991.98px */
@media (min-width: 620px) and (max-width: 991.98px) {
    .auth__grid {
        grid-template-columns: 1fr;
        min-height: auto;
        max-width: 100%;
        gap: 0;
    }

    .auth__bg-col {
        min-height: 320px;
    }

    .auth__form-col {
        padding: 32px 24px;
    }

    .auth__form-wrap {
        max-width: 350px;
    }
}

/* mobile: <= 576px */
@media (max-width: 620px) {
    .auth__grid {
        grid-template-columns: 1fr;
        min-height: auto;
        max-width: 100%;
        padding: 16px;
        gap: 16px;
    }

    .auth__bg-col {
        min-height: 220px;
        padding: 20px;
        border-radius: 16px;
    }

    .auth__form-col {
        padding: 0;
    }

    .auth__form-wrap {
        max-width: 100%;
    }

    .auth__bg-title {
        margin-bottom: 16px;
    }

    .auth__form-action-box {
        flex-direction: column;
        align-items: stretch;
    }

    .auth__form-submit-btn {
        width: 100%;
    }

    .auth__form-reset-link {
        text-align: center;
    }
}