/* ==================== 登录页独有样式 ==================== */
/* body 全局 / .btn-login / .btn-forgot 已统一到 mobile.css */

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: #FFFFFF;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ======== 顶部纯蓝背景区域 ======== */
.header-bg {
    position: relative;
    height: 45vh;
    min-height: 360px;
    background: linear-gradient(175deg, #4285D4 0%, #3B7BD2 30%, #3570C8 60%, #3068BF 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 16px;
    overflow: hidden;
}

/* 装饰圆形光斑 */
.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
    filter: blur(30px);
}

.blob-1 {
    width: 220px;
    height: 220px;
    background: white;
    top: -40px;
    right: -40px;
    opacity: 0.10;
}

.blob-2 {
    width: 140px;
    height: 140px;
    background: #90CAFF;
    bottom: 110px;
    left: -30px;
    opacity: 0.14;
}

.blob-3 {
    width: 90px;
    height: 90px;
    background: white;
    top: 140px;
    right: 100px;
    opacity: 0.06;
}

.blob-4 {
    width: 160px;
    height: 160px;
    background: #64B5F6;
    bottom: 20px;
    right: -30px;
    opacity: 0.10;
}

/* 装饰环形 */
.ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.10);
    width: 180px;
    height: 180px;
    top: 60px;
    right: -30px;
}

.ring2 {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.08);
    width: 230px;
    height: 230px;
    top: 40px;
    right: -55px;
}

.ring3 {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.06);
    width: 130px;
    height: 130px;
    top: 180px;
    right: 20px;
}

/* Logo 图标区 */
.logo-area {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

.logo-circle {
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

    .logo-circle svg {
        width: 80px;
        height: 80px;
    }

.system-title {
    color: white;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ======== 底部白色表单区域 ======== */
.login-section {
    position: relative;
    z-index: 3;
    margin-top: -16px;
    padding: 0 36px 48px;
}

.login-card {
    background: transparent;
    padding-top: 8px;
}

/* 记住密码 */
.remember-row {
    display: flex;
    align-items: center;
    padding: 4px 0;
    margin: 10px 0 2px 4px;
}

.remember-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.remember-check {
    width: 18px;
    height: 18px;
    border: 1.5px solid #E5E6EB;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: all 0.2s;
    flex-shrink: 0;
}

    .remember-check.checked {
        background: #2B8DFE;
        border-color: #2B8DFE;
    }

    .remember-check svg {
        width: 14px;
        height: 14px;
        fill: #fff;
    }

.remember-text {
    font-size: 14px;
    color: #4E5969;
}

/* 输入组 */
.input-group {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E2E8F0;
    padding: 16px 0;
    margin-bottom: 6px;
    transition: border-color 0.25s;
}

.input-icon {
    width: 24px;
    height: 24px;
    color: #3B7BD2;
    flex-shrink: 0;
    margin-right: 14px;
}

    .input-icon svg {
        width: 100%;
        height: 100%;
        fill: currentColor;
    }

.input-group input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    color: #222;
    font-family: inherit;
    padding: 0;
}

    .input-group input::placeholder {
        color: #BAC4D2;
    }

.input-group:focus-within {
    border-color: #3B7BD2 !important;
}

/* 密码显示/隐藏 */
.toggle-pwd {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #C0C8D0;
    flex-shrink: 0;
}

    .toggle-pwd svg {
        width: 20px;
        height: 20px;
        fill: currentColor;
    }

/* 登录页按钮覆盖（带 margin-top） */

.btn-login {
    margin-top: 36px;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3B7BD2 0%, #3068BF 100%);
    color: var(--m-text-white);
    border: none;
    border-radius: 32px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 4px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(59, 123, 210, 0.3);
    transition: all var(--m-trans-base);
    font-family: inherit;
}

    .btn-login:active {
        transform: scale(0.98);
        box-shadow: 0 2px 10px rgba(59, 123, 210, 0.2);
    }

.btn-forgot {
    margin-top: 14px;
    width: 100%;
    padding: 13px;
    background: transparent;
    color: #3B7BD2;
    border: 1.5px solid #3B7BD2;
    border-radius: 32px;
    font-size: var(--m-font-md);
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

    .btn-forgot:active {
        transform: scale(0.98);
        background: rgba(59, 123, 210, 0.12);
    }


    .btn-forgot:hover {
        background: rgba(59, 123, 210, 0.06);
        border-color: #3068BF;
        color: #3068BF;
    }

/* 底部信息 */
.footer-info {
    text-align: center;
    margin-top: 38px;
    color: #B0B8BF;
    font-size: 14px;
    line-height: 1.8;
}

    .footer-info a {
        color: #3B7BD2;
        text-decoration: none;
    }

/* ==================== 移动端适配 ==================== */
@media (max-width: 360px) {
    .logo-circle {
        width: 110px;
        height: 110px;
    }

    .system-title {
        font-size: 19px;
        letter-spacing: 2px;
    }

    .login-section {
        padding: 0 26px 36px;
    }
}
