/* 现代化登录页面样式 - 静态设计版本 */

/* 重置和基础样式 */
* {
    box-sizing: border-box;
}

/* 页面背景 - 静态渐变 */
body {
    position: relative;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* 覆盖inner和body容器的默认样式 */
.inner {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    min-height: 100vh !important;
}

.body {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    height: auto !important;
    overflow: visible !important;
    min-height: 100vh !important;
}

/* 隐藏header和footer，让登录页面占据全屏 */
.clear {
    display: none !important;
}

/* 登录容器 - 全屏布局 */
.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* 左侧登录表单区域 */
.login-left {
    flex: 0.8;
    min-width: 500px;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    height: 100vh;
    /*overflow-y: auto;*/
}

.login-form-wrapper {
    width: 100%;
    max-width: 450px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 10px;
}

.login-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    background: linear-gradient(135deg, #2976c2, #1B4671 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    line-height: 1.2;
}

.login-header p {
    color: #7f8c8d;
    font-size: 16px;
    margin: 0;
}

/* 表单样式 */
.modern-login-form {
    width: 100%;
}

.input-group {
    margin-bottom: 25px;
    position: relative;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.modern-input {
    width: 100%;
    height: 56px;
    padding: 20px 50px 20px 20px;
    border: 2px solid #e8ecf0;
    border-radius: 12px;
    font-size: 16px;
    color: #2c3e50;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.modern-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modern-input::placeholder {
    color: #bdc3c7;
    font-size: 14px;
}

.input-label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: #ffffff;
    padding: 0 8px;
    font-size: 12px;
    color: #667eea;
    font-weight: 600;
    pointer-events: none;
}

.input-icon {
    position: absolute;
    right: 15px;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.user-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23667eea' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
}

.password-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23667eea' viewBox='0 0 24 24'%3E%3Cpath d='M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z'/%3E%3C/svg%3E");
}

/* 验证码样式 */
.captcha-group {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.captcha-input {
    flex: 1;
}

.captcha-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.authcode-img {
    width: 120px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid #e8ecf0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.authcode-img:hover {
    border-color: #667eea;
}

/* 复选框样式 */
.checkbox-group {
    margin-bottom: 30px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #7f8c8d;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e8ecf0;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #2976c2, #1B4671 100%);
    border-color: #667eea;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #2976c2, #1B4671 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

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

.btn-loading {
    display: none;
}

/* 链接样式 */
.login-links {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.forgot-password, .register-link {
    color: #4f65c4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password:hover, .register-link:hover {
    color: #5a6fd8;
    text-decoration: underline;
}

/* 社交登录 */
.social-login {
    margin-top: 30px;
}

.divider {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e8ecf0;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #7f8c8d;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid #e8ecf0;
    border-radius: 10px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.qq-btn:hover {
    background: #12b7f5;
    color: white;
    border-color: #12b7f5;
}

.wechat-btn:hover {
    background: #07c160;
    color: white;
    border-color: #07c160;
}

.social-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.qq-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312b7f5'%3E%3Cpath d='M12.001 2.002c-5.522 0-9.999 4.477-9.999 9.999 0 4.99 3.656 9.126 8.437 9.879v-6.988h-2.54v-2.891h2.54V9.798c0-2.508 1.493-3.891 3.776-3.891 1.094 0 2.24.195 2.24.195v2.459h-1.264c-1.24 0-1.628.771-1.628 1.562v1.878h2.773l-.443 2.891h-2.33v6.988C18.344 21.129 22 16.992 22 12.001c0-5.522-4.477-9.999-9.999-9.999z'/%3E%3C/svg%3E");
}

.wechat-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2307c160'%3E%3Cpath d='M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 4.882-1.653 7.07.045.056-.85.056-1.653-.045-2.578C16.561 3.844 12.691 2.188 8.691 2.188z'/%3E%3C/svg%3E");
}

/* 右侧欢迎区域 - 重新设计 */
.login-right {
    flex: 1.2;
    background: linear-gradient(135deg, #2976c2 0%, #1B4671 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    height: 100vh;
    /*overflow-y: auto;*/
}

/* 装饰性几何图案 */
.login-right::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.login-right::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    width: 100%;
    max-width: 500px;
}

.welcome-illustration {
    position: relative;
}

/* 欢迎图标 */
.welcome-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.welcome-icon svg {
    width: 100%;
    height: 100%;
}

.welcome-text {
    margin-bottom: 40px;
}

.welcome-text h3 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
}

.welcome-text p {
    font-size: 20px;
    margin: 0;
    opacity: 0.95;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* 功能特性列表 */
.feature-list {
    margin: 40px 0;
    text-align: left;
}

.feature-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-list li {
    padding: 15px 0;
    font-size: 16px;
    opacity: 0.95;
    font-weight: 400;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 15px;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

/* 统计数据 */
.welcome-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .login-left {
        min-width: auto;
        padding: 30px 20px;
        flex: none;
        height: auto;
        min-height: 50vh;
    }
    
    .login-header h2 {
        font-size: 28px;
    }
    
    .login-right {
        min-height: 50vh;
        flex: none;
        padding: 30px 20px;
        height: auto;
    }
    
    .welcome-text h3 {
        font-size: 28px;
        letter-spacing: 1px;
    }
    
    .welcome-text p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .feature-list ul {
        padding: 15px 20px;
        margin-top: 20px;
    }
    
    .feature-list li {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .welcome-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }
    
    .stat-item {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .captcha-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .login-container {
        margin: 5px;
        width: 98%;
    }
    
    .login-left {
        padding: 20px 15px;
    }
    
    .login-header h2 {
        font-size: 20px;
    }
    
    .login-form-wrapper {
        max-width: none;
    }
    
    .welcome-icon {
    width: 80px;
    height: 80px;
    }
    
    .welcome-text h3 {
    font-size: 24px;
    }
}
