/* 登录页面样式 - 旗舰版适配 */
.login-section {
    min-height: calc(100vh - 72px); /* 减去导航栏高度 */
    padding: 120px 0 80px;
    background: var(--bg-body);
    position: relative;
    overflow: hidden;
}

/* 动态背景装饰 */
.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.login-left {
    color: white;
}

.login-info h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
}

.login-info > p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.6;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(10px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.15);
}

.feature-item .feature-icon {
    font-size: 2rem;
    background: rgba(14, 165, 233, 0.1);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex-shrink: 0;
    border: 1px solid rgba(14, 165, 233, 0.2);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.feature-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 登录框样式 */
.login-right {
    display: flex;
    justify-content: center;
}

.login-box {
    background: var(--bg-card);
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* 登录框顶部光效 */
.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

.login-box h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--text-main);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

/* 表单样式 */
.login-form {
    display: none;
    animation: fadeIn 0.3s ease;
}

.login-form.active {
    display: block;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input[type="tel"],
.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(15, 23, 42, 0.6);
    transition: all 0.2s ease;
    color: var(--text-main);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15), 0 0 15px rgba(14, 165, 233, 0.1);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    accent-color: var(--primary-color);
    background: rgba(15, 23, 42, 0.6);
}

.login-btn {
    width: 100%;
    padding: 16px;
    margin-top: 12px;
    background: var(--primary-color);
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
}

.login-tips {
    margin-top: 24px;
    padding: 16px;
    background: rgba(14, 165, 233, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.1);
}

.login-tips p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-tips p:last-child {
    margin-bottom: 0;
}

/* 底部链接 */
.login-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.miniprogram-link {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.miniprogram-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    text-shadow: 0 0 5px rgba(14, 165, 233, 0.3);
}

.miniprogram-link a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px var(--primary-color);
}

.miniprogram-link a:hover::after {
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .login-container {
        gap: 40px;
    }
    .login-info h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .login-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-left {
        display: none;
    }
    
    .login-box {
        padding: 32px 24px;
    }
}
