/* Mr Pinkys Tracker V3.12.103 — modern customer-facing portal */
:root{
  --cp-ink:#2d2530;--cp-muted:#746a74;--cp-line:#eadce5;--cp-soft:#fbf8fb;
  --cp-pink:#e94d98;--cp-purple:#7e61db;--cp-blue:#3d8ee8;--cp-teal:#27a89f;
  --cp-green:#2c9b67;--cp-orange:#e69a24;--cp-red:#c93e58;
}
body.customer-portal{background:#f8f7fa!important;color:var(--cp-ink)!important}
body.customer-portal:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:
 radial-gradient(circle at 7% 8%,rgba(233,77,152,.08),transparent 22%),
 radial-gradient(circle at 92% 18%,rgba(126,97,219,.08),transparent 26%),
 linear-gradient(180deg,#fff,#f8f7fa 30%,#f5f8fc 100%)}
.customer-portal .top{padding:12px max(18px,calc((100vw - 1120px)/2));border-bottom:1px solid #eadfe6!important;box-shadow:0 4px 18px rgba(68,45,66,.05)}
.customer-portal .top .brand img{width:76px;height:58px}
.customer-portal .top .brand b{font-size:20px;letter-spacing:-.02em}
.customer-portal .wrap{max-width:1120px;padding:20px}
.customer-portal .test{background:#33283a!important;font-size:11px;letter-spacing:.05em}
.customer-portal .card{border-color:var(--cp-line);box-shadow:0 8px 28px rgba(73,50,74,.07);border-radius:20px}
.customerHero{position:relative;overflow:hidden;border-radius:28px;padding:26px;background:
 linear-gradient(130deg,#30243a 0%,#633f75 36%,#c83f87 72%,#e95d9f 100%);color:#fff;box-shadow:0 18px 44px rgba(87,50,93,.2);margin-bottom:15px}
.customerHero:after{content:"";position:absolute;width:270px;height:270px;border-radius:50%;right:-95px;top:-120px;background:rgba(255,255,255,.1)}
.customerHero .label,.customerHero .muted{color:rgba(255,255,255,.82)!important}
.customerHero h1{font-size:32px;line-height:1.05;margin:5px 0 7px;letter-spacing:-.035em;max-width:720px}
.customerHeroInner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:center}
.customerHeroActions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}
.customerHeroActions .btn{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(4px)}
.customerHeroStatus{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:20px;padding:16px;backdrop-filter:blur(6px)}
.customerHeroStatus .heroStatusEyebrow{font-size:11px;font-weight:950;letter-spacing:.06em;color:rgba(255,255,255,.74)}
.customerHeroStatus .heroStatusTitle{font-size:21px;font-weight:950;margin-top:6px}
.customerHeroStatus .heroStatusText{font-size:13px;line-height:1.4;color:rgba(255,255,255,.82);margin-top:5px}
.customerHeroStatus.urgent{background:rgba(128,16,42,.42);border-color:rgba(255,255,255,.28)}
.customerHeroStatus.ready{background:rgba(16,94,72,.38)}
.customerHeroStatus.clear{background:rgba(22,76,112,.34)}
.modernQuickGrid{display:grid;grid-template-columns:1.15fr 1fr .9fr;gap:12px;margin:0 0 14px}
.customerActionCard{border:1px solid var(--cp-line);background:#fff;border-radius:22px;padding:18px;box-shadow:0 8px 28px rgba(73,50,74,.06);min-height:160px;display:flex;flex-direction:column;justify-content:space-between}
.customerActionCard h3{font-size:20px;margin:5px 0 6px;letter-spacing:-.02em}
.customerActionCard p{margin:0;color:var(--cp-muted);font-size:13px;line-height:1.45}
.customerActionCard.collectionPrimary{background:linear-gradient(145deg,#e9fbf8,#f5fbff);border-color:#bee8e2}
.customerActionCard.nextAction{background:linear-gradient(145deg,#fff4f9,#fff);border-color:#f3cadc}
.customerActionCard.helpAction{background:linear-gradient(145deg,#f2efff,#fff);border-color:#dcd2ff}
.actionEyebrow{font-size:10px;font-weight:950;letter-spacing:.08em;color:var(--cp-muted)}
.actionButtons{display:flex;gap:7px;flex-wrap:wrap;margin-top:14px}
.actionButtons .btn{min-height:46px}
.actionButtons a.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.customer-portal .grid.portalStats{gap:10px;margin-bottom:14px}
.customer-portal .portalStats .card{padding:15px 16px;margin:0}
.customer-portal .portalStats .stat{font-size:29px;margin-top:4px}
.customer-portal .portalStats .small{font-size:11px}
.customer-portal .statPink{background:linear-gradient(145deg,#db4b91,#ef72ad)}
.customer-portal .statBlue{background:linear-gradient(145deg,#387fd0,#5aa8f2)}
.customer-portal .statOrange{background:linear-gradient(145deg,#efaa39,#ffd074)}
.customer-portal .statGreen{background:linear-gradient(145deg,#319864,#63be86)}
.customer-portal .sectionCard,.customer-portal .newsSection{overflow:hidden;padding:0;margin-bottom:12px;border-radius:22px}
.customer-portal .sectionHead{padding:15px 18px;border-bottom:1px solid transparent}
.customer-portal .sectionHead h2{font-size:19px;letter-spacing:-.02em}
.customer-portal .sectionBody{padding:14px 18px 18px}
.customer-portal .sectionCard.collapsed .sectionHead{border-bottom-color:transparent}
.customer-portal .toggleBtn{min-width:74px;box-shadow:none;border:1px solid #e5dbe2;background:#fff}
.customer-portal .sectionPink .sectionHead{background:linear-gradient(90deg,#fff3f8,#fff)}
.customer-portal .sectionBlue .sectionHead{background:linear-gradient(90deg,#f0f7ff,#fff)}
.customer-portal .sectionGreen .sectionHead{background:linear-gradient(90deg,#eef9f3,#fff)}
.customer-portal .sectionOrange .sectionHead{background:linear-gradient(90deg,#fff8eb,#fff)}
.customer-portal .sectionPurple .sectionHead{background:linear-gradient(90deg,#f5f1ff,#fff)}
.customerOrder{border:1px solid #e6dce4;border-radius:19px;background:#fff;margin-bottom:10px;overflow:hidden;box-shadow:0 5px 16px rgba(57,40,58,.04)}
.customerOrder:last-child{margin-bottom:0}
.customerOrderTop{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:15px 16px 11px}
.customerOrderNo{font-size:17px;font-weight:950;letter-spacing:-.01em}
.customerOrderMeta{font-size:11px;color:var(--cp-muted);margin-top:3px}
.customerStatus{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:950;white-space:nowrap}
.customerStatus:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.7}
.status-at-laundry{background:#eef5ff;color:#2c6cad}.status-in-processing{background:#f1edff;color:#6b50bb}.status-ready{background:#eaf8ef;color:#24784d}.status-out-for-delivery{background:#fff4d8;color:#8b5d09}.status-completed{background:#eaf8ef;color:#24784d}
.orderAttention{margin:0 16px 12px;padding:9px 11px;border-radius:12px;font-size:12px;font-weight:900}
.orderAttention.overdue{background:#ffe9ed;color:#9d2e45;border:1px solid #f6c5cf}
.orderAttention.soon{background:#fff4d8;color:#80530b;border:1px solid #f4d796}
.orderAttention.ontrack{background:#eef7ff;color:#2d6b9f;border:1px solid #cae0f1}
.orderMetrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:0 16px 13px}
.orderMetric{background:#faf8fa;border:1px solid #eee6ec;border-radius:13px;padding:10px}
.orderMetric span{display:block;font-size:9px;font-weight:950;letter-spacing:.06em;color:var(--cp-muted);margin-bottom:4px}
.orderMetric b{font-size:12px}
.orderProgress{padding:3px 16px 14px}
.orderProgressTrack{display:grid;grid-template-columns:repeat(5,1fr);position:relative;gap:0}
.orderProgressTrack:before{content:"";position:absolute;height:3px;left:9%;right:9%;top:8px;background:#e6dde4;border-radius:99px}
.orderStep{position:relative;text-align:center;z-index:1}
.orderStep i{display:block;width:17px;height:17px;border-radius:50%;background:#eee6ec;border:3px solid #fff;box-shadow:0 0 0 1px #ddd2da;margin:0 auto 6px}
.orderStep span{font-size:9px;font-weight:850;color:#938792;line-height:1.15;display:block}
.orderStep.done i{background:var(--cp-green);box-shadow:0 0 0 1px var(--cp-green)}
.orderStep.done span{color:#39745a}
.orderStep.current i{background:var(--cp-pink);box-shadow:0 0 0 2px rgba(233,77,152,.25)}
.orderStep.current span{color:#9d336b}
.orderNext{border-top:1px solid #eee5eb;padding:11px 16px;background:#fcfbfc;display:flex;justify-content:space-between;gap:12px;align-items:center}
.orderNextText{font-size:12px;color:var(--cp-muted);line-height:1.35}
.orderNextText b{color:var(--cp-ink)}
.orderNext .btn{min-height:40px;padding:9px 12px;font-size:12px}
.collectionRequestCard{border:1px solid #e2dbe3;border-radius:17px;padding:14px;margin-bottom:9px;background:#fff}
.collectionRequestCard:last-child{margin-bottom:0}
.collectionRequestTop{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.requestNext{font-size:12px;color:var(--cp-muted);margin-top:8px;padding-top:8px;border-top:1px solid #eee5eb}
.portalPreferences{border:1px solid var(--cp-line);border-radius:18px;background:#fff;margin:12px 0;padding:0 16px;box-shadow:0 5px 18px rgba(73,50,74,.04)}
.portalPreferences summary{cursor:pointer;padding:13px 0;font-size:12px;font-weight:950;color:#5b4f5a;list-style:none}
.portalPreferences summary::-webkit-details-marker{display:none}
.portalPreferences summary:after{content:"+";float:right;font-size:18px;line-height:12px}
.portalPreferences[open] summary:after{content:"−"}
.portalPreferencesBody{padding:0 0 15px}
.portalPreferences .viewchips{margin-top:8px}
.portalPreferences .viewchip{font-size:11px;padding:7px 9px}
.customer-portal .newsBanner{box-shadow:none}
.customer-portal .empty{background:#fbfafb;padding:24px}
.portalFooterBrand{font-weight:900;color:#5f5360}
@media(max-width:900px){
 .customerHeroInner{grid-template-columns:1fr}.customerHeroActions{justify-content:flex-start}.customerHeroStatus{max-width:none}
 .modernQuickGrid{grid-template-columns:1fr 1fr}.customerActionCard.helpAction{grid-column:1/-1;min-height:auto}
 .orderMetrics{grid-template-columns:1fr 1fr}.orderMetric:last-child{grid-column:1/-1}
}
@media(max-width:620px){
 .customer-portal .wrap{padding:12px}.customer-portal .top{padding:10px 12px}
 .customer-portal .top .brand img{width:62px;height:48px}.customer-portal .top .brand b{font-size:16px}
 .customerHero{padding:20px;border-radius:22px}.customerHero h1{font-size:27px}
 .modernQuickGrid{grid-template-columns:1fr}.customerActionCard{min-height:auto}
 .customer-portal .portalStats{display:grid!important;grid-template-columns:1fr 1fr}.customer-portal .portalStats .c3{margin:0!important}
 .orderMetrics{grid-template-columns:1fr 1fr;padding-inline:12px}.customerOrderTop{padding-inline:12px}.orderAttention{margin-inline:12px}.orderProgress{padding-inline:10px}.orderStep span{font-size:8px}
 .orderNext{align-items:flex-start;flex-direction:column}.orderNext .btn{width:100%}
}

/* Keep welcome text and controls readable on the gradient. */
.customerHero h1,.customerHero .btn,.customerHero button{color:#fff!important}
.customerHero .btn{background:#ffffff20;border:1px solid #ffffff60}
.customerHero .btn:hover,.customerHero .btn:focus-visible{background:#ffffff38;outline:2px solid #fff;outline-offset:2px}
