/* ============================================================
   로그인 / 회원가입 — 스플릿 화면
   ============================================================ */
.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;
}

/* 로그인 상태 유지 체크박스 — bootstrap form-check 전역 override 회피용 전용 클래스 */
.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: var(--font-normal);
    color: var(--bs-emphasis-color);
    user-select: none;
}
.auth-check input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: auto;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0;
    flex: 0 0 18px;
    accent-color: var(--bs-primary);
    cursor: pointer;
}

/* 회원가입(업체 가입) 버튼 — 로그인 버튼 아래 아웃라인 */
.btn-auth-signup {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 11px 12px;
    text-align: center;
    border: 1px solid var(--bs-primary);
    border-radius: var(--bs-border-radius);
    color: var(--bs-primary);
    font-weight: 600;
    text-decoration: none;
    transition: 0.15s ease;
}
.btn-auth-signup:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/* 소셜 가입 버튼 (UI) */
.auth-social { display: grid; gap: 10px; }
.auth-social .sbtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 12px;
    border-radius: var(--bs-border-radius);
    border: 1px solid var(--bs-border-color);
    background: var(--bs-white);
    color: #1f2937;
    font-weight: 600;
    font-size: var(--font-normal);
    cursor: pointer;
    transition: 0.15s ease;
}
.auth-social .sbtn:hover { filter: brightness(0.97); }
.auth-social .sbtn i { font-size: 18px; }
.sbtn-naver { background: #03c75a; color: #fff; border-color: #03c75a; }
.sbtn-kakao { background: #fee500; color: #191600; border-color: #fee500; }
.sbtn-google i { color: #ea4335; }

@media (max-width: 860px) {
    .auth-page { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
}
