/* V114ZOG16UI7 - CLIENT PORTAL POLISH + FINAL VISUAL HIERARCHY
   UI/UX ONLY. No SMS send, DLR, wallet, campaign, follow-up, payment or backend logic is changed here.
   Loads AFTER portal-ui6.css and intentionally contains visual overrides only.
*/
:root{
  --ui7-page:1880px;
  --ui7-ink:#f8fbff;
  --ui7-muted:#9eb2c7;
  --ui7-line:#24445e;
  --ui7-line-soft:#18384f;
  --ui7-panel:#0a2032;
  --ui7-panel-2:#0c263b;
  --ui7-shadow:0 18px 48px rgba(0,0,0,.16);
  --ui7-purple:#7c00ff;
  --ui7-magenta:#c51fce;
  --ui7-orange:#ff9a16;
}

/* Wider, calmer workspace */
body{background:radial-gradient(circle at 82% -20%,rgba(124,0,255,.08),transparent 34%),linear-gradient(180deg,#06131f 0%,#071724 55%,#06131f 100%)}
.topin{max-width:var(--ui7-page);padding:10px 20px;min-height:66px}
.shell{max-width:var(--ui7-page);width:calc(100% - 28px);grid-template-columns:238px minmax(0,1fr);gap:18px;padding:18px 0 48px}
.portalTabs{top:78px;padding:12px 10px;gap:3px;border-radius:18px;box-shadow:0 14px 40px rgba(0,0,0,.14)}
.portalTab{min-height:45px;padding:10px 11px 10px 42px;border-radius:11px;font-size:13px}
.portalTab[data-go="lifecycle"]{border-color:rgba(145,77,255,.24)}
.portalTab[data-go="lifecycle"]:after{content:"CORE";position:absolute;right:9px;top:50%;transform:translateY(-50%);font-size:8px;line-height:1;padding:4px 6px;border:1px solid rgba(189,147,255,.5);border-radius:999px;color:#d6b7ff;background:rgba(124,0,255,.10);letter-spacing:.08em;font-weight:900}
.portalTab[data-go="lifecycle"].active:after{border-color:rgba(255,255,255,.52);color:#fff;background:rgba(255,255,255,.08)}

/* Final portal brand treatment: master brand logo + product name */
.brand{gap:10px;font-size:15px;white-space:nowrap}
.brandMark{min-width:64px;width:64px;height:34px;padding:0;border-radius:0;background:url('/bulk-sms/assets/smm-africa-master.png') center/contain no-repeat!important;box-shadow:none!important;color:transparent!important;text-indent:-9999px;overflow:hidden}

/* Main content rhythm */
.shell>.section{padding:26px 30px 34px;border-radius:18px;border-color:var(--ui7-line-soft);background:linear-gradient(180deg,rgba(10,33,51,.98),rgba(8,27,43,.99));box-shadow:var(--ui7-shadow)}
.sectionTitleRow{gap:18px;margin-bottom:20px;align-items:flex-start}
.sectionTitleRow>div:first-child{min-width:0}
.section h2{font-size:30px;line-height:1.08;letter-spacing:-.035em;margin:2px 0 8px}
.section h3{font-size:18px;line-height:1.25;letter-spacing:-.018em}
.brandEyebrow{font-size:10px;letter-spacing:.15em;color:#c18dff;margin-bottom:6px}
.muted{color:var(--ui7-muted)}

/* Page guide becomes a compact help strip instead of a dominant card */
.pageGuideV114ZMI{padding:12px 14px!important;margin:0 0 18px!important;border-radius:14px!important;background:rgba(7,25,40,.82)!important;border-color:#23465f!important}
.pageGuideV114ZMI .pageGuideHead{margin:0 0 9px!important}
.pageGuideV114ZMI .pageGuideHead h3{font-size:14px!important;margin:7px 0 0!important}
.pageGuideV114ZMI .pageGuideHead p{display:none!important}
.pageGuideV114ZMI .chip{font-size:9px!important;padding:3px 7px!important}
.pageGuideSteps{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px!important}
.pageGuideSteps span{min-height:38px!important;display:flex!important;align-items:center!important;padding:8px 10px!important;border-radius:10px!important;background:#0a2236!important;border:1px solid #26465e!important;font-size:11px!important;line-height:1.35!important}

/* Cards: softer, consistent, less engineering-console density */
.innerCard,.deliveryCard,.clientCard,.journeyRowV114ZOG16K9,.campaignToolbarV114ZOG16K{border-color:#1f4058;background:linear-gradient(180deg,#091f31,#081c2d);border-radius:15px}
.innerCard{padding:20px 20px 21px;margin-top:18px}
.metric{min-height:98px;padding:15px 15px 13px;border-radius:15px;background:linear-gradient(180deg,#0d2941,#0a2236);border-color:#2a4b65;box-shadow:none}
.metric small{font-size:11px;letter-spacing:.01em}
.metric strong{font-size:26px;margin-top:7px}
.grid6,.grid5,.grid4,.grid3,.grid2{gap:11px}
.followupJourneyCardV114ZOG16K9{border-color:rgba(124,0,255,.46)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.02)!important}
.journeyRowV114ZOG16K9{padding:16px!important}

/* Form and CTA rhythm */
input,select,textarea{min-height:46px;border-radius:12px;background:#061827;border-color:#31536e;padding:11px 13px}
textarea{min-height:130px}
button,.btn{min-height:43px;border-radius:11px;padding-left:14px;padding-right:14px}
.purple{background:linear-gradient(100deg,var(--ui7-purple),var(--ui7-magenta) 56%,var(--ui7-orange));box-shadow:0 10px 24px rgba(124,0,255,.15)}
.btn2{background:#163149;border-color:#36556d}
.fullCta{min-height:50px}
.status{border-radius:12px;padding:11px 13px}
.tablewrap{border-radius:14px;border-color:#24465f;background:#071b2b}
th{padding:12px 12px;background:#0c2a42}
td{padding:12px 12px}

/* Dashboard and content zones */
.smsActivityQuickV114ZMI,.liveContactFeedCard,.contactExplorer{margin-top:20px!important}
.recipientSelectionSummary{padding:15px 16px;border-radius:14px}
.campaignToolbarV114ZOG16K{padding:14px}
.deliveryCard{padding:20px}

/* Login: show the master brand clearly without adding synthetic imagery */
.login{max-width:500px;padding:30px 32px 32px;border-radius:22px}
.login.brandPanel:before{content:"";display:block;width:112px;height:62px;margin:0 auto 8px;background:url('/bulk-sms/assets/smm-africa-master.png') center/contain no-repeat}
.login .brandEyebrow{text-align:center;margin-bottom:4px}
.login .hero{text-align:center;font-size:29px}
.login>p.muted{text-align:center;margin:5px auto 20px;max-width:390px}
.login .status{font-size:12px;line-height:1.45}

/* Drawers / overlays */
.drawerbody{width:min(1080px,92vw);padding:24px 26px;background:#061726}
.notificationPanel{border-radius:14px;box-shadow:0 24px 58px rgba(0,0,0,.32)}

/* Desktop scaling */
@media(min-width:1500px){
  .topin,.shell{max-width:var(--ui7-page)}
  .shell{grid-template-columns:244px minmax(0,1fr);gap:20px}
  .shell>.section{padding:28px 32px 36px}
  .grid6{grid-template-columns:repeat(6,minmax(0,1fr))}
  .grid5{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(min-width:1050px) and (max-width:1499px){
  .shell{width:calc(100% - 24px);grid-template-columns:224px minmax(0,1fr);gap:14px}
  .shell>.section{padding:22px}
  .grid6{grid-template-columns:repeat(3,minmax(0,1fr))}
  .grid5{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1049px){
  .pageGuideSteps{grid-template-columns:1fr!important}
  .shell{width:auto;padding:12px 10px 30px}
  .shell>.section{padding:18px 16px 24px}
}
@media(max-width:620px){
  .brand{font-size:0}.brandMark{width:58px;min-width:58px;height:32px}
  .sectionTitleRow{gap:10px}
  .section h2{font-size:24px}
  .metric{min-height:90px}
  .login{margin:18px 10px;padding:24px 18px}
}
