 /* ================ 登录页面样式 ================ */
.login-container {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}

/* 左侧背景区域 */
.login-background {
    flex: 2;
    background: url('../img/background.png') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.brand-content {
    text-align: center;
    color: white;
    max-width: 600px;
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
    line-height: 1.6;
}

.brand-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* 右侧登录区域 */
.login-panel {
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    min-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo {
    height: 60px;
    margin-bottom: 1.5rem;
}

.platform-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.platform-subtitle {
    color: #7f8c8d;
    font-size: 0.95rem;
    margin-bottom: 0;
    font-weight: 400;
}

.login-form-container {
    max-width: 350px;
    margin: 0 auto;
    width: 100%;
}

/* 表单样式优化 */
.login-form-container .form-label {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.login-form-container .form-control {
    height: 48px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.login-form-container .form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.15);
    background: white;
}

/* 验证码按钮样式 */
#captcha-btn {
    height: 48px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    background: #fafbfc;
    color: #495057;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

#captcha-btn:hover {
    border-color: #4a90e2;
    background: #f8f9ff;
    color: #4a90e2;
}

#captcha-status {
    min-width: 80px;
    font-weight: 500;
}

/* 登录按钮样式 */
.login-btn {
    height: 52px;
    background: linear-gradient(135deg, #4a90e2, #2d6cbf);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    background: linear-gradient(135deg, #2d6cbf, #1e4a8c);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

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

/* 页脚样式 */
.login-footer {
    text-align: center;
    margin-top: 2rem;
}

.forgot-password {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #4a90e2;
    text-decoration: underline;
}

/* 提示信息样式 */
.alert-container {
    margin-top: 1.5rem;
}

.login-form-container .alert {
    border-radius: 8px;
    border: none;
    font-weight: 500;
}

.login-form-container .alert-danger {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
}

.login-form-container .alert-success {
    background: linear-gradient(135deg, #51cf66, #40c057);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-background {
        flex: none;
        height: 40vh;
        min-height: 300px;
    }
    
    .brand-title {
        font-size: 2.5rem;
    }
    
    .brand-subtitle {
        font-size: 1.2rem;
    }
    
    .brand-features {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .login-panel {
        flex: none;
        padding: 2rem 1.5rem;
        min-height: 60vh;
    }
    
    .platform-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-panel {
        padding: 1.5rem 1rem;
    }
    
    .login-form-container {
        max-width: 100%;
    }
    
    .brand-title {
        font-size: 2rem;
    }
    
    .brand-subtitle {
        font-size: 1rem;
    }
}