/* ============================================================
   로그인 / 회원가입 — 스플릿 화면
   ============================================================ */
.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--bs-body-bg);
}

/* 왼쪽 브랜드 패널 */
.auth-brand {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 60%, var(--bs-secondary) 100%);
    color: var(--bs-white);
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-brand::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    bottom: -120px;
    background: rgba(var(--bs-white-rgb), 0.08);
    border-radius: 50%;
}

.auth-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
}

.auth-brand .headline {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.auth-brand .sub {
    font-size: var(--font-large);
    opacity: 0.9;
    line-height: 1.7;
    max-width: 380px;
}

.auth-brand .features {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
    position: relative;
    z-index: 1;
}

.auth-brand .features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: var(--font-large);
}

.auth-brand .features i {
    background: rgba(var(--bs-white-rgb), 0.2);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-normal);
}

.auth-brand .foot {
    font-size: var(--font-small);
    opacity: 0.7;
}

/* 오른쪽 폼 패널 */
.auth-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
}

.auth-card h2 {
    font-weight: 700;
    color: var(--bs-emphasis-color);
    margin-bottom: 5px;
}

.auth-card .lead-sub {
    color: var(--bs-secondary);
    font-size: var(--font-normal);
    margin-bottom: 30px;
}

.auth-card .form-label {
    font-size: var(--font-normal);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bs-secondary);
    font-size: var(--font-small);
    margin: 20px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--bs-border-color);
}

.auth-switch {
    text-align: center;
    margin-top: 25px;
    font-size: var(--font-normal);
    color: var(--bs-secondary);
}

/* 완료 단계 성공 아이콘 배지 (비밀번호 찾기) */
.auth-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(var(--bs-success-rgb), 0.12);
    color: var(--bs-success);
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

/* 비밀번호 강도 바 */
.pw-meter {
    height: 4px;
    border-radius: var(--bs-border-radius);
    background: var(--bs-border-color);
    margin-top: 10px;
    overflow: hidden;
}
.pw-meter span {
    display: block;
    height: 100%;
    width: 0;
    transition: width 0.25s ease, background 0.25s ease;
}

@media (max-width: 860px) {
    .auth-page { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
}
