/* Spiffy E-Ticaret · Dashboard V2
 * Scoped to the merchant dashboard. Original welcome, quick actions,
 * sales performance chart and store setup component styles are retained.
 */
.sp-dashboard-v2{--dash-border:#e6ebf3;--dash-ink:#12233c;--dash-muted:#8494aa;--dash-blue:#315cf5;min-width:0}
.sp-dashboard-v2 .sp-dash-widget-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}
.sp-dashboard-v2 .sp-dash-eyebrow{display:block;font-size:9px;font-weight:820;letter-spacing:.12em;color:#8b9bb1;margin:0 0 9px}
.sp-dashboard-v2 .sp-dash-widget-head h2{margin:0 0 5px;font-size:15px;line-height:1.25;font-weight:790;letter-spacing:-.35px;color:var(--dash-ink)}
.sp-dashboard-v2 .sp-dash-widget-head p{margin:0;color:var(--dash-muted);font-size:11px;line-height:1.6}
.sp-dashboard-v2 .sp-dash-overview{background:#fff;border:1px solid var(--dash-border);border-radius:13px;padding:21px 23px 20px;margin:0 0 22px;box-shadow:0 2px 8px rgba(16,35,63,.012)}
.sp-dashboard-v2 .sp-dash-overview .sp-dash-widget-head{margin-bottom:19px}
.sp-dashboard-v2 .sp-dash-source{display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:690;color:#657895;background:#f4f6fa;border:1px solid #e9edf4;padding:7px 9px;border-radius:7px;white-space:nowrap}
.sp-dashboard-v2 .sp-dash-overview .p3-metrics-grid{gap:0;grid-template-columns:repeat(4,minmax(0,1fr))}
.sp-dashboard-v2 .sp-dash-overview .p3-metric-card{padding:4px 22px 0 22px;background:transparent;box-shadow:none;border:0;border-left:1px solid #e9edf4;border-radius:0;min-height:107px}
.sp-dashboard-v2 .sp-dash-overview .p3-metric-card:first-child{border-left:0;padding-left:0}
.sp-dashboard-v2 .sp-dash-overview .p3-metric-card:last-child{padding-right:0}
.sp-dashboard-v2 .sp-dash-overview .p3-metric-top{font-size:11px;font-weight:680;color:#7b8ca4}
.sp-dashboard-v2 .sp-dash-overview .p3-metric-icon{width:29px;height:29px;border-radius:9px;background:#eff3ff;color:#466ce1}
.sp-dashboard-v2 .sp-dash-overview .p3-metric-value{margin:4px 0 10px;font-size:30px;font-weight:820;letter-spacing:-1.1px;color:var(--dash-ink)}
.sp-dashboard-v2 .sp-dash-overview .p3-metric-bottom{font-size:9.5px;gap:6px;color:#9cabc0}
.sp-dashboard-v2 .sp-dash-columns{display:grid;grid-template-columns:minmax(0,1.73fr) minmax(305px,1fr);gap:20px;align-items:start}
.sp-dashboard-v2 .sp-dash-primary,.sp-dashboard-v2 .sp-dash-secondary{display:grid;align-content:start;gap:20px;min-width:0}
.sp-dashboard-v2 .sp-dash-primary>.p3-chart,.sp-dashboard-v2 .sp-dash-secondary>.p3-readiness{min-width:0}
.sp-dashboard-v2 .sp-dash-orders .p3-panel,.sp-dashboard-v2 .sp-dash-activity .p3-panel{margin:0}
.sp-dashboard-v2 .sp-dash-orders .p9-dashboard-section{padding:0;overflow:hidden}
.sp-dashboard-v2 .sp-dash-orders .p9-dashboard-section>.p3-panel-head{padding:21px 22px 16px;border-bottom:1px solid #eff2f7}
.sp-dashboard-v2 .sp-dash-orders .p9-dashboard-orders{padding:5px 22px 10px}
.sp-dashboard-v2 .sp-dash-orders .p9-dashboard-orders a{min-height:51px;font-size:11px;padding:14px 0;gap:12px}
.sp-dashboard-v2 .sp-dash-orders .p9-dashboard-orders a:last-child{border-bottom:0}
.sp-dashboard-v2 .sp-dash-orders .p9-dashboard-orders a:hover{background:#fafbfe}
.sp-dashboard-v2 .sp-dash-orders .p9-dashboard-orders a strong{font-size:11px}
.sp-dashboard-v2 .sp-dash-orders .p9-dashboard-orders a>b{font-size:12px;font-weight:820}
.sp-dashboard-v2 .sp-dash-orders .p9-widget-link{padding:15px 22px;background:#fbfcff;color:var(--dash-blue);font-size:11px}
.sp-dashboard-v2 .sp-dash-orders .p3-orders .p3-unavailable-content{height:auto;min-height:190px}
.sp-dashboard-v2 .sp-dash-card,.sp-dashboard-v2 .sp-dash-tools{background:#fff;border:1px solid var(--dash-border);border-radius:12px;padding:21px 22px;min-width:0}
.sp-dashboard-v2 .sp-dash-stock .sp-dash-widget-head{margin-bottom:21px;align-items:center}
.sp-dashboard-v2 .sp-dash-text-link{display:inline-flex;align-items:center;gap:6px;color:#4265d3;font-size:10.5px;font-weight:760;white-space:nowrap}
.sp-dashboard-v2 .sp-dash-text-link:hover{color:#1741cc}
.sp-dashboard-v2 .sp-dash-stock-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sp-dashboard-v2 .sp-dash-stock-item{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;min-height:127px;padding:15px 15px 13px;border:1px solid #e9edf4;background:#f9fbfe;border-radius:10px;color:var(--dash-ink);transition:border-color .18s ease,background .18s ease}
.sp-dashboard-v2 .sp-dash-stock-item:hover{border-color:#b9c9f7;background:#f4f7ff}
.sp-dashboard-v2 .sp-dash-stock-index{font-size:9px;font-weight:790;letter-spacing:.07em;color:#9eabc0}
.sp-dashboard-v2 .sp-dash-stock-label{font-size:10.5px;line-height:1.45;font-weight:630;color:#7788a0;min-height:30px}
.sp-dashboard-v2 .sp-dash-stock-item strong{margin-top:auto;font-size:26px;font-weight:830;letter-spacing:-.7px;color:#1b3153}
.sp-dashboard-v2 .sp-dash-storefront .p7-dashboard-widget{margin:0;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f6f8ff;border:1px solid #e1e8fb;box-shadow:none}
.sp-dashboard-v2 .sp-dash-storefront .p7-dashboard-widget h2{font-size:14px}
.sp-dashboard-v2 .sp-dash-storefront .p7-dashboard-widget p{font-size:10.5px}
.sp-dashboard-v2 .sp-dash-storefront .p7-dashboard-widget .btn{white-space:nowrap}
.sp-dashboard-v2 .sp-dash-tools{padding:21px 0 6px}
.sp-dashboard-v2 .sp-dash-tools .sp-dash-widget-head{padding:0 21px 15px}
.sp-dashboard-v2 .sp-dash-tool-list{display:grid}
.sp-dashboard-v2 .sp-dash-tool{display:flex;align-items:center;gap:12px;padding:13px 21px;min-height:65px;border-top:1px solid #f0f2f6;transition:background .18s ease}
.sp-dashboard-v2 .sp-dash-tool:hover{background:#f7f9ff}
.sp-dashboard-v2 .sp-dash-tool-icon{width:36px;height:36px;border-radius:10px;flex:none;display:grid;place-items:center;background:#f1f5ff;color:#4770d9}
.sp-dashboard-v2 .sp-dash-tool-copy{display:grid;gap:4px;flex:1;min-width:0}
.sp-dashboard-v2 .sp-dash-tool-copy strong{font-size:11.5px;font-weight:750;color:#243951}
.sp-dashboard-v2 .sp-dash-tool-copy small{font-size:10px;color:#94a2b5;line-height:1.5}
.sp-dashboard-v2 .sp-dash-tool>svg:last-child{color:#9eacc0;flex:none}
.sp-dashboard-v2 .sp-dash-activity .p3-panel{padding:21px 22px}
.sp-dashboard-v2 .sp-dash-activity .p3-activity-list{margin-top:16px}
.sp-dashboard-v2 .sp-dash-activity .p3-activity-item{border-bottom:1px solid #f0f3f7;padding:13px 0}
.sp-dashboard-v2 .sp-dash-activity .p3-activity-item:last-child{border-bottom:0}
.sp-dashboard-v2 .sp-dash-activity .p3-no-activity{min-height:122px;padding:17px 0 5px}
.sp-dashboard-v2 .sp-dash-activity .p3-no-activity>svg{width:24px;height:24px}
.sp-dashboard-v2 .sp-dash-legal{display:flex;align-items:center;gap:8px;margin-top:22px;font-size:10px;color:#94a2b5;line-height:1.6}
.sp-dashboard-v2 .sp-dash-legal svg{flex:none}
.sp-dashboard-v2 a:focus-visible,.sp-dashboard-v2 button:focus-visible{outline:2px solid #315cf5;outline-offset:3px}
@media(max-width:1180px){.sp-dashboard-v2 .sp-dash-columns{grid-template-columns:minmax(0,1.4fr) minmax(285px,1fr)}.sp-dashboard-v2 .sp-dash-overview .p3-metric-card{padding-left:14px;padding-right:14px}}
@media(max-width:980px){.sp-dashboard-v2 .sp-dash-columns{grid-template-columns:minmax(0,1fr)}.sp-dashboard-v2 .sp-dash-primary,.sp-dashboard-v2 .sp-dash-secondary{gap:16px}.sp-dashboard-v2 .sp-dash-overview .p3-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}.sp-dashboard-v2 .sp-dash-overview .p3-metric-card:nth-child(3){border-left:0;padding-left:0}}
@media(max-width:620px){.sp-dashboard-v2 .sp-dash-overview{padding:18px 16px}.sp-dashboard-v2 .sp-dash-overview .sp-dash-widget-head{flex-wrap:wrap}.sp-dashboard-v2 .sp-dash-overview .p3-metric-card{padding-left:11px;padding-right:8px;min-height:105px}.sp-dashboard-v2 .sp-dash-overview .p3-metric-value{font-size:26px}.sp-dashboard-v2 .sp-dash-overview .p3-metric-bottom{flex-wrap:wrap;white-space:normal}.sp-dashboard-v2 .sp-dash-card{padding:18px 16px}.sp-dashboard-v2 .sp-dash-stock-items{grid-template-columns:1fr}.sp-dashboard-v2 .sp-dash-stock-item{min-height:76px;display:grid;grid-template-columns:28px 1fr auto;align-items:center}.sp-dashboard-v2 .sp-dash-stock-label{min-height:0}.sp-dashboard-v2 .sp-dash-stock-item strong{margin:0;font-size:23px}.sp-dashboard-v2 .sp-dash-stock .sp-dash-widget-head{flex-wrap:wrap}.sp-dashboard-v2 .sp-dash-storefront .p7-dashboard-widget{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.sp-dashboard-v2 .sp-dash-stock-item,.sp-dashboard-v2 .sp-dash-tool{transition:none}}
