/* ================================================
   登录页专属样式
   ================================================ */

/* ---- 背景画布动画（仅右侧面板）---- */
#canvas-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ---- 页面布局：左图右表单分屏 ---- */
.login-page {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* ---- 左局：背景图面板 ---- */
.login-left {
    flex: 0 0 58%;
    position: relative;
    background: url('../img/bg.jpg') center / cover no-repeat;
    overflow: hidden;
}

.login-left-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg,
            rgba(2, 10, 38, 0.38) 0%,
            rgba(4, 18, 62, 0.28) 40%,
            rgba(3, 8,  36, 0.46) 100%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 36px 44px;
}

/* ---- 品牌区（左局内）---- */
.login-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    animation: fadeSlideDown 0.8s ease both;
}

.brand-logo-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(34, 211, 238, 0.50);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.55), 0 0 10px rgba(34, 211, 238, 0.30);
    background: rgba(4, 9, 26, 0.5);
    flex-shrink: 0;
}

.brand-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(90deg, #ffffff 0%, #7dd3fc 55%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    line-height: 1.35;
    white-space: nowrap;
}

.brand-title span {
    background: linear-gradient(90deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-subtitle {
    font-size: 11px;
    color: rgba(186, 230, 253, 0.65);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ---- 左右分屏过渡渐变 ---- */
.login-left::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 380px; height: 100%;
    background: linear-gradient(90deg,
        transparent          0%,
        rgba(4,14,34, 0.10) 30%,
        rgba(4,14,34, 0.42) 55%,
        rgba(4,14,34, 0.75) 75%,
        #040e22             100%);
    pointer-events: none;
    z-index: 1;
}

.login-left::before { display: none; }

/* 确保覆盖层在渐变下方 */
.login-left-overlay {
    z-index: 0;
}

/* ---- 右局：登录区 ---- */
.login-right {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        /* 左边缘封口：强制与::after终止色一致，消除分界线 */
        linear-gradient(90deg, #040e22 0%, transparent 18%),
        /* 顶部青紫散射光 */
        radial-gradient(ellipse 80% 50% at 50% 0%,   rgba(99, 102, 241, 0.26) 0%, transparent 60%),
        /* 中心整体调亮光 */
        radial-gradient(ellipse 100% 80% at 50% 45%,  rgba(14, 116, 144, 0.16) 0%, transparent 65%),
        /* 底部青色散射光 */
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(6,  182, 212, 0.16) 0%, transparent 55%),
        #040e22;
    overflow-y: auto;
    overflow-x: hidden;
}

.login-right-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

/* ---- 登录卡片 ---- */
.login-card {
    width: 100%;
    background: rgba(7, 15, 45, 0.68);
    border: 1px solid rgba(34, 211, 238, 0.26);
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow: 0 32px 80px rgba(0,0,0,0.50),
                0 0 55px rgba(99,102,241,0.10),
                inset 0 1px 0 rgba(255,255,255,0.09),
                inset 0 0 30px rgba(34,211,238,0.025);
    animation: fadeSlideUp 0.7s 0.1s ease both;
    position: relative;
    overflow: hidden;
}

/* 卡片顶部发光线 */
.login-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #818cf8 25%, #22d3ee 50%, #818cf8 75%, transparent 100%);
    box-shadow: 0 0 12px rgba(34,211,238,0.55), 0 0 24px rgba(129,140,248,0.30);
}

/* 卡片右下角装饰 */
.login-card::after {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.login-card-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.login-card-title i {
    color: var(--color-primary);
    font-size: 16px;
}

/* ---- 表单 ---- */
.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.form-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input-wrap .input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition-fast);
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 11px 14px 11px 40px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* 修复浏览器 autofill 白色覆盖 */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0 1000px rgba(6, 14, 46, 0.95) inset;
    box-shadow: 0 0 0 1000px rgba(6, 14, 46, 0.95) inset;
    caret-color: var(--text-primary);
    transition: background-color 9999s ease-in-out 0s;
}

.form-input:focus {
    border-color: var(--color-primary);
    background: rgba(0, 212, 255, 0.04);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-input:focus + .input-icon,
.form-input-wrap:focus-within .input-icon {
    color: var(--color-primary);
}

/* 密码显示切换按钮 */
.toggle-pwd {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    transition: color var(--transition-fast);
    z-index: 2;
}

.toggle-pwd:hover {
    color: var(--color-primary);
}

/* 表单错误提示 */
.form-error {
    font-size: 11px;
    color: var(--color-danger);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all var(--transition-fast);
    min-height: 16px;
}

.form-error.show {
    opacity: 1;
    transform: translateY(0);
}

/* ---- 记住密码 & 忘记密码 ---- */
.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 12px;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    color: var(--text-secondary);
    user-select: none;
}

.checkbox-wrap input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.checkbox-wrap input[type="checkbox"]:checked {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-wrap input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

/* ---- 登录按钮 ---- */
.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #4338ca 0%, #0ea5e9 55%, #22d3ee 100%);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-mid);
    box-shadow: 0 0 22px rgba(67,56,202,0.42), 0 0 36px rgba(34,211,238,0.15), 0 4px 16px rgba(0,0,0,0.35);
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s ease;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    box-shadow: 0 0 32px rgba(67,56,202,0.62), 0 0 52px rgba(34,211,238,0.28), 0 6px 24px rgba(0,0,0,0.4);
    transform: translateY(-1px);
}

.btn-login:active { transform: scale(0.98); }

.btn-login .btn-text { transition: opacity var(--transition-fast); }
.btn-login .btn-loading { display: none; align-items: center; gap: 8px; }
.btn-login.loading .btn-text { display: none; }
.btn-login.loading .btn-loading { display: flex; }

/* ---- 登录卡片上方企业订购入口 ---- */
.ent-purchase-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 18px;
    margin-bottom: 14px;
    border-radius: 14px;
    background: linear-gradient(120deg,
        rgba(120,80,220,0.18) 0%,
        rgba(14,165,233,0.12) 50%,
        rgba(245,158,11,0.10) 100%);
    border: 1px solid rgba(168,85,247,0.35);
    text-decoration: none;
    cursor: pointer;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(120,80,220,0.15),
                inset 0 1px 0 rgba(255,255,255,0.07);
    transition: all 0.25s ease;
    animation: fadeSlideUp 0.55s 0.05s ease both;
    position: relative;
    overflow: hidden;
}
.ent-purchase-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168,85,247,0.7) 30%, rgba(245,158,11,0.7) 70%, transparent);
}
.ent-purchase-banner:hover {
    border-color: rgba(168,85,247,0.6);
    background: linear-gradient(120deg,
        rgba(120,80,220,0.28) 0%,
        rgba(14,165,233,0.18) 50%,
        rgba(245,158,11,0.15) 100%);
    box-shadow: 0 6px 32px rgba(120,80,220,0.28),
                0 0 0 1px rgba(168,85,247,0.2);
    transform: translateY(-2px);
}
.ent-purchase-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ent-purchase-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(251,191,36,0.15));
    border: 1px solid rgba(245,158,11,0.40);
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: #fbbf24;
    flex-shrink: 0;
    box-shadow: 0 0 14px rgba(245,158,11,0.20);
}
.ent-purchase-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.ent-purchase-title {
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.5px;
}
.ent-purchase-sub {
    font-size: 11px;
    color: rgba(148,163,184,0.8);
    letter-spacing: 0.2px;
}
.ent-purchase-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.ent-purchase-tag {
    font-size: 11px;
    font-weight: 600;
    color: #c084fc;
    background: rgba(168,85,247,0.15);
    border: 1px solid rgba(168,85,247,0.30);
    border-radius: 20px;
    padding: 2px 10px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.ent-purchase-arrow {
    font-size: 11px;
    color: rgba(168,85,247,0.7);
    transition: transform 0.2s;
}
.ent-purchase-banner:hover .ent-purchase-arrow {
    transform: translateX(3px);
    color: #c084fc;
}

/* ---- 企业版订购入口（已移至卡片上方，此展位结构保留备用） ---- */
.enterprise-entry { display: none; }

/* ---- 页脚：固定居中底部 ---- */
.login-footer {
    position: fixed;
    bottom: 16px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(78, 106, 144, 0.75);
    font-size: 11px;
    line-height: 1.8;
    z-index: 10;
    pointer-events: none;
    animation: fadeIn 1s 0.5s ease both;
    opacity: 0;
}

.login-footer a {
    color: var(--text-secondary);
}

.login-footer a:hover {
    color: var(--color-primary);
}

.login-footer .copyright {
    font-weight: 500;
    color: rgba(78, 106, 144, 0.75);
    font-size: 11px;
    letter-spacing: 0.3px;
}

/* ---- 动画 ---- */
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ---- 扫描线装饰 ---- */
.scan-line {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #818cf8 25%, #22d3ee 50%, #818cf8 75%, transparent 100%);
    opacity: 0.55;
    animation: scanMove 5s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes scanMove {
    from { top: 0; }
    to   { top: 100vh; }
}

/* ---- 响应式 ---- */
@media (max-width: 480px) {
    .login-card {
        padding: 28px 22px;
    }
    .brand-title {
        font-size: 18px;
    }
}

/* 响应式分屏：小于 900px 就垂直布局 */
@media (max-width: 900px) {
    .login-page {
        flex-direction: column;
        height: auto;
        overflow: auto;
    }
    .login-left {
        flex: 0 0 auto;
        min-height: 220px;
    }
    .login-right {
        padding: 0;
    }
    .login-right-inner {
        max-width: 100%;
        padding: 32px 24px;
    }
}


/* ================================================
   验证码
   ================================================ */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-row .form-input-wrap {
    flex: 1 1 0;
    min-width: 0;
}

.captcha-row .form-input {
    font-size: 14px;
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 40px;
    padding-right: 12px;
}

.captcha-img-wrap {
    flex: 0 0 112px;
    width: 112px;
    height: 48px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.captcha-img-wrap:hover,
.captcha-img-wrap:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.15);
}

.captcha-img-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes spin360 {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


/* ================================================
   忘记密码弹窗
   ================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 5, 18, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.2s ease both;
}

.modal-overlay[hidden] {
    display: none;
}

.modal-box {
    width: 100%;
    max-width: 720px;
    background: rgba(7, 15, 44, 0.94);
    border: 1px solid rgba(34, 211, 238, 0.24);
    border-radius: var(--radius-lg);
    padding: 26px 30px 26px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.60),
                0 0 40px rgba(99,102,241,0.08),
                inset 0 1px 0 rgba(255,255,255,0.07);
    animation: fadeSlideUp 0.25s ease both;
    position: relative;
}

/* 横向两栏布局 */
.modal-body-wide {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.modal-col-left {
    flex: 1;
    min-width: 0;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
}

.modal-divider {
    width: 1px;
    background: rgba(0, 212, 255, 0.12);
    margin: 0 4px;
    flex-shrink: 0;
}

.modal-col-right {
    flex: 1;
    min-width: 0;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-title i {
    color: var(--color-primary);
    font-size: 16px;
}

.modal-close-x {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    padding: 4px 6px;
    line-height: 1;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.modal-close-x:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.06);
}

.modal-lock-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(67, 56, 202, 0.55), rgba(14, 165, 233, 0.38));
    border: 1px solid rgba(129, 140, 248, 0.40);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-primary);
    margin: 0 auto 12px;
    box-shadow: 0 0 18px rgba(99,102,241,0.45), 0 0 10px rgba(34,211,238,0.22);
}

.modal-desc {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.7;
    margin-bottom: 12px;
}

.modal-desc strong {
    color: var(--text-primary);
}

.modal-contact-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(0, 212, 255, 0.06);
    border: 1px solid rgba(0, 212, 255, 0.16);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.modal-contact-box i {
    color: var(--color-primary);
    font-size: 15px;
    flex-shrink: 0;
}

/* 联系方式列表 */
.modal-contact-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 0;
    flex: 1;
}

.modal-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.14);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.modal-contact-item:hover {
    background: rgba(0, 212, 255, 0.09);
    border-color: rgba(0, 212, 255, 0.28);
}

.modal-contact-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
    font-size: 13px;
}

.modal-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.modal-contact-label {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.modal-contact-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 锁定规则说明 */
.modal-rule-box {
    background: rgba(255, 152, 0, 0.06);
    border: 1px solid rgba(255, 152, 0, 0.18);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 16px;
    flex: 1;
}

.modal-rule-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-warning);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-rule-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-rule-list li {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.6;
    padding-left: 12px;
    position: relative;
}

.modal-rule-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 152, 0, 0.5);
}

.modal-rule-list li strong {
    color: var(--color-warning);
}

.modal-tip-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 9px 12px;
    background: rgba(255, 152, 0, 0.07);
    border: 1px solid rgba(255, 152, 0, 0.18);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: var(--color-warning);
    margin-bottom: 22px;
    line-height: 1.65;
}

.modal-tip-box i {
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-modal-ok {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, #005f9e, #00b8d9 50%, #00d4ff);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all var(--transition-mid);
    box-shadow: var(--glow-primary);
}

.btn-modal-ok:hover {
    box-shadow: 0 0 28px rgba(0, 212, 255, 0.5), 0 4px 16px rgba(0,0,0,0.3);
    transform: translateY(-1px);
}

.btn-modal-ok:active {
    transform: scale(0.98);
}

/* 窄屏：弹窗回退为纵向堆叠 */
@media (max-width: 620px) {
    .modal-box {
        max-width: 360px;
        padding: 22px 20px 20px;
    }
    .modal-body-wide {
        flex-direction: column;
    }
    .modal-col-left {
        padding-right: 0;
        padding-bottom: 16px;
    }
    .modal-divider {
        width: 100%;
        height: 1px;
        margin: 0 0 16px 0;
    }
    .modal-col-right {
        padding-left: 0;
    }
    .modal-contact-list {
        margin-bottom: 12px;
    }
}
