/* 登录注册页面样式 */

/* 主容器样式 */
.login-section {
    min-height: 100vh;
    padding: 100px 0 50px;
    background-color: #0A0A0A;
    display: flex;
    align-items: center;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: #111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    max-width: 1100px;
    margin: 0 auto;
}

/* 表单容器样式 */
.login-forms-wrapper {
    padding: 40px;
    position: relative;
}

/* 表单切换标签 */
.form-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #222;
}

.form-tab {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    color: #999;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.form-tab.active {
    color: #FFD100;
}

.form-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #FFD100;
    border-radius: 3px 3px 0 0;
}

/* 表单容器 */
.form-container {
    display: none;
}

.form-container.active {
    display: block;
}

/* 表单通用样式 */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid #333;
    background-color: #1A1A1A;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #FFD100;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 209, 0, 0.2);
}

.input-tips {
    margin-top: 6px;
    color: #999;
    font-size: 13px;
}

/* 密码输入框容器 */
.password-input-container {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s;
    z-index: 1;
}

.toggle-password:hover {
    color: #FFD100;
}

.eye-icon {
    font-style: normal;
}

/* 验证码 */
.verification-input-container {
    display: flex;
    gap: 10px;
}

.verification-input-container input {
    flex: 1;
}

.send-code-btn {
    padding: 0 15px;
    background-color: #1A1A1A;
    border: 1px solid #333;
    border-radius: 6px;
    color: #FFD100;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.send-code-btn:hover {
    background-color: #222;
}

.send-code-btn.disabled {
    color: #999;
    cursor: not-allowed;
}

/* 记住我选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #ccc;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 6px;
    accent-color: #FFD100;
    width: 16px;
    height: 16px;
}

.checkbox-label span {
    font-size: 14px;
}

.forgot-password {
    color: #FFD100;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.forgot-password:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 协议同意 */
.agreement-container {
    margin: 20px 0;
}

.agreement-container .checkbox-label span a {
    color: #FFD100;
    text-decoration: none;
}

.agreement-container .checkbox-label span a:hover {
    text-decoration: underline;
}

/* 按钮样式 */
.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: #FFD100;
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 209, 0, 0.2);
}

/* 分隔线 */
.divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

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

.divider span {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    background-color: #111;
    color: #999;
    font-size: 14px;
}

/* 社交登录按钮 */
.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid #333;
    background-color: #1A1A1A;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.social-btn img {
    width: 20px;
    height: 20px;
}

.social-btn.wechat:hover {
    background-color: #1AAD19;
    border-color: #1AAD19;
}

.social-btn.qq:hover {
    background-color: #12B7F5;
    border-color: #12B7F5;
}

/* 右侧特性介绍 */
.login-features {
    background-color: #0A0A0A;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.login-feature-header {
    margin-bottom: 40px;
    text-align: center;
}

.login-feature-header h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
}

.login-feature-header p {
    color: #999;
    font-size: 16px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    font-size: 24px;
    background-color: rgba(255, 209, 0, 0.1);
    color: #FFD100;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-content h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-content p {
    color: #999;
    font-size: 14px;
}

/* 客户推荐 */
.testimonial {
    background-color: #1A1A1A;
    border-radius: 10px;
    padding: 20px;
    margin-top: auto;
}

.testimonial-content {
    margin-bottom: 15px;
}

.testimonial-content p {
    color: #ccc;
    font-style: italic;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
    padding: 0 15px;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    color: #FFD100;
    font-size: 24px;
    position: absolute;
}

.testimonial-content p::before {
    left: 0;
    top: 0;
}

.testimonial-content p::after {
    right: 0;
    bottom: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info .author-name {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

.testimonial-info .author-company {
    color: #999;
    font-size: 12px;
}

/* 响应式布局 */
@media (max-width: 992px) {
    .login-container {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .login-features {
        display: none;
    }
}

@media (max-width: 576px) {
    .login-section {
        padding: 80px 0 30px;
    }
    
    .login-forms-wrapper {
        padding: 30px 20px;
    }
    
    .social-login {
        flex-direction: column;
    }
} 