/* 智能批改辅助平台 - 登录页面样式 */

/* ==== 登录页面布局 ==== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

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

.login-logo {
    width: 64px;
    height: 64px;
    background: #667eea;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 2rem;
    margin: 0 auto 24px;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.login-subtitle {
    font-size: 0.875rem;
    color: #7f8c8d;
    margin-bottom: 32px;
}

.login-form {
    text-align: left;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.login-btn {
    width: 100%;
    padding: 12px 24px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.login-btn:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.login-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.login-error {
    color: #f44336;
    background: #ffebee;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-top: 16px;
    text-align: center;
}

.login-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    font-size: 0.75rem;
    color: #999;
    text-align: center;
}

/* ==== 响应式 ==== */
@media (max-width: 480px) {
    .login-card {
        padding: 24px;
        margin: 16px;
    }
    
    .login-logo {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
}