/* ============================================= login.css 로그인 및 회원가입 페이지 스타일 ============================================= */

.login-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    padding: 20px;
}

.login-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-card h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #111827;
}

.login-card p {
    color: #6b7280;
    margin-bottom: 30px;
}

.login-form .form-group {
    text-align: left;
    margin-bottom: 20px;
}

.login-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: 0.3s;
}

.login-form input:focus {
    border-color: #1e40af;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

.login-btn {
    width: 100%;
    padding: 15px;
    background: #1e40af;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.back-home {
    display: inline-block;
    margin-top: 20px;
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 700;
    color: #6b7280;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.active {
    background: white;
    color: #1e40af;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.auth-area {
    display: none;
    animation: fadeIn 0.4s ease;
}

.auth-area.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
