/* 인증 페이지 스타일 (로그인, 회원가입) */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    margin-top: 0;
}

.auth-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    animation: fadeInUp 0.5s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.auth-header h1 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.auth-form {
    margin-top: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.auth-form .form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    cursor: pointer;
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.error-message {
    background: #FEE2E2;
    color: #DC2626;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-left: 4px solid #DC2626;
}

.success-message {
    background: #D1FAE5;
    color: #059669;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-left: 4px solid #059669;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #E5E7EB;
}

.auth-footer p {
    margin: 0.5rem 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 네비게이션 사용자 메뉴 */
.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.user-name {
    color: var(--text-dark);
    font-weight: 500;
}

.btn-login,
.btn-register,
.btn-logout {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login {
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
}

.btn-login:hover {
    background: var(--text-dark);
    color: var(--white);
}

.btn-register {
    background: var(--primary-color);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.btn-register:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-logout {
    background: transparent;
    color: var(--text-light);
    border: none;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}

.btn-logout:hover {
    color: var(--accent-color);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-header h1 {
        font-size: 1.75rem;
    }
    
    .nav-user {
        flex-direction: column;
        gap: 0.5rem;
        margin-left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .btn-login,
    .btn-register {
        width: 100%;
        text-align: center;
    }
}

