/* 로그인 페이지 스타일 */
body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e1e5e9;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

/* 비밀번호 토글 버튼 스타일 */
.password-toggle {
    position: absolute;
    right: 10px;
    top: 67%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
    z-index: 10;
}

.password-toggle:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.password-toggle:focus {
    outline: none;
    background-color: rgba(102, 126, 234, 0.1);
}

/* 비밀번호 필드에 패딩 추가하여 버튼과 겹치지 않도록 */
.form-group input[type="password"] {
    padding-right: 40px;
}

.login-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #e1e5e9;
}

.auth-footer p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.demo-credentials {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    font-size: 0.8rem;
    color: #666;
}

.demo-credentials h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.demo-credentials p {
    margin-bottom: 0.25rem;
}

/* 로그인 페이지 반응형 */
@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .password-toggle {
        right: 8px;
        font-size: 1rem;
    }
    
    .form-group input[type="password"] {
        padding-right: 35px;
    }
} 