/* ─── auth.css: 로그인/회원가입 페이지 고유 스타일 ─────────── */

.auth-wrapper {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.auth-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: #262626;
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    font-size: 14px;
    color: #595959;
    margin-bottom: 28px;
    text-align: center;
}

.auth-form { display: flex; flex-direction: column; gap: 16px; }

.auth-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.auth-form .form-label { font-size: 13px; font-weight: 500; color: #595959; }
.auth-form .form-input {
    padding: 10px 14px; border: 1px solid #d9d9d9; border-radius: 8px;
    font-size: 14px; background: #fff; transition: all 0.2s;
}
.auth-form .form-input:focus { outline: none; border-color: #1890ff; box-shadow: 0 0 0 3px rgba(24,144,255,0.1); }

.auth-form .btn-primary {
    width: 100%; padding: 12px; font-size: 15px; font-weight: 600;
    border-radius: 8px; margin-top: 8px; text-align: center;
}

.auth-msg {
    padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 4px;
}
.auth-msg-error { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; }
.auth-msg-success { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }

.auth-footer {
    margin-top: 20px; text-align: center; font-size: 14px; color: #595959;
}
.auth-footer a { color: #1890ff; font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

/* Top bar for auth pages */
.auth-top-bar {
    background: #fff; border-bottom: 1px solid #e0e0e0;
    padding: 0 32px; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.auth-top-bar .logo { font-size: 20px; font-weight: 700; color: #262626; text-decoration: none; }
.auth-top-bar .nav-link { padding: 8px 16px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #595959; text-decoration: none; }
.auth-top-bar .nav-link:hover { background: #f5f5f5; color: #1890ff; }

/* Responsive */
@media (max-width: 480px) {
    .auth-card { padding: 28px 20px; }
    .auth-title { font-size: 20px; }
    .auth-top-bar { padding: 0 16px; }
}
