/* ===== 认证页（登录 / 注册）共享样式 =====
   参考 http://ks.test.laojc.cn/pc/login 的视觉语言：
   左侧蓝色渐变品牌区 + 右侧白色表单卡片。
   作用域统一为 .kq-auth，不影响其他页面。 */
#content-container.kq-auth-container {
    display: flex;
    min-height: calc(100vh - 170px);
    padding-top: 10px;
    padding-bottom: 10px;
}

.login-section.kq-auth {
    display: flex;
    width: 100%;
    max-width: 1020px;
    margin: auto;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ---------- 左侧品牌区 ---------- */
.kq-auth .kq-login-brand {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.kq-auth .kq-brand-content {
    position: relative;
    z-index: 2;
    max-width: 400px;
    color: #fff;
}
.kq-auth .kq-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
    font-size: 26px;
    font-weight: 800;
}
.kq-auth .kq-brand-logo i {
    font-size: 30px;
}
.kq-auth .kq-brand-title {
    margin: 0 0 16px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: #fff;
}
.kq-auth .kq-brand-desc {
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.9;
}
.kq-auth .kq-feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.kq-auth .kq-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    opacity: 0.95;
}
.kq-auth .kq-feature-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
}
.kq-auth .kq-brand-decoration {
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.kq-auth .kq-decoration-1 {
    top: -120px;
    right: -100px;
    width: 360px;
    height: 360px;
}
.kq-auth .kq-decoration-2 {
    right: 90px;
    bottom: 40px;
    width: 240px;
    height: 240px;
}
.kq-auth .kq-decoration-3 {
    bottom: -60px;
    left: 60px;
    width: 150px;
    height: 150px;
}

/* ---------- 右侧表单区 ---------- */
.kq-auth .kq-login-panel {
    flex-shrink: 0;
    width: 480px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 44px;
}
.kq-auth .kq-login-header {
    margin-bottom: 18px;
    text-align: center;
}
.kq-auth .kq-login-header h2 {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #1f2937;
}
.kq-auth .kq-login-header p {
    margin: 0;
    font-size: 13px;
    color: #999;
}

/* 登录 / 注册 tab */
.kq-auth .kq-login-tab {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
    border-bottom: 1px solid #f0f0f0;
}
.kq-auth .kq-login-tab > a {
    position: relative;
    display: block;
    padding: 10px 30px;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.25s;
}
.kq-auth .kq-login-tab > a:hover {
    color: #2563eb;
}
.kq-auth .kq-login-tab > a.active {
    font-weight: 700;
    color: #2563eb;
}
.kq-auth .kq-login-tab > a.active:after {
    content: "";
    position: absolute;
    right: 30px;
    bottom: -1px;
    left: 30px;
    height: 3px;
    border-radius: 2px 2px 0 0;
    background: #2563eb;
}

/* 表单主体 */
.kq-auth .login-main {
    padding: 0;
}
.kq-auth .form-group {
    margin-bottom: 18px;
}
.kq-auth .control-label {
    display: none;
}
.kq-auth .kq-input-wrap {
    position: relative;
}
.kq-auth .kq-input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 3;
    margin-top: -8px;
    font-size: 16px;
    color: #2563eb;
    pointer-events: none;
}
.kq-auth .form-control {
    height: 46px;
    padding: 10px 14px 10px 44px;
    font-size: 14px;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    box-shadow: none;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.kq-auth .form-control:hover {
    border-color: #c9d2e0;
}
.kq-auth .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}
.kq-auth .has-error .form-control,
.kq-auth .has-error .form-control:focus {
    border-color: #ff4d4f;
}
.kq-auth .has-error .form-control:focus {
    box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.08);
}
.kq-auth .has-error .kq-input-icon {
    color: #ff4d4f;
}
.kq-auth .has-success .form-control {
    border-color: #10b981;
}

/* 验证码（input-group + 发送按钮 / 图形验证码） */
.kq-auth .input-group .form-control {
    padding-left: 14px;
    border-radius: 10px 0 0 10px;
}
.kq-auth .input-group-btn {
    font-size: inherit;
}
.kq-auth .input-group-btn .btn-captcha {
    height: 46px;
    padding: 0 18px;
    border: none;
    border-radius: 0 10px 10px 0;
    background: #2563eb;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    transition: background 0.25s;
}
.kq-auth .input-group-btn .btn-captcha:hover,
.kq-auth .input-group-btn .btn-captcha:focus {
    background: #1d4ed8;
    color: #fff;
}
.kq-auth .input-group-btn img {
    height: 46px;
    width: auto;
    border: 1px solid #e6e8eb;
    border-left: none;
    border-radius: 0 10px 10px 0;
    background: #fff;
    cursor: pointer;
}

/* 保持登录 / 忘记密码 */
.kq-auth .kq-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.kq-auth .kq-form-options .checkbox {
    margin: 0;
}
.kq-auth .kq-form-options .checkbox label {
    padding-left: 22px;
    font-size: 13px;
    font-weight: 400;
    color: #666;
}
.kq-auth .kq-form-options input[type="checkbox"] {
    accent-color: #2563eb;
}
.kq-auth .kq-form-options .btn-forgot {
    font-weight: 500;
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s;
}
.kq-auth .kq-form-options .btn-forgot:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* 主按钮（登录 / 注册） */
.kq-auth .login-main .btn-primary {
    height: 48px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 4px;
    transition: transform 0.25s, box-shadow 0.25s;
}
.kq-auth .login-main .btn-primary:hover,
.kq-auth .login-main .btn-primary:focus,
.kq-auth .login-main .btn-primary:active {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
.kq-auth .login-main .btn-primary:active {
    transform: translateY(0);
}

/* 登录 <-> 注册 切换引导 */
.kq-auth .login-main .kq-auth-link {
    display: block;
    margin-top: 18px;
    padding: 12px;
    border: 1px dashed #d9dee6;
    border-radius: 10px;
    font-size: 13px;
    color: #666;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s;
}
.kq-auth .login-main .kq-auth-link:hover {
    background: rgba(37, 99, 235, 0.04);
    border-color: #2563eb;
    color: #2563eb;
}

/* ---------- 响应式 ---------- */
@media (max-width: 991px) {
    .kq-auth .kq-login-brand {
        display: none;
    }
    .kq-auth .kq-login-panel {
        width: 100%;
    }
    .login-section.kq-auth {
        max-width: 460px;
    }
}
@media (max-width: 480px) {
    .login-section.kq-auth {
        border-radius: 12px;
    }
    .kq-auth .kq-login-panel {
        padding: 32px 24px;
    }
    .kq-auth .kq-login-header h2 {
        font-size: 24px;
    }
}
