/**
 * 商家中心 /seller — 布局与组件（配合 admin-pro.css）
 */
body.seller-console {
    --seller-accent-soft: color-mix(in srgb, var(--primary, #0831cb) 10%, transparent);
}

.seller-console .admin-page {
    max-width: 1200px;
}

/* 间距工具 */
.seller-console .u-mb-0 { margin-bottom: 0 !important; }
.seller-console .u-mb-12 { margin-bottom: 12px !important; }
.seller-console .u-mb-16 { margin-bottom: 16px !important; }
.seller-console .u-mt-12 { margin-top: 12px !important; }
.seller-console .form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}
.seller-console .form-grid-2 .form-group.full { grid-column: 1 / -1; }
@media (max-width: 720px) {
    .seller-console .form-grid-2 { grid-template-columns: 1fr; }
}
.seller-console .page-head-desc {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.55;
}

/* 可点击统计卡 */
.seller-console .stat-cards--link {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.seller-console .stat-cards--link .stat-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.seller-console .stat-cards--link .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md, 0 8px 24px rgba(0, 0, 0, .08));
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}

/* 提示条 */
.seller-console .seller-alert {
    padding: 12px 16px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    border-left: 3px solid var(--primary, #0831cb);
    background: var(--seller-accent-soft, rgba(8, 49, 203, .06));
}
.seller-console .seller-alert--warn {
    border-left-color: #d97706;
    background: rgba(217, 119, 6, .08);
}

.seller-console .admin-card > h2,
.seller-console .admin-card > .card-title {
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 700;
}

/* 侧栏分组 */
.seller-console .admin-menu .menu-group {
    margin-top: 8px;
    padding: 10px 16px 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted, #9ca3af);
    list-style: none;
}
.seller-console .admin-menu .menu-sub a {
    padding-left: 42px;
    font-size: 13px;
}

/* 财务子导航 */
.seller-finance-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}
.seller-finance-tabs a {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border, #e5e7eb);
    color: var(--text-2, #4b5563);
    background: var(--bg-card, #fff);
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}
.seller-finance-tabs a:hover {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
    color: var(--primary);
}
.seller-finance-tabs a.is-active {
    background: var(--primary, #0831cb);
    border-color: var(--primary, #0831cb);
    color: #fff;
}

/* 财务模块 */
.fin-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.fin-shortcut {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border, #e5e7eb);
    background: var(--bg-card, #fff);
    text-decoration: none;
    color: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.fin-shortcut:hover {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, .06));
}
.fin-shortcut.is-active {
    border-color: var(--primary, #0831cb);
    background: var(--seller-accent-soft, rgba(8, 49, 203, .06));
}
.fin-shortcut__label { font-size: 12px; color: var(--text-muted, #6b7280); }
.fin-shortcut__val { font-size: 20px; font-weight: 800; color: var(--text, #111); }
.fin-shortcut__hint { font-size: 11px; color: var(--text-muted, #9ca3af); }

.fin-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(8, 49, 203, .08) 0%, rgba(8, 49, 203, .02) 100%);
    border-color: color-mix(in srgb, var(--primary, #0831cb) 25%, var(--border, #e5e7eb));
}
.fin-hero__label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.fin-hero__amount { font-size: 32px; font-weight: 800; color: var(--primary, #0831cb); letter-spacing: -.02em; }
.fin-hero__hint { margin: 8px 0 0; font-size: 12px; }
.fin-hero__aside { text-align: right; }
.fin-hero__formula { margin: 10px 0 0; font-size: 11px; max-width: 220px; }

/* 资金概况面板 */
.fin-fund { padding: 22px 24px; }
.fin-fund__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.fin-fund__sub { margin: 6px 0 0; font-size: 12px; line-height: 1.5; }
.fin-fund__hero {
    padding: 18px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(8, 49, 203, .07) 0%, rgba(8, 49, 203, .02) 100%);
    border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
    margin-bottom: 20px;
}
.fin-fund__avail-label { display: block; font-size: 13px; color: var(--text-muted); margin-bottom: 4px; }
.fin-fund__avail-num {
    display: block;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--primary, #0831cb);
    line-height: 1.15;
}
.fin-fund__link { display: inline-block; margin-top: 8px; font-size: 13px; }
.fin-fund__eq {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed color-mix(in srgb, var(--border) 80%, transparent);
    font-size: 12px;
    line-height: 1.8;
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 4px 6px;
}
.fin-fund__eq-op { opacity: .55; margin: 0 2px; }
.seller-console .text-primary { color: var(--primary, #0831cb); }

.fin-fund__bar-wrap { margin-bottom: 20px; }
.fin-fund__bar-title { margin: 0 0 8px; font-size: 12px; }
.fin-fund__bar {
    display: flex;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--bg-subtle, #f3f4f6);
}
.fin-fund__seg { display: block; height: 100%; min-width: 2px; transition: width .3s; }
.fin-fund__seg--out { background: #94a3b8; }
.fin-fund__seg--lock { background: #f59e0b; }
.fin-fund__seg--free { background: var(--primary, #0831cb); }
.fin-fund__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: var(--text-2, #4b5563);
}
.fin-fund__legend li { display: flex; align-items: center; gap: 6px; }
.fin-fund__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.fin-fund__dot--out { background: #94a3b8; }
.fin-fund__dot--lock { background: #f59e0b; }
.fin-fund__dot--free { background: var(--primary, #0831cb); }

.fin-fund__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.fin-fund__tile {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border, #e5e7eb);
    background: var(--bg-card, #fff);
}
.fin-fund__tile-label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.fin-fund__tile-val { display: block; font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.fin-fund__tile-hint { display: block; font-size: 11px; color: var(--text-muted); line-height: 1.4; }
.fin-fund__tile--settled { border-left: 3px solid var(--primary, #0831cb); }
.fin-fund__tile--pending { border-left: 3px solid #6366f1; }
.fin-fund__tile--out { border-left: 3px solid #94a3b8; }
.fin-fund__tile--lock { border-left: 3px solid #f59e0b; }

@media (max-width: 900px) {
    .fin-fund__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .fin-fund__grid { grid-template-columns: 1fr; }
    .fin-fund__eq { flex-direction: column; align-items: flex-start; }
}

.fin-section__title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted, #6b7280);
    letter-spacing: .04em;
}
.fin-stat-grid { margin-bottom: 0; }
.fin-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.seller-console .u-mb-0 { margin-bottom: 0 !important; }

@media (max-width: 720px) {
    .fin-shortcuts { grid-template-columns: 1fr; }
    .fin-hero__aside { text-align: left; width: 100%; }
}

/* 提现流程 */
.sw-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    counter-reset: swstep;
}
.sw-flow li {
    flex: 1;
    min-width: 140px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border, #e5e7eb);
    background: var(--bg-card, #fff);
    font-size: 13px;
    line-height: 1.45;
    position: relative;
}
.sw-flow li strong {
    display: block;
    font-size: 12px;
    color: var(--primary, #0831cb);
    margin-bottom: 4px;
}
.sw-flow li.is-done {
    border-color: color-mix(in srgb, #16a34a 40%, var(--border));
    background: rgba(22, 163, 74, .06);
}
.sw-invoice-box {
    margin-top: 8px;
    padding: 12px;
    border-radius: 10px;
    background: var(--bg-subtle, #f9fafb);
    border: 1px dashed var(--border, #e5e7eb);
}
.sw-invoice-box .form-grid { gap: 10px; }

.sw-balance-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    padding: 22px 24px;
    background: linear-gradient(135deg, rgba(8, 49, 203, .08) 0%, rgba(8, 49, 203, .02) 100%);
    border-color: color-mix(in srgb, var(--primary, #0831cb) 25%, var(--border, #e5e7eb));
}
.sw-balance-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted, #6b7280);
    margin-bottom: 6px;
}
.sw-balance-num {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--primary, #0831cb);
}
.sw-balance-hint { margin: 8px 0 0; font-size: 12px; }
.sw-balance-meta { display: flex; gap: 28px; flex-wrap: wrap; }
.sw-balance-meta div { display: flex; flex-direction: column; gap: 4px; }
.sw-balance-meta strong { font-size: 18px; }
.sw-policy-callout {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary, #0831cb) 6%, var(--bg-subtle, #f9fafb));
    border: 1px solid color-mix(in srgb, var(--primary, #0831cb) 18%, var(--border, #e5e7eb));
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-2, #4b5563);
}
.sw-policy-callout p { margin: 0 0 10px; }
.sw-policy-callout p:last-child { margin-bottom: 0; }
.sw-policy-callout strong { color: var(--text, #111827); }
.sw-layout {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 16px;
    align-items: start;
}
.sw-notice-list { margin: 0; padding-left: 18px; }
.sw-notice-list li {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-2, #4b5563);
}
.sw-notice-list li:last-child { margin-bottom: 0; }
.sw-notice-list strong {
    display: block;
    color: var(--text, #111);
    margin-bottom: 2px;
}
.sw-panel-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.sw-panel-head h2 { margin: 0; }
.sw-ref {
    font-size: 13px;
    margin: 0 0 14px;
    padding: 10px 12px;
    background: var(--bg-subtle, #f9fafb);
    border-radius: 8px;
}
.sw-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}
.sw-check input { margin-top: 3px; flex-shrink: 0; }
.sw-amt-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 28px;
}
.seller-console .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}
.sw-acct-cell {
    font-size: 13px;
    line-height: 1.5;
    max-width: 280px;
}
.sw-records h2 { margin-top: 0; }
.seller-console .badge-warning {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fcd34d;
}


/* 表单行 */
.seller-form-row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.seller-form-row .form-control { flex: 1; min-width: 120px; }
.seller-form-row .btn { flex-shrink: 0; }
.seller-captcha-img {
    height: 40px;
    cursor: pointer;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* 空状态 / 引导 */
.seller-empty-cta {
    padding: 8px 0 4px;
}
.seller-empty-cta .btn { margin-top: 12px; }

/* 未开通店铺 / 入驻引导 */
.seller-onboard { padding: 22px 24px; }
.seller-onboard__lead {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
    color: var(--text-1, #111827);
}
.seller-onboard__tip {
    margin-bottom: 18px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-2, #4b5563);
    border-radius: 10px;
    border: 1px solid rgba(217, 119, 6, .25);
    background: rgba(217, 119, 6, .06);
}
.seller-onboard__tip strong { color: #b45309; font-weight: 700; }
.seller-onboard__rules-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
}
.seller-onboard__list {
    margin: 0;
    padding-left: 1.25em;
    font-size: 13px;
    line-height: 1.75;
    color: var(--text-2, #4b5563);
}
.seller-onboard__list li + li { margin-top: 4px; }
.seller-onboard__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border, #e5e7eb);
}
.seller-console .u-mt-16 { margin-top: 16px; }

/* 入驻申请页 */
.seller-apply-head {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 16px;
}
.seller-apply-grid {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}
.seller-apply-aside__title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 800;
}
.seller-apply-progress {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}
.seller-apply-progress__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border, #e5e7eb);
    font-size: 13px;
    color: var(--text-2, #4b5563);
}
.seller-apply-progress__item:last-child { border-bottom: 0; }
.seller-apply-progress__item.is-current {
    color: var(--text-1, #111827);
    font-weight: 600;
}
.seller-apply-progress__dot {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    background: var(--seller-accent-soft, rgba(8, 49, 203, .08));
    color: var(--primary, #0831cb);
}
.seller-apply-progress__item.is-current .seller-apply-progress__dot {
    background: var(--primary, #0831cb);
    color: #fff;
}
.seller-apply-aside__tip {
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.65;
    background: var(--bg-soft, #f3f4f6);
    border: 1px solid var(--border, #e5e7eb);
}
.seller-apply-aside__tip strong {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}
.seller-apply-deposit-badge {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--border));
    background: var(--seller-accent-soft);
}
.seller-apply-deposit-badge__label {
    display: block;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-3, #6b7280);
}
.seller-apply-deposit-badge__amount {
    display: block;
    margin: 4px 0;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary, #0831cb);
}
.seller-apply-deposit-badge__note {
    font-size: 12px;
    line-height: 1.5;
}
.seller-apply-aside__free {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
}
.seller-apply-section__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 800;
}
.seller-apply-section__no {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    background: var(--seller-accent-soft);
    color: var(--primary, #0831cb);
}
.seller-console .form-hint {
    margin: 6px 0 0;
    font-size: 12px;
}
.seller-apply-certs__intro {
    margin: 0 0 12px;
    font-size: 13px;
}
.seller-apply-seal-notice {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.65;
    border: 1px solid rgba(217, 119, 6, .28);
    background: rgba(217, 119, 6, .06);
    color: var(--text-2, #4b5563);
}
.seller-apply-seal-notice strong {
    display: block;
    margin-bottom: 4px;
    color: #b45309;
    font-size: 13px;
}
.seller-apply-seal-notice p { margin: 0; }
.seller-apply-cert-grid {
    display: grid;
    gap: 14px;
}
.seller-apply-cert {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border, #e5e7eb);
    background: color-mix(in srgb, var(--bg-surface, #fff) 96%, var(--bg-soft));
    transition: border-color .2s, box-shadow .2s;
}
.seller-apply-cert.is-done {
    border-color: color-mix(in srgb, #059669 45%, var(--border));
    box-shadow: 0 0 0 1px rgba(5, 150, 105, .12);
}
.seller-apply-cert__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}
.seller-apply-cert__name {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
}
.seller-apply-cert__status {
    font-size: 12px;
    white-space: nowrap;
}
.seller-apply-cert__status.is-ok {
    color: #059669;
    font-weight: 600;
}
.seller-apply-cert__hint {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.55;
}
.seller-apply-cert__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.seller-apply-cert__show {
    flex: 1;
    min-width: 140px;
}
.seller-apply-cert__pick {
    position: relative;
    margin: 0;
    cursor: pointer;
}
.seller-apply-cert__pick .btn { pointer-events: none; }
.seller-apply-cert__file {
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.seller-apply-cert__upload { flex-shrink: 0; }
.seller-apply-cert__preview {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
}
.seller-apply-cert__preview[hidden] { display: none !important; }
.seller-apply-actions {
    margin-top: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.seller-console .btn-lg {
    padding: 11px 22px;
    font-size: 15px;
    font-weight: 600;
}
.seller-apply-deposit-note {
    font-size: 13px;
    line-height: 1.6;
    max-width: 52em;
}
.seller-apply-closed {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    padding: 32px 24px 28px;
}
.seller-apply-closed__icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 12px;
    opacity: .85;
}
.seller-apply-closed__title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
}
.seller-apply-closed__msg {
    margin: 0 0 20px;
    line-height: 1.65;
}
.seller-apply-closed__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
@media (max-width: 960px) {
    .seller-apply-grid {
        grid-template-columns: 1fr;
    }
    .seller-apply-aside {
        order: -1;
    }
}

/* 登录页 */
.seller-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(8, 49, 203, .12), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(99, 102, 241, .1), transparent 50%),
        var(--bg-soft, #eef2fb);
}

.seller-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 0;
    width: 100%;
    max-width: 920px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .12);
    border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.seller-login-aside {
    position: relative;
    padding: 36px 32px 28px;
    color: #fff;
    background: linear-gradient(145deg, #0a1f5c 0%, #0831cb 48%, #1e3a8a 100%);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.seller-login-aside__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .15), transparent 45%);
    pointer-events: none;
}
.seller-login-aside__top,
.seller-login-aside__body,
.seller-login-aside__foot {
    position: relative;
    z-index: 1;
}
.seller-login-aside__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}
.seller-login-aside__logo { max-height: 36px; }
.seller-login-aside__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    background: rgba(255, 255, 255, .15);
}
.seller-login-aside__site { font-size: 14px; font-weight: 700; opacity: .92; }
.seller-login-aside__en {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .75;
}
.seller-login-aside__body h1 {
    margin: 0 0 12px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
}
.seller-login-aside__desc {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.7;
    opacity: .88;
    max-width: 320px;
}
.seller-login-aside__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.65;
    opacity: .9;
}
.seller-login-aside__list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}
.seller-login-aside__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #93c5fd;
}
.seller-login-aside__foot {
    margin-top: auto;
    padding-top: 24px;
    font-size: 13px;
}
.seller-login-aside__foot a { color: #bfdbfe; }

.seller-login-panel {
    padding: 32px 28px 28px;
    border-radius: 0;
    border: none;
    box-shadow: none;
}
.seller-login-panel__head { margin-bottom: 22px; }
.seller-login-panel__title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
}
.seller-login-panel__lead { margin: 0; font-size: 13px; }
.seller-login-redirect-hint {
    margin: 12px 0 0;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.5;
    border-radius: 10px;
    background: var(--primary-soft, rgba(8, 49, 203, .08));
    border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--border));
    color: var(--text-2, #4b5563);
}
.seller-login-redirect-hint strong { color: var(--primary, #0831cb); font-weight: 700; }

.seller-login-form .form-group { margin-bottom: 16px; }
.seller-login-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
}
.seller-login-captcha,
.seller-login-sms {
    display: flex;
    gap: 10px;
    align-items: stretch;
}
.seller-login-captcha .form-control,
.seller-login-sms .form-control { flex: 1; min-width: 0; }
.seller-login-captcha__img-btn {
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg-card, #fff);
    cursor: pointer;
    flex-shrink: 0;
    line-height: 0;
}
.seller-login-captcha__img-btn:hover { border-color: var(--primary); }
.seller-login-sms__btn {
    white-space: nowrap;
    min-width: 108px;
}
.seller-login-submit {
    width: 100%;
    margin-top: 4px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 700;
}
.seller-login-links {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    text-align: center;
    line-height: 1.8;
}
.seller-login-links a { color: var(--primary); }

.seller-captcha-img {
    display: block;
    height: 40px;
    width: 110px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 7px;
}

/* 兼容旧类名 */
.seller-login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft, #f0f4fc);
    padding: 24px;
}
.seller-login-wrap { width: 100%; max-width: 420px; }
.seller-login-card { padding: 28px 24px; }
.seller-login-brand { text-align: center; margin-bottom: 24px; }
.seller-login-logo { max-height: 48px; margin-bottom: 12px; }
.seller-login-foot {
    margin-top: 16px;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 820px) {
    .seller-login-shell {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
    .seller-login-aside {
        padding: 24px 22px 20px;
    }
    .seller-login-aside__body h1 { font-size: 22px; }
    .seller-login-aside__list { display: none; }
    .seller-login-aside__foot { margin-top: 12px; padding-top: 0; }
}

@media (max-width: 480px) {
    .seller-login-page { padding: 12px; }
    .seller-login-panel { padding: 24px 18px 20px; }
    .seller-login-sms { flex-wrap: wrap; }
    .seller-login-sms__btn { width: 100%; min-width: 0; }
}

.seller-console .btn-block { width: 100%; display: block; text-align: center; }

@media (max-width: 960px) {
    .sw-layout { grid-template-columns: 1fr; }
    .sw-amt-btns { padding-top: 0; }
}
