

/* 固定页面尺寸 */
html, body {
    width: 800px !important;
    height: 500px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}

/* 强制iframe高度 */
iframe {
    height: 500px !important;
    min-height: 500px !important;
    width: 100% !important;
    border: none !important;
    display: block !important;
}

.login-modal-container {
    display: flex;
    width: 800px;
    height: 500px;
    border-radius: 12px;
    background-color: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 0;
    padding: 0;
    position: relative;
}

/* 左侧轮播区域 */
.login-modal-left {
    flex: 1;
    background: linear-gradient(135deg, #FF7016 0%, #FF8A3D 100%);
    position: relative;
    overflow: hidden;
    max-width: 50%;
}

.login-modal-carousel {
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 轮播插件容器 */
.carousel-slides {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    height: 100%;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.slide-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 20px 0;
}

.slide-nav {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}

.nav-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.3);
}

.slide-illustration {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-people {
    position: relative;
    width: 300px;
    height: 200px;
}

.person {
    position: absolute;
    width: 40px;
    height: 60px;
}

.person-1 {
    top: 20px;
    left: 50px;
    z-index: 3;
}

.person-2 {
    top: 60px;
    left: 20px;
    z-index: 2;
}

.person-3 {
    top: 60px;
    right: 20px;
    z-index: 2;
}

.person-body {
    width: 100%;
    height: 40px;
    background: #4CAF50;
    border-radius: 20px 20px 8px 8px;
    position: relative;
}

.person-2 .person-body {
    background: #2196F3;
}

.person-3 .person-body {
    background: #FFC107;
}

.person-head {
    width: 24px;
    height: 24px;
    background: #FFE0B2;
    border-radius: 50%;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.person-book {
    width: 20px;
    height: 15px;
    background: #1976D2;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    right: -10px;
}

.person-laptop {
    width: 30px;
    height: 20px;
    background: #333;
    border-radius: 4px;
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.chart-board {
    position: absolute;
    top: 10px;
    right: 60px;
    width: 80px;
    height: 60px;
    background: #FFEB3B;
    border-radius: 8px;
    z-index: 1;
}

.chart-line {
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: #333;
}

.chart-points {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    height: 30px;
    background: linear-gradient(45deg, #4CAF50 0%, #8BC34A 100%);
    border-radius: 2px;
}

.speech-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
}

.bubble {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
}

.bubble-1 {
    top: 30px;
    right: 80px;
}

.bubble-2 {
    top: 50px;
    right: 100px;
}

.lightbulb {
    position: absolute;
    top: 40px;
    left: 80px;
    width: 16px;
    height: 16px;
    background: #FFEB3B;
    border-radius: 50%;
}

.plant {
    position: absolute;
    bottom: 0;
    left: 20px;
    width: 30px;
    height: 40px;
    background: #4CAF50;
    border-radius: 15px 15px 0 0;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active,
.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* 关闭按钮样式 */
.login-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(0,0,0,0.1);
    border: none;
    border-radius: 50%;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.login-modal-close:hover {
    background: rgba(0,0,0,0.2);
    color: #333;
}

/* 右侧登录表单区域 */
.login-modal-right {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.login-form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.login-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.login-tab {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.login-tab.active {
    color: #222;
    border-bottom-color: #FF7016;
    font-weight: 600;
}

.login-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.login-form-content {
    display: none;
    flex-direction: column;
    gap: 20px;
}

.login-form-content.active {
    display: flex;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

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

.input-group {
    display: flex;
    gap: 8px;
}

.input-group .form-input {
    flex: 1;
}

.btn-sms-code {
    background: #FF7016;
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s;
}

.btn-sms-code:hover {
    background: #e67e00;
}

.btn-sms-code.disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-login {
    width: 100%;
    background: #FF7016;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px 0;
    transition: background 0.3s;
}

.btn-login:hover {
    background: #e67e00;
}

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

.agreement-section {
    margin-bottom: 20px;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

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

.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.agreement-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #FF7016;
    border-color: #FF7016;
}

.agreement-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 10px;
}

.agreement-link {
    color: #FF7016;
    text-decoration: none;
}

.agreement-link:hover {
    text-decoration: underline;
}

.wechat-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}

.wechat-login:hover {
    color: #FF7016;
}

.wechat-icon {
    font-size: 18px;
}

.modal-login{
    overflow: visible;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-modal-container {
        width: 90%;
        height: auto;
        flex-direction: column;
    }
    
    .login-modal-left {
        height: 200px;
    }
    
    .carousel-slide {
        padding: 20px;
    }
    
    .slide-title {
        font-size: 20px;
    }
    
    .login-modal-right {
        padding: 20px;
    }
}
