/* ========================================
   逆生长会员管理系统 · 登录页样式
   设计基调：左侧深色品牌区 + 右侧白底登录卡
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Helvetica, 'Microsoft YaHei', sans-serif;
    background: #F5F7FA;
}

/* ---------- 整体容器：左右分栏 ---------- */
.login-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
}

/* ---------- 左侧品牌区 ---------- */
.login-brand {
    width: 48%;
    min-width: 480px;
    background: linear-gradient(168deg, #0A5A7A 0%, #0A8A8C 52%, #0AB5BA 100%);
    color: #fff;
    padding: 60px 56px 48px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.login-brand::before {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(38, 207, 211, 0.35), transparent 65%);
    pointer-events: none;
}

.login-brand::after {
    content: '';
    position: absolute;
    left: -80px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(156, 226, 229, 0.2), transparent 65%);
    pointer-events: none;
}

/* 品牌头部 */
.lb-head {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.lb-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lb-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.lb-title {
    display: flex;
    flex-direction: column;
}

.lb-title b {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.lb-title span {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
}

/* Slogan */
.lb-slogan {
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.lb-slogan h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 1px;
}

.lb-slogan p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 16px;
    line-height: 1.8;
    max-width: 420px;
}

/* 特性列表 */
.lb-list {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.lb-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.lbi {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.lb-item > div {
    flex: 1;
    min-width: 0;
}

.lb-item b {
    font-size: 16px;
    font-weight: 700;
    display: block;
    line-height: 1.4;
}

.lb-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.88);
    margin-top: 6px;
    line-height: 1.6;
}

/* 底部信息 */
.lb-foot {
    margin-top: auto;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

/* ---------- 右侧登录表单区 ---------- */
.login-form-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #F5F7FA;
}

.login-form {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 20px 60px -24px rgba(0, 0, 0, 0.12);
    border: 1px solid #E5E7EB;
}

.login-form h3 {
    font-size: 26px;
    font-weight: 800;
    color: #1A2332;
    letter-spacing: 0.5px;
}

.lf-sub {
    font-size: 14px;
    color: #6B7280;
    margin-top: 8px;
    margin-bottom: 28px;
    line-height: 1.6;
}

/* 输入框 */
.fld {
    position: relative;
    margin-bottom: 18px;
}

.fico {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 2;
    width: 28px;
    text-align: center;
}

.fi {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 50px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    color: #2A3142;
    outline: none;
    transition: all 0.2s ease;
    line-height: 46px;
}

.fi:focus {
    border-color: #0AB5BA;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(10, 181, 186, 0.12);
}

.fi::placeholder {
    color: #9CA3AF;
}

/* 验证码行 */
.fld-row {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.fld-cap {
    flex: 1;
    margin-bottom: 0;
}

.cap-img {
    width: 100px;
    height: 46px;
    border-radius: 10px;
    background: #F0F2F5;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
}

.cap-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 记住密码 / 忘记密码 */
.login-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 20px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4A5266;
    cursor: pointer;
    user-select: none;
}

.remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #0AB5BA;
}

.cbx-text {
    font-size: 13px;
    font-weight: 500;
}

.forget {
    font-size: 13px;
    color: #088C90;
    text-decoration: none;
    font-weight: 600;
}

.forget:hover {
    color: #0AB5BA;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #0AB5BA 0%, #26CFD3 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px -10px rgba(10, 181, 186, 0.5);
}

.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px -10px rgba(10, 181, 186, 0.6);
}

.login-btn:active {
    transform: translateY(0);
}

/* 安全提示 */
.login-note {
    margin-top: 20px;
    padding: 12px 14px;
    background: #FEF3C7;
    border-radius: 8px;
    font-size: 12px;
    color: #92400E;
    line-height: 1.7;
    font-weight: 500;
}

.login-foot-tip {
    text-align: center;
    font-size: 12px;
    color: #8B95A5;
    margin-top: 16px;
    line-height: 1.6;
}

/* ---------- 响应式：小屏隐藏左侧品牌区 ---------- */
@media (max-width: 960px) {
    .login-brand {
        display: none;
    }
    .login-form-wrap {
        width: 100%;
    }
}
