/* ==========================================================================
   SC Marketplace — Gaya khusus Seller Center
   Hak cipta (c) 2026 sharecode.id — https://sharecode.id · Lisensi: LICENSE.md
   ========================================================================== */
.seller-hello { background: linear-gradient(120deg, var(--mp-navy), #263f6e); color: #fff; border-radius: var(--mp-radius); padding: 1.35rem 1.5rem; position: relative; overflow: hidden; }
.seller-hello::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(244, 81, 30, .35); }
.seller-hello h2 { color: #fff; font-size: 20px; font-weight: 800; position: relative; }
.seller-hello p { opacity: .85; margin: 0; position: relative; }
.todo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .75rem; }
.todo-item { background: #fff; border: 1px solid var(--mp-border); border-radius: 10px; padding: .85rem; text-align: center; color: var(--mp-text); transition: all var(--mp-ease); }
.todo-item:hover { border-color: var(--mp-primary); color: var(--mp-primary); box-shadow: var(--mp-shadow-sm); }
.todo-item b { display: block; font-family: var(--mp-font-head); font-size: 22px; color: var(--mp-primary); }
.todo-item small { font-size: 12px; }
.variant-table input { min-width: 90px; }
.store-preview-frame { border: 1px solid var(--mp-border); border-radius: var(--mp-radius); overflow: hidden; background: var(--mp-bg); }
.setup-steps .nav-link { border-radius: 10px; color: var(--mp-muted); font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.setup-steps .nav-link .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--mp-bg); font-size: 12px; }
.setup-steps .nav-link.active { background: var(--mp-primary-soft); color: var(--mp-primary); }
.setup-steps .nav-link.active .n, .setup-steps .nav-link.done .n { background: var(--mp-primary); color: #fff; }

/* ---------- Umum Seller Center ---------- */
.seller-hello > * { position: relative; z-index: 1; }
body[data-area="seller"] .stat-value { font-size: 19px; }
@media (min-width: 992px) and (max-width: 1499.98px) { body[data-area="seller"] .stat-value { font-size: 17px; } }
.seg-btns .btn { padding: .3rem .7rem; font-size: 12.5px; }
.seg-btns .btn.active { background: var(--mp-primary); border-color: var(--mp-primary); color: #fff; }
.score-ring { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--mp-success) calc(var(--v) * 1%), var(--mp-border) 0); flex-shrink: 0; }
.score-ring span { width: 76px; height: 76px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-family: var(--mp-font-head); font-weight: 800; font-size: 22px; color: var(--mp-navy); }
.rank-list li { display: flex; align-items: center; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid #f3f4f6; }
.rank-list li:last-child { border-bottom: 0; }
.rank-no { width: 24px; height: 24px; border-radius: 7px; background: var(--mp-bg); color: var(--mp-muted); font-weight: 700; font-size: 12px; display: grid; place-items: center; flex-shrink: 0; }
.rank-list li:nth-child(-n+3) .rank-no { background: var(--mp-primary-soft); color: var(--mp-primary); }
.inline-num { width: 110px; height: 32px; padding: .25rem .5rem; font-size: 13px; }
.dt-check { width: 18px; height: 18px; cursor: pointer; vertical-align: middle; }
.bulk-bar { display: none; align-items: center; gap: .5rem; flex-wrap: wrap; background: var(--mp-primary-soft); border-radius: 10px; padding: .5rem .75rem; margin-bottom: .75rem; font-size: 13px; }
.bulk-bar.show { display: flex; }
@media (max-width: 575.98px) {
  body[data-area="seller"] .stat-card { flex-direction: column; gap: .5rem; padding: .85rem; }
  body[data-area="seller"] .stat-icon { width: 38px; height: 38px; font-size: 17px; border-radius: 10px; }
  body[data-area="seller"] .stat-value { font-size: 16px; word-break: normal; overflow-wrap: anywhere; }
  .seller-hello { padding: 1.1rem; }
  .seller-hello h2 { font-size: 18px; }
  .seller-sum { font-size: 12.5px; white-space: nowrap; }
}

/* ---------- [Bagian A] Produk, stok, variasi, dashboard ---------- */
.table-responsive.dd-open { overflow: visible; }
.dash-content [hidden] { display: none !important; }
.pf-actions .btn { white-space: nowrap; }
.pf-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--mp-primary-soft); color: var(--mp-primary); font-size: 12px; margin-right: .5rem; }
@media (min-width: 1200px) { .pf-side { position: sticky; top: calc(var(--dash-top) + 1rem); } }
.pf-tiles .img-tile { cursor: grab; }
.pf-tiles .img-tile.dragging { opacity: .4; }
.pf-tiles .img-tile.drop-target { outline: 2px dashed var(--mp-primary); outline-offset: 2px; }
.pf-star { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--mp-muted); font-size: 12px; display: grid; place-items: center; }
.pf-star:hover { color: var(--mp-star); }
.pf-add { border: 2px dashed #d1d5db; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--mp-muted); font-size: 20px; cursor: pointer; background: #fafafa; }
.pf-add small { font-size: 11px; font-weight: 600; }
.pf-add:hover { border-color: var(--mp-primary); color: var(--mp-primary); }
.pf-vtype { border: 1px solid var(--mp-border); border-radius: 10px; padding: .75rem; margin-bottom: .75rem; background: #fcfcfd; }
.pf-chips { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; border: 1px solid var(--mp-border); border-radius: var(--mp-radius-sm); background: #fff; padding: .35rem .45rem; min-height: 40px; cursor: text; }
.pf-chip { display: inline-flex; align-items: center; gap: .25rem; background: var(--mp-primary-soft); color: var(--mp-primary); border-radius: 6px; padding: .1rem .2rem .1rem .55rem; font-size: 13px; font-weight: 600; }
.pf-chip button { border: 0; background: none; color: inherit; font-size: 16px; line-height: 1; padding: 0 .25rem; }
.pf-chips .vt-opt { border: 0; outline: 0; flex: 1; min-width: 140px; font-size: 13px; padding: .2rem; }
.pf-vimg { width: 38px; height: 38px; border-radius: 8px; border: 1px dashed #cbd5e1; display: grid; place-items: center; overflow: hidden; cursor: pointer; color: var(--mp-muted); background: #fafafa; }
.pf-vimg img { width: 100%; height: 100%; object-fit: cover; }
.variant-table td { vertical-align: middle; }
.variant-table input[data-f="sku"] { min-width: 140px; }
.variant-table input.money { min-width: 120px; }
.pf-preview { max-width: 220px; }
.pf-preview .pc:hover { transform: none; }
.pf-noimg { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #cbd5e1; font-size: 2.4rem; }
.pf-noimg small { font-size: 12px; color: var(--mp-muted); }
.pf-checklist li { display: flex; gap: .5rem; padding: .2rem 0; color: var(--mp-muted); }
.pf-checklist li i { color: #cbd5e1; }
.pf-checklist li.ok { color: var(--mp-text); }
.pf-checklist li.ok i { color: var(--mp-success); }
.select2-container--bootstrap4 .select2-selection.is-invalid, .select2.is-invalid .select2-selection { border-color: var(--mp-danger) !important; }
.stock-low { color: #b45309; font-weight: 700; }
.stock-out { color: var(--mp-danger); font-weight: 700; }
.etalase-item { display: flex; align-items: center; gap: .85rem; padding: .85rem 1rem; border-bottom: 1px solid var(--mp-border); background: #fff; }
.etalase-item:last-child { border-bottom: 0; }
.etalase-item .handle { cursor: grab; color: #9ca3af; font-size: 18px; }
.etalase-item.dragging { opacity: .5; background: var(--mp-primary-soft); }
.etalase-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--mp-primary-soft); color: var(--mp-primary); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.icon-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: .4rem; }
.icon-pick label { margin: 0; }
.icon-pick input { display: none; }
.icon-pick span { display: grid; place-items: center; height: 44px; border: 1px solid var(--mp-border); border-radius: 9px; font-size: 18px; cursor: pointer; color: var(--mp-muted); }
.icon-pick input:checked + span { border-color: var(--mp-primary); background: var(--mp-primary-soft); color: var(--mp-primary); }
.pd-gallery-main { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--mp-radius); border: 1px solid var(--mp-border); background: var(--mp-bg); }
.pd-thumbs { display: flex; gap: .4rem; margin-top: .5rem; }
.pd-thumbs img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; border: 2px solid transparent; cursor: pointer; background: var(--mp-bg); }
.pd-thumbs img.active { border-color: var(--mp-primary); }
.funnel-row { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; font-size: 13px; }
.funnel-row .fb { height: 28px; border-radius: 6px; background: var(--mp-primary); min-width: 4px; }

/* ---------- [Bagian B] Pesanan, pengiriman, keuangan, laporan ---------- */
.ship-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.ship-method { margin: 0; cursor: pointer; }
.ship-method input { position: absolute; opacity: 0; }
.ship-method span { display: block; height: 100%; border: 1px solid var(--mp-border); border-radius: 10px; padding: .65rem .6rem; text-align: center; font-weight: 500; transition: all var(--mp-ease); }
.ship-method span i { display: block; font-size: 20px; color: var(--mp-muted); }
.ship-method span b { display: block; font-size: 13px; color: var(--mp-navy); }
.ship-method span small { display: block; font-size: 11px; color: var(--mp-muted); line-height: 1.3; }
.ship-method input:checked + span { border-color: var(--mp-primary); background: var(--mp-primary-soft); box-shadow: 0 0 0 1px var(--mp-primary); }
.ship-method input:checked + span i { color: var(--mp-primary); }
.ship-method input:focus-visible + span { outline: 2px solid var(--mp-primary); outline-offset: 2px; }
@media (max-width: 420px) { .ship-methods { grid-template-columns: 1fr; } .ship-method span { text-align: left; } .ship-method span i { display: inline; margin-right: .35rem; } .ship-method span b { display: inline; } }
.label-sheet { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.ship-label { width: 100%; max-width: 380px; background: #fff; border: 2px solid #111; border-radius: 6px; font-size: 12px; color: #111; break-inside: avoid; page-break-inside: avoid; }
.ship-label > * { padding: .5rem .75rem; }
.ship-label .sl-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #111; font-family: var(--mp-font-head); }
.ship-label .sl-head b { font-size: 16px; }
.ship-label .sl-barcode { height: 56px; margin: .6rem .75rem .2rem; padding: 0; background: repeating-linear-gradient(90deg, #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 8px, #111 8px 11px, transparent 11px 12px); }
.ship-label .ls-2 { letter-spacing: .15em; }
.ship-label .sl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; border-top: 1px dashed #111; border-bottom: 1px dashed #111; margin-top: .4rem; }
.ship-label small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #555; }
.ship-label .sl-grid b, .ship-label .sl-grid span { display: block; }
.ship-label .sl-items { border-bottom: 1px dashed #111; }
.ship-label .sl-foot { display: flex; justify-content: space-between; font-weight: 600; }
.escrow-box { border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 1rem; background: linear-gradient(135deg, #fffbeb, #fff); }
.wd-net { background: var(--mp-bg); border-radius: 10px; padding: .75rem 1rem; }
.bank-card { border: 1px solid var(--mp-border); border-radius: var(--mp-radius); padding: 1.1rem; background: #fff; height: 100%; position: relative; transition: all var(--mp-ease); }
.bank-card.primary { border-color: var(--mp-primary); box-shadow: 0 0 0 1px var(--mp-primary); }
.bank-logo { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--mp-navy); color: #fff; font-family: var(--mp-font-head); font-weight: 800; font-size: 12px; flex-shrink: 0; }
.pin-inputs { display: flex; gap: .4rem; justify-content: center; }
.pin-inputs input { width: 44px; height: 50px; text-align: center; font-size: 20px; font-weight: 700; border: 1px solid var(--mp-border); border-radius: 8px; }
.pin-inputs input:focus { border-color: var(--mp-primary); outline: 0; box-shadow: 0 0 0 .2rem rgba(244, 81, 30, .12); }
.report-total td, .report-total th { font-weight: 800; background: #f9fafb; color: var(--mp-navy); }
@media print {
  body.printing-label .dash-layout, body.printing-label .modal-backdrop, body.printing-label .mp-toast-wrap { display: none !important; }
  body.printing-label #labelModal { position: static !important; display: block !important; overflow: visible !important; }
  body.printing-label #labelModal .modal-dialog { max-width: none; margin: 0; }
  body.printing-label #labelModal .modal-content { box-shadow: none; border: 0; }
  body.printing-label #labelModal .modal-header, body.printing-label #labelModal .modal-footer { display: none !important; }
  body.printing-label #labelModal .modal-body { background: #fff !important; overflow: visible !important; }
  .report-print-head { display: block !important; }
}
.report-print-head { display: none; }
.flow-steps.compact .flow-step { min-width: 76px; }
.dt-narrow .table-media [style*="max-width"] { max-width: 190px !important; }

/* ---------- [Bagian C] Toko, pengaturan, promosi, ulasan, chat, statistik, bantuan ---------- */
.kyc-box { min-height: 150px; display: flex !important; align-items: center; justify-content: center; padding: .75rem; }
.kyc-box img { max-height: 160px; max-width: 100%; border-radius: 8px; object-fit: contain; }
.setup-steps .nav-item { flex: 1; }
.setup-steps .nav-link { justify-content: center; }
@media (max-width: 575.98px) { .setup-steps .nav-link { flex-direction: column; gap: .2rem; font-size: 11px; padding: .4rem .25rem; } }
.preview-device { max-width: 100%; transition: width .25s ease; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--mp-shadow); }
.preview-device iframe { display: block; width: 100%; height: calc(100vh - 290px); min-height: 560px; border: 0; }
.preview-device.is-device { border: 10px solid var(--mp-navy); border-radius: 26px; }
#setNav .list-group-item { font-size: 13.5px; font-weight: 500; color: var(--mp-text); }
#setNav .list-group-item.active { background: var(--mp-primary-soft); color: var(--mp-primary); border-color: var(--mp-border); font-weight: 700; }
@media (max-width: 991.98px) { #setNav { flex-direction: row; overflow-x: auto; } #setNav .list-group-item { white-space: nowrap; border-width: 0 1px 0 0; } }
.chat-info { width: 280px; border-left: 1px solid var(--mp-border); flex-direction: column; flex-shrink: 0; }
.chat-online { position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: var(--mp-success); border: 2px solid #fff; }
.chat-quick { scrollbar-width: none; padding-bottom: .5rem; }
.chat-quick::-webkit-scrollbar { display: none; }
.chat-list .cl-item .dash-badge { flex-shrink: 0; }
.msg.me u { text-decoration: underline; }
.help-search { max-width: 560px; }
.help-topic.active { border-color: var(--mp-primary); background: var(--mp-primary-soft); }
#faqList [data-toggle="collapse"] i { transition: transform var(--mp-ease); }
#faqList [data-toggle="collapse"]:not(.collapsed) i { transform: rotate(180deg); }
.chat-list .cl-item .position-relative img { display: block; }
