/**
 * 实施过程管理系统v1.0
 * 登录页面样式
 * 版本: v5.0.0
 * 创建时间: 2026-01-17 10:00
 * 最后更新: 2026-01-21
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    display: flex;
    width: 900px;
    max-width: 95%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.left-section {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.left-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.left-section .main-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.left-section .sub-title {
    font-size: 20px;
    font-weight: 600;
    opacity: 0.95;
    margin-bottom: 30px;
}

.left-section p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 30px;
}

.features {
    list-style: none;
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.features li::before {
    content: "✓";
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-weight: bold;
}

.right-section {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-section h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.right-section .subtitle {
    color: #999;
    margin-bottom: 40px;
    font-size: 14px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

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

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.password-toggle:hover {
    opacity: 0.8;
}

.password-toggle .eye-icon {
    width: 20px;
    height: 20px;
    color: #666;
}

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

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #667eea;
}

.remember-me label {
    color: #666;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.page-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.page-footer p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.page-footer a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
}

.page-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
    }
    .left-section {
        padding: 40px 30px;
    }
    .left-section h1 {
        font-size: 24px;
    }
    .right-section {
        padding: 40px 30px;
    }
}
