/* ============================================
   Login Page — login.css
   ============================================ */

.login-container {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    padding: 48px 24px;
    margin: 0 auto;
    position: relative;
}

.form-section {
    margin-bottom: 24px;
}

/* Override form-group inputs to support email and password types */
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
    border: 1px solid hsl(var(--input));
    border-radius: var(--radius);
    outline: none;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    border-color: hsl(var(--ring));
    box-shadow: 0 0 0 2px hsl(var(--ring) / 0.2);
}

.form-group input[type="email"]::placeholder,
.form-group input[type="password"]::placeholder {
    color: hsl(var(--muted-foreground));
}

/* 구분선 */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    gap: 12px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: hsl(var(--border));
}

.divider span {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    white-space: nowrap;
}

/* Google 로그인 버튼 */
.google-login-btn {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    color: hsl(var(--foreground));
    background: hsl(var(--background));
    border: 1px solid hsl(var(--input));
    border-radius: var(--radius);
    cursor: not-allowed;
    opacity: 0.6;
    transition: background 0.2s, border-color 0.2s;
}

.google-login-btn svg {
    flex-shrink: 0;
}

/* Forgot links */
.forgot-links {
    text-align: center;
    font-size: 0.813rem;
    margin-bottom: 16px;
}

.forgot-links a {
    color: hsl(var(--muted-foreground));
    text-decoration: none;
}

.forgot-links a:hover {
    text-decoration: underline;
    color: hsl(var(--foreground));
}

.forgot-links .link-divider {
    color: hsl(var(--border));
    margin: 0 8px;
}

/* Register link */
.register-link {
    text-align: center;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.register-link a {
    color: hsl(var(--primary));
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .login-container {
        padding: 24px 16px;
    }
}
