@charset "UTF-8";

/* =====================================================
   로그인 / 아이디찾기 / 비밀번호찾기 공통 레이아웃
   ===================================================== */

.loginSection {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 16px 60px;
    background: #f4f6f8;
    min-height: calc(100vh - 200px);
}

.authCard {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 48px 44px 40px;
    width: 100%;
    max-width: 420px;
}

/* ── 브랜드 헤더 ── */
.authBrand {
    text-align: center;
    margin-bottom: 32px;
}

.brandLogoImg {
    height: 44px;
    margin-bottom: 12px;
}

.authBrand img {
    height: 40px;
    margin-bottom: 10px;
}

.authBrand h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.authBrand p {
    font-size: 13px;
    color: #9ca3af;
    margin: 6px 0 0;
}

/* ── 입력 그룹 ── */
.authFields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.authInput {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    color: #1a1a1a;
    background: #fafafa;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.authInput:focus {
    border-color: #20c997;
    background: #fff;
}

.authInput::placeholder {
    color: #b0b8c1;
    font-size: 14px;
}

/* ── 메인 버튼 ── */
.authBtn {
    width: 100%;
    height: 50px;
    background: #20c997;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 12px;
}

.authBtn:hover {
    background: #17a589;
}

/* ── 구분선 ── */
.authDivider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0;
    color: #d1d5db;
    font-size: 12px;
}

.authDivider::before,
.authDivider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* ── 카카오 버튼 ── */
.kakaoBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    background: #fee500;
    color: #191919;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    margin-bottom: 24px;
}

.kakaoBtn:hover {
    background: #f0d800;
    color: #191919;
}

.kakaoBtn img {
    width: 22px;
    height: 22px;
}

/* ── 하단 링크 ── */
.authLinks {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.authLinks a {
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    padding: 4px 12px;
    transition: color 0.2s;
    position: relative;
}

.authLinks a:hover {
    color: #20c997;
}

.authLinks a + a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #d1d5db;
}

/* ── 결과 메시지 박스 ── */
.authResultBox {
    display: none;
    background: #f0fdf4;
    border: 1.5px solid #6ee7b7;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #065f46;
}

.authResultBox.error {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #991b1b;
}
