
/* Seller Hub bridge: original FollowerAbzar v76 CSS and Materio assets are loaded untouched.
   This file only binds seller-only widgets to the original component system. */
:root{--shp-panel-primary:#5f8faf;--shp-panel-accent:#69b6ad}
body.shp-page-panel,body.shp-page-auth{margin:0!important;font-family:iranyekanx,Tahoma,Arial,sans-serif!important}
.shp-materio-panel .fasmm-page-title{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.shp-panel-subtitle{color:#718198;font-size:13px;line-height:1.9}
.shp-connection-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:8px 12px;background:#fff7e8;color:#a45c00;border:1px solid rgba(245,158,11,.18);font-size:12px;font-weight:900;white-space:nowrap}
.shp-connection-pill.ok{background:#ecfdf5;color:#087a32;border-color:#bbf7d0}.shp-connection-pill span{width:8px;height:8px;border-radius:999px;background:currentColor}
.shp-inline-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.shp-inline-meta small{color:#718198}
.shp-stat-card{height:100%;min-height:168px;padding:19px 20px!important;position:relative;overflow:hidden}.shp-stat-card:after{content:"";position:absolute;width:125px;height:125px;border-radius:50%;left:-45px;bottom:-55px;background:rgba(95,143,175,.10);pointer-events:none}.shp-stat-card small,.shp-stat-card span,.shp-stat-card em{display:block;color:#6d7c94;font-style:normal;font-weight:700}.shp-stat-card b{font-size:24px!important;margin:10px 0 7px!important;color:#1c3567!important}.shp-stat-card em{font-size:11px;margin-top:7px;color:#2c68bd}.shp-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:17px}.shp-card-head h2{font-size:17px!important;margin:0 0 5px!important}.shp-card-head p,.shp-muted{color:#718198!important;font-size:12px!important;line-height:1.9!important}.shp-card-head a{color:#2c68bd;font-size:12px;font-weight:900;text-decoration:none;white-space:nowrap}.shp-large-money{display:block;color:#173b79;font-size:29px;font-weight:950;margin:10px 0 2px}.shp-settlement-count{color:#718198;font-size:12px}
.shp-connection-detail,.shp-status-panel{display:flex;align-items:center;gap:11px;min-height:78px}.shp-connection-detail>span,.shp-status-panel>span{width:11px;height:11px;border-radius:50%;background:#dc2626;box-shadow:0 0 0 5px rgba(220,38,38,.12)}.shp-connection-detail>span.good,.shp-status-panel>span.good{background:#16a34a;box-shadow:0 0 0 5px rgba(22,163,74,.12)}.shp-connection-detail b,.shp-connection-detail small{display:block}.shp-connection-detail small,.shp-status-panel small{color:#718198;font-size:11px;margin-top:4px}.shp-table-wrap{width:100%;overflow:auto}.shp-table{min-width:760px}.shp-table td b,.shp-table td small{display:block}.shp-table td small{color:#718198;font-size:10.5px;margin-top:4px}.shp-table td>a{color:#2563eb;max-width:200px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shp-empty{text-align:center!important;color:#718198!important;padding:25px!important}
.fasmm-status.shp-status{font-size:11px!important}.fasmm-status.status-new,.fasmm-status.status-pending{background:#f1f5f9!important;color:#475569!important}.fasmm-status.status-processing{background:#dbeafe!important;color:#1d4ed8!important}.fasmm-status.status-partial{background:#ffedd5!important;color:#9a3412!important}.fasmm-status.status-completed,.fasmm-status.shp-settlement-paid{background:#dcfce7!important;color:#166534!important}.fasmm-status.status-canceled,.fasmm-status.status-failed,.fasmm-status.shp-settlement-canceled{background:#fee2e2!important;color:#991b1b!important}.fasmm-status.shp-settlement-pending{background:#dbeafe!important;color:#1d4ed8!important}
.shp-tabs{margin-bottom:16px}.shp-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.shp-service-card{position:relative;min-height:286px}.shp-service-card h3{font-size:16px;margin:6px 0;color:#202942}.shp-service-card p{font-size:12px;color:#718198;line-height:1.9;min-height:43px}.shp-service-card dl{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.shp-service-card dl>div{background:#f7fbff;border:1px solid rgba(95,143,175,.14);padding:8px 10px;border-radius:13px}.shp-service-card dt{font-size:10px;color:#718198}.shp-service-card dd{margin:3px 0 0;color:#26324a;font-size:12px;font-weight:900}.shp-service-card summary{list-style:none}.shp-service-card summary::-webkit-details-marker{display:none}.shp-service-form{display:grid;gap:12px;padding-top:14px;margin-top:13px;border-top:1px solid #e5edf7}.shp-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.shp-form label{display:grid;gap:7px;font-weight:850;color:#26364d;font-size:12px}.shp-form small{color:#718198;font-size:10.5px}.shp-form .shp-check{display:flex!important;align-items:center;gap:8px}.shp-form .shp-check input{width:auto!important;min-height:auto!important}.shp-notification-list{display:grid;gap:10px}.shp-notification{border:1px solid #e1eaf5;border-right:4px solid transparent;padding:13px 14px;border-radius:16px;cursor:pointer;background:rgba(255,255,255,.65)}.shp-notification.unread{border-right-color:#4f8cff;background:#f5f9ff}.shp-notification b{font-size:13px;color:#26324a}.shp-notification p{font-size:12px;color:#64748b;margin:6px 0}.shp-notification small{color:#94a3b8;font-size:10.5px}.shp-definition{display:grid;gap:10px;margin:0}.shp-definition>div{display:flex;justify-content:space-between;gap:18px;border-bottom:1px solid #e5edf7;padding-bottom:10px}.shp-definition dt{color:#718198}.shp-definition dd{margin:0;font-weight:900;color:#26324a}.shp-definition code{direction:ltr}.shp-modal{display:none;position:fixed;z-index:100200;inset:0;place-items:center;padding:16px}.shp-modal.is-open{display:grid}.shp-modal-backdrop{position:absolute;inset:0;background:rgba(16,24,40,.55);backdrop-filter:blur(3px)}.shp-modal-card{position:relative;z-index:1;width:min(780px,100%);max-height:92vh;overflow:auto;margin:0!important;padding:28px!important}.shp-modal-close{position:absolute;left:15px;top:12px;border:0;background:#eef5ff;color:#2e70d1;width:36px;height:36px;border-radius:50%;font-size:24px;line-height:1;cursor:pointer}.shp-toast{position:fixed;left:22px;bottom:22px;z-index:100500;transform:translateY(150px);opacity:0;transition:.25s;max-width:360px;background:#1e3a5f;color:#fff;padding:13px 17px;border-radius:15px;box-shadow:0 20px 42px rgba(15,23,42,.22);font-weight:800}.shp-toast.show{transform:translateY(0);opacity:1}.shp-toast.error{background:#991b1b}.shp-auth-login-wrap{width:min(480px,100%);margin:0 auto}.shp-auth-mark{display:grid;place-items:center;width:54px;height:54px;border-radius:18px;background:linear-gradient(135deg,#4f8cff,#5aa7e8);color:#fff;font-size:25px;font-weight:950;margin:0 0 16px}.shp-auth-card .shp-check{justify-self:start}.shp-auth-card .shp-check input{width:auto!important;min-height:auto!important}.shp-auth-card .fasmm-btn{justify-self:stretch!important;width:100%!important}.shp-admin-front-note{min-height:100vh;display:grid;place-items:center;padding:24px}.shp-admin-front-note .fasmm-card{max-width:620px;text-align:center}
@media(max-width:1199px){.shp-materio-panel .layout-page{padding-right:0!important}.shp-service-grid{grid-template-columns:1fr}.shp-stat-card{min-height:146px}}
@media(max-width:767px){.shp-materio-panel .fasmm-page-title{display:block}.shp-connection-pill{margin-top:10px}.shp-form-grid{grid-template-columns:1fr}.shp-service-card dl{grid-template-columns:1fr}.shp-modal-card{padding:23px 16px!important}.shp-auth-login-wrap{width:100%}.shp-table{min-width:720px}.shp-stat-card b{font-size:21px!important}}


/* نسخه‌ی موبایل سفارش‌ها: جدول به کارت‌های قابل‌خواندن تبدیل می‌شود. */
.shp-order-link-text{display:block;max-width:200px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#2563eb;direction:ltr;text-align:left}
@media(max-width:767px){
  .shp-order-table-wrap{overflow:visible!important}
  .shp-order-table{display:block!important;min-width:0!important;width:100%!important;background:transparent!important;border-collapse:separate!important;border-spacing:0!important}
  .shp-order-table thead{display:none!important}
  .shp-order-table tbody{display:grid!important;gap:12px!important}
  .shp-order-table tbody tr.shp-order-row{display:block!important;background:#fff!important;border:1px solid rgba(95,143,175,.18)!important;border-radius:20px!important;padding:4px 14px 13px!important;overflow:hidden!important;box-shadow:0 10px 25px rgba(31,58,93,.07)!important}
  .shp-order-table tbody tr.shp-order-row td{display:grid!important;grid-template-columns:minmax(92px,.75fr) minmax(0,1.25fr)!important;gap:12px!important;align-items:center!important;padding:11px 0!important;border:0!important;border-bottom:1px solid #e8eef6!important;text-align:right!important;vertical-align:middle!important;color:#26324a!important;min-width:0!important}
  .shp-order-table tbody tr.shp-order-row td::before{content:attr(data-label)!important;display:block!important;color:#7b8ba3!important;font-size:10.5px!important;font-weight:900!important;line-height:1.5!important}
  .shp-order-table tbody tr.shp-order-row td:last-child{border-bottom:0!important}
  .shp-order-table .shp-order-id{padding-top:14px!important}
  .shp-order-table .shp-order-id b{font-size:16px!important;color:#19386e!important}
  .shp-order-table .shp-order-service{font-weight:850!important;line-height:1.8!important}
  .shp-order-table .shp-order-link a,.shp-order-table .shp-order-link-text{display:block!important;max-width:none!important;min-width:0!important;overflow:visible!important;white-space:normal!important;text-overflow:clip!important;word-break:break-word!important;line-height:1.75!important;direction:ltr!important;text-align:left!important;color:#2563eb!important}
  .shp-order-table .shp-order-link small,.shp-order-table .shp-order-amount small,.shp-order-table .shp-order-id small{margin-top:4px!important}
  .shp-order-table .shp-order-status .fasmm-status{justify-self:start!important}
  .shp-order-table .shp-order-updated{font-size:11.5px!important;color:#52637d!important}
  .shp-order-table .shp-order-actions{display:block!important;padding-top:14px!important;border-bottom:0!important}
  .shp-order-table .shp-order-actions::before{display:none!important}
  .shp-order-table .shp-order-actions .fasmm-btn{width:100%!important;justify-content:center!important;min-height:40px!important}
  .shp-order-table tbody tr:has(.shp-empty){display:block!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
  .shp-order-table .shp-empty{display:block!important;padding:22px!important;border:1px dashed #cfdae8!important;border-radius:16px!important;background:#f8fbff!important;text-align:center!important}
}
