/* 로그인 페이지 스타일 - Windows 스타일 */

body {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--spacing-lg);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

.login-box {
    background: #ffffff;
    border: 1px solid #d1d1d1;
    border-radius: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-2xl);
}

/* 로그인 헤더 */
.login-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.logo {
    width: 100%;
    height: 120px;
    margin: 0 auto var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #000000;
    margin-bottom: var(--spacing-sm);
}

.site-subtitle {
    font-size: 0.875rem;
    color: #666666;
}

/* 로그인 폼 */
.login-form {
    margin-bottom: var(--spacing-lg);
}

.login-form .form-group {
    margin-bottom: var(--spacing-lg);
}

.login-form input {
    height: 40px;
    font-size: 0.875rem;
    border: 1px solid #d1d1d1;
    background: #ffffff;
}

.login-form input:focus {
    border-color: #0078d4;
    box-shadow: inset 0 0 0 1px #0078d4;
    outline: none;
}

/* 에러 메시지 */
.login-form .error-message {
    background-color: var(--color-danger-bg);
    color: var(--color-danger);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    font-size: 0.875rem;
    text-align: center;
}

/* 로그인 버튼 */
.btn-login {
    width: 100%;
    height: 36px;
    font-size: 0.875rem;
    font-weight: 400;
    margin-top: var(--spacing-md);
    background: #0078d4;
    border: 1px solid #0078d4;
    color: white;
}

.btn-login:hover:not(:disabled) {
    background: #106ebe;
    border-color: #106ebe;
}

/* 로딩 상태 */
.btn-loading {
    position: relative;
}

.btn-loading .spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* 폼 옵션 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    margin-right: var(--spacing-sm);
}

/* 하단 링크 */
.login-footer {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid #e1e1e1;
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

/* 반응형 디자인 */
@media (max-width: 480px) {
    .login-box {
        padding: var(--spacing-xl);
    }
    
    .site-title {
        font-size: 1.5rem;
    }
}

/* 애니메이션 */
/* Windows 스타일 추가 요소 */
.login-box::before {
    content: '';
    display: block;
    height: 32px;
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    margin: -32px -32px 24px -32px;
    border-bottom: 1px solid #d1d1d1;
    padding: 8px 12px;
}