/* K&D Freight HOTFIX 145 — Customer Portal light TMS theme.
   Scoped to .kd-customer-light so the staff TMS/shared app.css is not changed. */

body.kd-customer-light{
  --bg:#eef4f8;
  --panel:#ffffff;
  --panel2:#f7fafc;
  --input:#ffffff;
  --line:#d3dee7;
  --text:#18344b;
  --muted:#6d8293;
  --blue:#2d78b8;
  --blue2:#4b96cf;
  --green:#21865c;
  --amber:#b47716;
  --red:#b6424d;
  --purple:#7659a7;
  margin:0;
  background:#eef4f8;
  color:var(--text);
}

.kd-customer-light .shell{background:#eef4f8}
.kd-customer-light .sidebar{
  background:#e8f0f6;
  border-right:1px solid #cad8e3;
  box-shadow:none;
}
.kd-customer-light .sidebrand{padding-top:6px}
.kd-customer-light .logo{
  background:#2d78b8;
  color:#fff;
  border-radius:10px;
  box-shadow:none;
}
.kd-customer-light .sidebrand h1{color:#16344d;font-weight:900}
.kd-customer-light .sidebrand small{color:#70879a}
.kd-customer-light .userchip{
  background:#f8fbfd;
  border-color:#cad8e3;
  color:#5e7588;
  box-shadow:none;
}
.kd-customer-light .userchip strong{color:#16344d}
.kd-customer-light .navbtn{
  color:#416077;
  border:1px solid transparent;
}
.kd-customer-light .navbtn:hover{
  background:#f7fbfe;
  color:#174c76;
  border-color:#d5e1ea;
}
.kd-customer-light .navbtn.active{
  background:#dcebf7;
  color:#174f7c;
  border-color:#b9d2e5;
  box-shadow:inset 3px 0 0 #2d78b8;
}
.kd-customer-light .main{
  background:#f4f7fa;
  min-height:100vh;
}
.kd-customer-light .topbar h2{
  color:#173a59;
  font-size:26px;
  letter-spacing:-.02em;
}
.kd-customer-light .topbar p{color:#708497}
.kd-customer-light .customer-eyebrow{
  display:block;
  margin-bottom:5px;
  font-size:9px;
  line-height:1;
  font-weight:900;
  letter-spacing:.11em;
  color:#2d78b8;
}
.kd-customer-light .customer-hero{
  padding:18px 20px;
  background:#fff;
  border:1px solid #d2dee7;
  border-radius:16px;
  margin-bottom:14px;
}
.kd-customer-light .cards{gap:12px}
.kd-customer-light .metric{
  background:#fff;
  border-color:#d2dee7;
  border-radius:14px;
  box-shadow:0 2px 8px rgba(24,58,89,.04);
}
.kd-customer-light .metric span{color:#71879a}
.kd-customer-light .metric strong{color:#173a59}
.kd-customer-light .panel{
  background:#fff;
  border-color:#d2dee7;
  border-radius:15px;
  box-shadow:0 2px 9px rgba(24,58,89,.045);
}
.kd-customer-light .panel h3{color:#173a59;font-size:16px}
.kd-customer-light .sub{color:#71879a}
.kd-customer-light label{color:#587083}
.kd-customer-light input,
.kd-customer-light select,
.kd-customer-light textarea{
  background:#fff;
  color:#17344b;
  border-color:#c5d4df;
  box-shadow:inset 0 1px 1px rgba(20,55,80,.02);
}
.kd-customer-light input:focus,
.kd-customer-light select:focus,
.kd-customer-light textarea:focus{
  border-color:#5697c8;
  box-shadow:0 0 0 3px rgba(45,120,184,.10);
}
.kd-customer-light .btn{
  background:#fff;
  color:#264b68;
  border-color:#bdcedb;
  box-shadow:none;
}
.kd-customer-light .btn:hover{background:#f1f7fb;border-color:#9fb8ca}
.kd-customer-light .btn.primary{
  background:#2d78b8;
  border-color:#2d78b8;
  color:#fff;
}
.kd-customer-light .btn.primary:hover{background:#246da8}
.kd-customer-light .btn.red{
  background:#fff4f4;
  border-color:#e0b6ba;
  color:#9e3340;
}
.kd-customer-light .tablewrap{
  border-color:#d3dee7;
  background:#fff;
  border-radius:11px;
}
.kd-customer-light table{
  background:#fff;
  color:#29465d;
}
.kd-customer-light th{
  background:#eaf1f6;
  color:#597185;
  border-bottom:1px solid #cbd9e3;
}
.kd-customer-light td{
  border-bottom:1px solid #e0e8ee;
}
.kd-customer-light tbody tr:hover{background:#f6f9fb}
.kd-customer-light .notice{
  background:#fff8e9;
  color:#785b1c;
  border-color:#e7d29f;
}
.kd-customer-light .pill.blue,.kd-customer-light .blue{background:#e3f0fa;color:#276b9e}
.kd-customer-light .pill.green,.kd-customer-light .green{background:#e4f4ec;color:#247352}
.kd-customer-light .pill.amber,.kd-customer-light .amber{background:#fff2d8;color:#91600e}
.kd-customer-light .pill.red,.kd-customer-light .red{background:#fde9eb;color:#9e3541}
.kd-customer-light .pill.purple,.kd-customer-light .purple{background:#eee9f8;color:#654d91}

/* Login */
.kd-customer-login .login{
  min-height:100vh;
  background:#eef4f8;
}
.kd-customer-login .loginbox{
  background:#fff;
  color:#17344b;
  border:1px solid #ccd9e3;
  border-radius:18px;
  box-shadow:0 18px 55px rgba(27,65,93,.12);
}
.kd-customer-login .loginbox h2{color:#173a59}
.kd-customer-login .loginbox a{color:#2b6f9f;font-weight:700}

/* Small polish for customer-facing booking form */
.kd-customer-portal #newbooking{border-top:3px solid #2d78b8}
.kd-customer-portal #orders{border-top:3px solid #5f8dab}
.kd-customer-portal #templates{border-top:3px solid #7398b2}
.kd-customer-portal #invoices{border-top:3px solid #4f886f}
.kd-customer-portal #account{border-top:3px solid #8a7baa}

@media(max-width:780px){
  .kd-customer-light .sidebar{
    background:#e8f0f6;
    border-right:0;
    border-bottom:1px solid #cad8e3;
  }
  .kd-customer-light .main{padding:12px}
  .kd-customer-light .customer-hero{padding:15px}
  .kd-customer-light .topbar h2{font-size:22px}
}


/* HOTFIX 146 — Customer Portal separate menu views */
.kd-customer-portal .customer-view{
  display:none !important;
  animation:kdPortalViewIn .16s ease-out;
}
.kd-customer-portal .customer-view.customer-view-active{
  display:block !important;
}
.kd-customer-portal #dashboard.customer-view-active{
  display:block !important;
}
.kd-customer-portal .customer-view-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:-2px 0 14px;
  padding-bottom:12px;
  border-bottom:1px solid #dce5ec;
}
.kd-customer-portal .customer-view-head span{
  display:block;
  margin-bottom:3px;
  font-size:8px;
  line-height:1;
  font-weight:900;
  letter-spacing:.11em;
  color:#2d78b8;
}
.kd-customer-portal .customer-view-head h3{
  margin:0;
  font-size:19px;
}
.kd-customer-portal .customer-view-active.panel{
  min-height:calc(100vh - 56px);
}
.kd-customer-portal .navbtn.active{
  pointer-events:none;
}
@keyframes kdPortalViewIn{
  from{opacity:.35;transform:translateY(3px)}
  to{opacity:1;transform:translateY(0)}
}
@media(max-width:780px){
  .kd-customer-portal .customer-view-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .kd-customer-portal .customer-view-active.panel{
    min-height:auto;
  }
}


/* HOTFIX 147 — Today's Orders + customer order detail modal */
.kd-customer-portal .customer-today-panel{
  margin-top:14px;
  min-height:0;
}
.kd-customer-portal .customer-empty-state{
  display:flex;
  flex-direction:column;
  gap:5px;
  align-items:flex-start;
  justify-content:center;
  min-height:115px;
  padding:18px;
  border:1px dashed #c7d7e2;
  border-radius:11px;
  background:#f8fbfd;
}
.kd-customer-portal .customer-empty-state b{font-size:14px;color:#294b65}
.kd-customer-portal .customer-empty-state span{font-size:10px;color:#71879a}
.kd-customer-portal .customer-order-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.kd-customer-portal .customer-order-modal.open{display:flex}
.kd-customer-portal .customer-order-backdrop{
  position:absolute;
  inset:0;
  background:rgba(21,45,64,.42);
  backdrop-filter:blur(2px);
}
.kd-customer-portal .customer-order-dialog{
  position:relative;
  z-index:1;
  width:min(760px,96vw);
  max-height:90vh;
  overflow:auto;
  background:#fff;
  border:1px solid #cbd9e3;
  border-radius:17px;
  box-shadow:0 24px 70px rgba(24,58,89,.22);
}
.kd-customer-portal .customer-order-dialog-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
  padding:18px 20px 14px;
  border-bottom:1px solid #dbe5ec;
}
.kd-customer-portal .customer-order-dialog-head span{
  display:block;
  margin-bottom:4px;
  color:#2d78b8;
  font-size:8px;
  font-weight:900;
  letter-spacing:.12em;
}
.kd-customer-portal .customer-order-dialog-head h3{
  margin:0;
  color:#173a59;
  font-size:20px;
}
.kd-customer-portal .customer-order-close{
  width:34px;
  height:34px;
  border:1px solid #cbd9e3;
  border-radius:9px;
  background:#f7fafc;
  color:#536d80;
  font-size:22px;
  line-height:28px;
  cursor:pointer;
}
.kd-customer-portal #customerOrderContent{padding:16px 20px}
.kd-customer-portal .customer-order-statusbar{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin-bottom:13px;
}
.kd-customer-portal .customer-order-statusbar>div{
  padding:9px 10px;
  border:1px solid #d4e0e8;
  border-radius:10px;
  background:#f5f9fc;
}
.kd-customer-portal .customer-order-statusbar span,
.kd-customer-portal .customer-order-field span,
.kd-customer-portal .customer-order-notes span{
  display:block;
  font-size:8px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#71879a;
}
.kd-customer-portal .customer-order-statusbar b{display:block;margin-top:3px;color:#1c4d72}
.kd-customer-portal .customer-order-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:9px;
}
.kd-customer-portal .customer-order-field{
  padding:10px;
  border:1px solid #dbe4eb;
  border-radius:10px;
}
.kd-customer-portal .customer-order-field b{
  display:block;
  margin-top:4px;
  color:#213f56;
  font-size:12px;
}
.kd-customer-portal .customer-order-notes{
  margin-top:10px;
  padding:11px;
  border:1px solid #dbe4eb;
  border-radius:10px;
  background:#fafcfd;
}
.kd-customer-portal .customer-order-notes p{
  margin:5px 0 0;
  white-space:pre-wrap;
  color:#314e63;
}
.kd-customer-portal .customer-order-dialog-foot{
  display:flex;
  justify-content:flex-end;
  padding:13px 20px;
  border-top:1px solid #dbe5ec;
  background:#f8fafc;
}
body.customer-modal-open{overflow:hidden}
@media(max-width:720px){
  .kd-customer-portal .customer-order-grid{grid-template-columns:1fr 1fr}
  .kd-customer-portal .customer-order-statusbar{grid-template-columns:1fr}
}
@media(max-width:480px){
  .kd-customer-portal .customer-order-grid{grid-template-columns:1fr}
}


/* HOTFIX 148 — Template booking + richer customer order details */
.kd-customer-portal .customer-use-template{
  min-width:92px;
}
.kd-customer-portal .customer-order-statusbar{
  grid-template-columns:repeat(4,1fr);
}
.kd-customer-portal .customer-order-section-title{
  margin:15px 0 7px;
  font-size:8px;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:#2d78b8;
}
.kd-customer-portal .customer-route-card{
  display:grid;
  grid-template-columns:1fr 70px 1fr;
  gap:10px;
  align-items:center;
  padding:13px;
  border:1px solid #d7e2ea;
  border-radius:12px;
  background:#f8fbfd;
}
.kd-customer-portal .customer-route-stop{
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.kd-customer-portal .customer-route-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  flex:0 0 28px;
  border-radius:50%;
  background:#2d78b8;
  color:#fff;
  font-size:11px;
  font-weight:900;
}
.kd-customer-portal .customer-route-stop small{
  display:block;
  color:#71879a;
  font-size:7px;
  font-weight:900;
  letter-spacing:.07em;
}
.kd-customer-portal .customer-route-stop b{
  display:block;
  margin-top:3px;
  color:#183f5f;
  font-size:14px;
}
.kd-customer-portal .customer-route-stop em{
  display:block;
  margin-top:3px;
  color:#71879a;
  font-size:9px;
  font-style:normal;
}
.kd-customer-portal .customer-route-line{
  height:2px;
  background:linear-gradient(90deg,#9bbbd2,#2d78b8,#9bbbd2);
  position:relative;
}
.kd-customer-portal .customer-route-line:after{
  content:'›';
  position:absolute;
  right:-2px;
  top:-10px;
  color:#2d78b8;
  font-size:20px;
  font-weight:900;
}
@media(max-width:720px){
  .kd-customer-portal .customer-order-statusbar{grid-template-columns:1fr 1fr}
  .kd-customer-portal .customer-route-card{grid-template-columns:1fr}
  .kd-customer-portal .customer-route-line{width:2px;height:25px;margin-left:13px}
  .kd-customer-portal .customer-route-line:after{display:none}
}


/* HOTFIX 149 — Restore full customer booking workflow */
.kd-customer-portal #newbooking.customer-view-active{
  min-height:calc(100vh - 32px);
}
.kd-customer-portal .customer-booking-block{
  margin-top:12px;
  padding:14px;
  border:1px solid #d2dee7;
  border-radius:13px;
  background:#fff;
}
.kd-customer-portal .customer-booking-block-head{
  display:flex;
  gap:9px;
  align-items:center;
  margin-bottom:12px;
  padding-bottom:9px;
  border-bottom:1px solid #e0e8ee;
}
.kd-customer-portal .customer-booking-block-head>span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;height:28px;flex:0 0 28px;
  border-radius:50%;
  background:#2d78b8;color:#fff;
  font-size:11px;font-weight:900;
}
.kd-customer-portal .customer-booking-block-head.collection>span{background:#2d78b8}
.kd-customer-portal .customer-booking-block-head.delivery>span{background:#497d9e}
.kd-customer-portal .customer-booking-block-head.load>span{background:#4c876f}
.kd-customer-portal .customer-booking-block-head b{display:block;color:#173a59;font-size:13px}
.kd-customer-portal .customer-booking-block-head small{display:block;margin-top:2px;color:#74899a;font-size:8px}
.kd-customer-portal .customer-booking-route{
  display:grid;
  grid-template-columns:minmax(0,1fr) 38px minmax(0,1fr);
  gap:8px;
  align-items:stretch;
}
.kd-customer-portal .customer-booking-route-arrow{
  display:flex;align-items:center;justify-content:center;
  color:#2d78b8;font-size:25px;font-weight:900;
}
.kd-customer-portal .customer-address{min-height:58px}
.kd-customer-portal .customer-notes{min-height:74px}
.kd-customer-portal .customer-time-row{margin-top:8px}
.kd-customer-portal .customer-booking-submit{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-top:13px;
  padding:14px 16px;
  border:1px solid #bad1e2;
  border-radius:13px;
  background:#eef6fb;
}
.kd-customer-portal .customer-booking-submit b{display:block;color:#173a59;font-size:13px}
.kd-customer-portal .customer-booking-submit span{display:block;margin-top:2px;color:#71879a;font-size:9px}
.kd-customer-portal .customer-send-order{min-width:150px}
.kd-customer-portal .customer-planner-message{
  margin-top:10px;padding:11px;
  border:1px solid #b9d4e7;border-left:4px solid #2d78b8;
  border-radius:10px;background:#eef7fd;
}
.kd-customer-portal .customer-planner-message span{
  display:block;font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#2d78b8
}
.kd-customer-portal .customer-planner-message p{margin:5px 0 0;color:#274b65;white-space:pre-wrap}
@media(max-width:950px){
  .kd-customer-portal .customer-booking-route{grid-template-columns:1fr}
  .kd-customer-portal .customer-booking-route-arrow{transform:rotate(90deg);height:20px}
}
@media(max-width:650px){
  .kd-customer-portal .customer-booking-submit{align-items:flex-start;flex-direction:column}
  .kd-customer-portal .customer-send-order{width:100%}
}

/* HOTFIX 150: template-to-booking full TMS data sync; no visual redesign. */


/* HOTFIX 151 — Use Template popup + Custom Booking reset */
.kd-customer-portal .customer-booking-head-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.kd-customer-portal .customer-booking-modal-close{
  display:none;
  width:36px;
  height:36px;
  border:1px solid #c7d7e2;
  border-radius:9px;
  background:#fff;
  color:#526f83;
  font-size:23px;
  line-height:30px;
  cursor:pointer;
}
body.customer-booking-popup-active{
  overflow:hidden;
}
.kd-customer-portal #newbooking.customer-booking-popup-open{
  display:block !important;
  position:fixed;
  z-index:12000;
  inset:3vh 4vw;
  width:auto;
  height:auto;
  min-height:0;
  max-height:94vh;
  overflow:auto;
  margin:0;
  padding:16px;
  border:1px solid #c8d8e3;
  border-radius:18px;
  background:#f7fafc;
  box-shadow:0 28px 90px rgba(20,50,72,.28);
}
.kd-customer-portal #newbooking.customer-booking-popup-open:before{
  content:'';
  position:fixed;
  z-index:-1;
  inset:0;
  background:rgba(25,46,62,.46);
  backdrop-filter:blur(2px);
}
.kd-customer-portal #newbooking.customer-booking-popup-open .customer-booking-modal-close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.kd-customer-portal #newbooking.customer-booking-popup-open .customer-view-head{
  position:sticky;
  top:-16px;
  z-index:4;
  margin:-16px -16px 12px;
  padding:14px 16px;
  background:#fff;
  border-bottom:1px solid #d8e3ea;
  border-radius:18px 18px 0 0;
}
.kd-customer-portal #newbooking.customer-booking-popup-open .customer-view-head>a{
  display:none;
}
@media(max-width:850px){
  .kd-customer-portal #newbooking.customer-booking-popup-open{
    inset:1.5vh 2vw;
    max-height:97vh;
    padding:11px;
  }
  .kd-customer-portal #newbooking.customer-booking-popup-open .customer-view-head{
    top:-11px;
    margin:-11px -11px 10px;
  }
}

/* HOTFIX 152 — View popup now prioritises accepted live TMS order data. */

/* HOTFIX 153 — customer order view privacy + historical template enrichment. */

/* HOTFIX 154 — historical same-customer route fallback for missing site/rate details. */

/* HOTFIX 155 — exact accepted_order_id TMS sync for customer-facing order details. */

/* HOTFIX 156 — accepted-order link works across legacy duplicate customer master IDs. */

/* HOTFIX 157 — customer View payload built directly from exact accepted TMS order row. */


/* HOTFIX 158 — Customer My Orders instant search */
.kd-customer-portal .customer-order-searchbar{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  padding:10px;
  border:1px solid #d4e0e8;
  border-radius:12px;
  background:#f7fafc;
}
.kd-customer-portal .customer-order-searchbox{
  flex:1;
  display:flex;
  align-items:center;
  gap:8px;
  min-width:220px;
  padding:0 10px;
  border:1px solid #c5d4df;
  border-radius:9px;
  background:#fff;
}
.kd-customer-portal .customer-order-searchbox:focus-within{
  border-color:#5697c8;
  box-shadow:0 0 0 3px rgba(45,120,184,.10);
}
.kd-customer-portal .customer-order-searchbox svg{
  width:16px;
  height:16px;
  flex:0 0 16px;
  stroke:#678197;
  fill:none;
  stroke-width:2;
}
.kd-customer-portal .customer-order-searchbox input{
  width:100%;
  padding:10px 0;
  border:0;
  outline:0;
  box-shadow:none;
  background:transparent;
  font-size:11px;
}
.kd-customer-portal .customer-order-search-count{
  min-width:65px;
  text-align:right;
  color:#71879a;
  font-size:9px;
  font-weight:800;
}
.kd-customer-portal .customer-order-no-results{
  margin-bottom:12px;
  padding:18px;
  border:1px dashed #c7d7e2;
  border-radius:11px;
  background:#f8fbfd;
}
.kd-customer-portal .customer-order-no-results b{
  display:block;
  color:#294b65;
  font-size:13px;
}
.kd-customer-portal .customer-order-no-results span{
  display:block;
  margin-top:4px;
  color:#71879a;
  font-size:9px;
}
@media(max-width:720px){
  .kd-customer-portal .customer-order-searchbar{
    align-items:stretch;
    flex-wrap:wrap;
  }
  .kd-customer-portal .customer-order-searchbox{
    flex-basis:100%;
  }
  .kd-customer-portal .customer-order-search-count{
    margin-left:auto;
    align-self:center;
  }
}


/* HOTFIX 160 — Customer Account / Profile & Security redesign */
.kd-customer-portal .customer-account-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:14px;
  align-items:start;
}
.kd-customer-portal .customer-account-card{
  background:#fff;
  border:1px solid #d2dee7;
  border-radius:15px;
  padding:18px;
  box-shadow:0 2px 9px rgba(24,58,89,.04);
}
.kd-customer-portal .customer-account-card-head{
  display:flex;
  align-items:center;
  gap:13px;
  padding-bottom:14px;
  margin-bottom:14px;
  border-bottom:1px solid #e0e8ee;
}
.kd-customer-portal .customer-account-card-head.simple{
  align-items:flex-start;
}
.kd-customer-portal .customer-account-card-head span{
  display:block;
  margin-bottom:4px;
  color:#2d78b8;
  font-size:8px;
  font-weight:900;
  letter-spacing:.1em;
}
.kd-customer-portal .customer-account-card-head h4{
  margin:0;
  color:#173a59;
  font-size:20px;
}
.kd-customer-portal .customer-account-card-head p{
  margin:4px 0 0;
  color:#71879a;
  font-size:10px;
}
.kd-customer-portal .customer-avatar{
  display:flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  flex:0 0 56px;
  border-radius:15px;
  background:#2d78b8;
  color:#fff;
  font-size:22px;
  font-weight:900;
}
.kd-customer-portal .customer-account-details{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}
.kd-customer-portal .customer-account-details>div{
  padding:12px;
  border:1px solid #dbe4eb;
  border-radius:11px;
  background:#fbfcfd;
}
.kd-customer-portal .customer-account-details span{
  display:block;
  color:#71879a;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.kd-customer-portal .customer-account-details b{
  display:block;
  margin-top:5px;
  color:#223f56;
  font-size:12px;
  word-break:break-word;
}
.kd-customer-portal .customer-account-info{
  margin-top:12px;
  padding:12px 13px;
  border:1px solid #cfe0eb;
  border-left:4px solid #2d78b8;
  border-radius:11px;
  background:#f2f8fc;
}
.kd-customer-portal .customer-account-info b{
  display:block;
  color:#244c69;
  font-size:11px;
}
.kd-customer-portal .customer-account-info span{
  display:block;
  margin-top:4px;
  color:#657c8f;
  font-size:9px;
  line-height:1.45;
}
.kd-customer-portal .customer-security-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:12px;
  background:#edf5fb;
  color:#2d78b8;
}
.kd-customer-portal .customer-security-icon svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
}
.kd-customer-portal .customer-password-form label{
  display:block;
  margin-bottom:6px;
}
.kd-customer-portal .customer-password-input{
  display:flex;
  align-items:center;
  border:1px solid #c5d4df;
  border-radius:9px;
  overflow:hidden;
  background:#fff;
}
.kd-customer-portal .customer-password-input:focus-within{
  border-color:#5697c8;
  box-shadow:0 0 0 3px rgba(45,120,184,.10);
}
.kd-customer-portal .customer-password-input input{
  flex:1;
  border:0;
  box-shadow:none;
  border-radius:0;
  min-width:0;
}
.kd-customer-portal .customer-password-toggle{
  align-self:stretch;
  padding:0 13px;
  border:0;
  border-left:1px solid #d6e1e8;
  background:#f7fafc;
  color:#315d7d;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}
.kd-customer-portal .customer-password-hint{
  margin:6px 0 12px;
  color:#71879a;
  font-size:8px;
}
.kd-customer-portal .customer-password-submit{
  min-width:150px;
}
.kd-customer-portal .customer-security-note{
  margin-top:16px;
  padding:12px;
  border:1px solid #e8d7aa;
  border-radius:11px;
  background:#fffaf0;
}
.kd-customer-portal .customer-security-note span{
  display:block;
  color:#8a6416;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.kd-customer-portal .customer-security-note p{
  margin:5px 0 0;
  color:#6f6040;
  font-size:9px;
  line-height:1.45;
}
@media(max-width:900px){
  .kd-customer-portal .customer-account-grid{
    grid-template-columns:1fr;
  }
}
@media(max-width:560px){
  .kd-customer-portal .customer-account-details{
    grid-template-columns:1fr;
  }
}

/* HOTFIX 166 — customer reference clarity */
.kd-customer-portal .customer-reference-note{
  margin:0 0 10px;
  padding:9px 11px;
  border:1px solid #cfe0eb;
  border-left:4px solid #2d78b8;
  border-radius:9px;
  background:#f3f8fc;
  color:#5b7487;
  font-size:9px;
  line-height:1.45;
}
.kd-customer-portal .customer-reference-note b{color:#234b68}
.kd-customer-portal .customer-reference-note strong{color:#2d78b8}
