/* =============================================================
   ManyPerson — Login 페이지 전용 CSS
   소셜 로그인, 이메일 패스코드 인증
   ============================================================= */

/* 로그인 전용 body */
body.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1rem;
}

/* ===== 로그인 컨테이너 ===== */
.login-container {
    width: 100%;
    max-width: 400px;
}

/* ===== 로고 영역 ===== */
.login-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem;
}

.login-logo-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 127, 255, 0.2);
    margin-bottom: 1rem;
}
.login-logo-icon .material-symbols-outlined { font-size: 1.75rem; }

.login-logo-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.login-logo-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
    text-align: center;
}

/* 로고 이미지 (SVG) */
.login-logo-img {
    height: 3.5rem;
    width: auto;
    margin-bottom: 1rem;
}

/* ===== 로그인 카드 ===== */
.login-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

/* ===== 소셜 로그인 버튼 ===== */
.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}
.btn-social:active { transform: scale(0.98); }

/* 카카오 */
.btn-kakao {
    background: #FEE500;
    color: #191919;
}
.btn-kakao:hover { background: #F5DC00; }
.btn-kakao svg { width: 1.25rem; height: 1.25rem; }

/* 네이버 */
.btn-naver {
    background: #03C75A;
    color: #fff;
}
.btn-naver:hover { background: #02B550; }
.btn-naver svg { width: 1.25rem; height: 1.25rem; }

/* 구글 */
.btn-google {
    background: #fff;
    color: var(--charcoal);
    border: 1px solid var(--slate-200);
}
.btn-google:hover { background: var(--slate-50); }
.btn-google svg { width: 1.25rem; height: 1.25rem; }

/* ===== 구분선 ===== */
.login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--slate-400);
    font-size: 0.75rem;
    font-weight: 500;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--slate-200);
}

/* ===== 이메일 폼 ===== */
.email-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-group {
    position: relative;
}

.input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--ivory);
    color: var(--charcoal);
    transition: all 0.2s;
}
.input-field:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 127, 255, 0.15);
    background: #fff;
}
.input-field::placeholder { color: var(--slate-300); }

.btn-email-submit {
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0, 127, 255, 0.2);
    transition: all 0.2s;
}
.btn-email-submit:hover { background: rgba(0, 127, 255, 0.9); }
.btn-email-submit:active { transform: scale(0.98); }

/* ===== 인증코드 입력 ===== */
.passcode-section {
    margin-top: 1rem;
}

.passcode-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--emerald-600);
    margin-bottom: 0.75rem;
}
.passcode-label .material-symbols-outlined { font-size: 1rem; }

.passcode-inputs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.passcode-digit {
    width: 100%;
    height: 3.25rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    background: var(--ivory);
    color: var(--charcoal);
    transition: all 0.2s;
    font-family: inherit;
}
.passcode-digit:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 127, 255, 0.15);
    background: #fff;
}

.passcode-help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--slate-400);
}

.passcode-resend {
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
}
.passcode-resend:hover { text-decoration: underline; }

/* ===== 하단 이용약관 ===== */
.login-terms {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.6875rem;
    color: var(--slate-400);
    line-height: 1.75;
}
.login-terms a {
    color: var(--primary);
    font-weight: 600;
}
.login-terms a:hover { text-decoration: underline; }

/* ===== 홈으로 돌아가기 ===== */
.login-home-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--slate-400);
    transition: color 0.2s;
}
.login-home-link:hover { color: var(--primary); }
.login-home-link .material-symbols-outlined { font-size: 1.125rem; }
