
/* 主内容区 */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 左侧品牌展示区 */
.brand-section {
    flex: 1;
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-content {
    max-width: 400px;
}

.brand-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.brand-section p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.features {
    list-style: none;
    margin-top: 30px;
}

.features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.features i {
    margin-right: 12px;
    color: #a8d0ff;
    font-size: 18px;
}

/* 右侧表单区 */
.form-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 标签切换 */
.form-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    font-weight: 500;
    color: #777;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.tab:hover {
    color: #1e5799;
}

.tab.active {
    color: #1e5799;
    border-bottom: 3px solid #1e5799;
}

/* 表单样式 */
.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-header {
    margin-bottom: 25px;
}

.form-header h2 {
    font-size: 24px;
    color: #1e5799;
    margin-bottom: 8px;
}

.form-header p {
    color: #666;
    font-size: 14px;
}

/* 表单组样式 */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #444;
    font-size: 14px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #1e5799;
    box-shadow: 0 0 0 2px rgba(30, 87, 153, 0.2);
}

/* 验证码输入 */
.verification-code {
    display: flex;
    gap: 10px;
}

.verification-code input {
    flex: 1;
}

.btn-send-code {
    background-color: #f0f5ff;
    color: #1e5799;
    border: 1px solid #c2d6ff;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-send-code:hover {
    background-color: #e6f0ff;
}

.btn-send-code.disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* 密码强度指示器 */
.password-strength {
    margin-top: 5px;
    height: 5px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.strength-bar {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: all 0.3s;
}

.strength-text {
    font-size: 12px;
    margin-top: 3px;
    color: #777;
}

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 6px;
}

.forgot-password {
    color: #1e5799;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* 协议同意 */
.agreement {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 14px;
}

.agreement input {
    margin-right: 8px;
    margin-top: 3px;
}

.agreement a {
    color: #1e5799;
    text-decoration: none;
}

.agreement a:hover {
    text-decoration: underline;
}

/* 提交按钮 */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #16457a 0%, #1a69b3 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 87, 153, 0.2);
}

.btn-submit:active {
    transform: translateY(0);
}

/* 分隔线 */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #eee;
}

.divider-text {
    padding: 0 15px;
    color: #777;
    font-size: 14px;
}

/* 第三方登录 */
.social-login {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin: 0 5px;
    font-size: 14px;
}

.social-btn i {
    margin-right: 6px;
    font-size: 16px;
}

.social-btn.wechat {
    color: #09bb07;
}

.social-btn.wechat:hover {
    border-color: #09bb07;
    background-color: rgba(9, 187, 7, 0.05);
}

.social-btn.qq {
    color: #12b7f5;
}

.social-btn.qq:hover {
    border-color: #12b7f5;
    background-color: rgba(18, 183, 245, 0.05);
}

.social-btn.weibo {
    color: #e6162d;
}

.social-btn.weibo:hover {
    border-color: #e6162d;
    background-color: rgba(230, 22, 45, 0.05);
}