/* ==========================================================================
   Account_Style.css — Login.html + Dashboard.html
   ========================================================================== */

/* ---------- shared auth page shell ---------- */
.auth-page{
  min-height:calc(100dvh - var(--nav-h) - 90px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:48px 20px 64px;
}
.auth-card{
  width:100%;max-width:420px;
  background:var(--surface);
  border:1.5px solid var(--line);
  border-radius:var(--r-lg);
  padding:28px 24px 30px;
  box-shadow:var(--sh-lg);
}
@media (min-width:520px){ .auth-card{padding:36px 34px 34px;} }

.auth-toggle{
  display:flex;gap:4px;padding:4px;
  background:var(--paper-2);
  border:1px solid var(--line);
  border-radius:999px;
  margin-bottom:26px;
}
.auth-opt{
  flex:1;
  font-family:'Inter',sans-serif;
  font-size:14px;font-weight:600;
  color:var(--ink-3);
  background:transparent;border:none;
  padding:11px 14px;border-radius:999px;
  cursor:pointer;
  min-height:42px;
  transition:background .18s,color .18s;
}
.auth-opt.is-on{background:var(--surface);color:var(--ink);box-shadow:var(--sh-sm);}

.auth-title{font-size:24px;margin-bottom:6px;}
.auth-sub{font-size:14.5px;color:var(--ink-3);margin-bottom:22px;line-height:1.5;}

.auth-form .field{margin-bottom:16px;}
.auth-form .btn{margin-top:6px;}

.auth-forgot{
  display:block;width:100%;
  margin-top:14px;
  font-family:'Inter',sans-serif;
  font-size:13.5px;font-weight:600;
  color:var(--ink-3);
  background:none;border:none;cursor:pointer;
  text-align:center;
  padding:6px;
}
.auth-forgot:hover{color:var(--navy);}

.auth-ok{
  font-size:13.5px;color:var(--sage);
  background:var(--sage-lt);
  border-radius:var(--r-sm);
  padding:10px 12px;
  margin-bottom:14px;
}

.auth-note{
  max-width:420px;margin:20px auto 0;
  text-align:center;
  font-size:13px;color:var(--ink-4);
  line-height:1.5;
}

.auth-terms{
  font-size:12px;color:var(--ink-4);
  line-height:1.5;text-align:center;
  margin-top:14px;
}
.auth-terms a{color:var(--accent-text);font-weight:600;text-decoration:underline;text-underline-offset:2px;}

/* Password widget styles live in Site.css: the checkout signup form uses the
   same markup and doesn't load this file. */


/* ==========================================================================
   Dashboard
   ========================================================================== */
.dash-page{padding:32px 0 64px;}

/* voorbeeld-melding */
.demo-banner{
  display:flex;gap:12px;align-items:flex-start;
  background:var(--navy-lt);
  border:1px solid rgba(18,33,58,.18);
  border-radius:var(--r);
  padding:14px 16px;
  margin-bottom:24px;
  font-size:14px;color:var(--ink-2);
  line-height:1.55;
}
.demo-ico{
  flex-shrink:0;width:22px;height:22px;border-radius:50%;
  background:var(--navy);color:#fff;
  display:grid;place-items:center;font-size:11px;
}
.demo-banner b{color:var(--ink);}

.dash-head{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:16px;flex-wrap:wrap;
  margin-bottom:26px;
}
.dash-hello{min-width:0;}
.dash-hello h1{font-size:clamp(24px,3.4vw,32px);margin-bottom:5px;}
.dash-hello p{font-size:14.5px;color:var(--ink-3);}
.dash-head-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}

.dash-loading{
  display:flex;align-items:center;gap:10px;
  padding:60px 0;color:var(--ink-3);font-size:14.5px;
}
.dash-loading .spin{
  width:16px;height:16px;border-radius:50%;
  border:2px solid var(--line-2);border-top-color:var(--navy);
  animation:dashspin .7s linear infinite;
}
@keyframes dashspin{ to{transform:rotate(360deg);} }

.dash-error{
  background:var(--red-lt);color:var(--red);
  border-radius:var(--r);padding:14px 16px;
  font-size:14px;margin-bottom:20px;
}

/* ---------- status pills: colour + icon + label, never colour alone ------- */
.st{
  display:inline-flex;align-items:center;gap:6px;
  font-family:'Inter',sans-serif;
  font-size:12.5px;font-weight:600;
  padding:5px 11px;border-radius:999px;
  white-space:nowrap;
}
.st-i{
  display:inline-grid;place-items:center;
  width:14px;height:14px;flex-shrink:0;
  border-radius:50%;
  font-size:9px;font-weight:700;
  color:#fff;              /* glyph */
  line-height:1;
}
.st-good{background:var(--sage-lt);color:var(--sage);}
.st-good .st-i{background:var(--sage);}
.st-warn{background:var(--amber-lt);color:var(--amber);}
.st-warn .st-i{background:var(--amber);}
.st-bad{background:var(--red-lt);color:var(--red);}
.st-bad .st-i{background:var(--red);}
.st-info{background:var(--navy-lt);color:var(--navy);}
.st-info .st-i{background:var(--navy);}
.st-idle{background:var(--paper-2);color:var(--ink-3);}
.st-idle .st-i{background:var(--ink-3);}
.st-sm{font-size:11.5px;padding:3px 9px;}

/* ---------- KPI row: stat tiles, not charts ------------------------------ */
.kpi-row{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;
  margin-bottom:32px;
}
@media (min-width:820px){ .kpi-row{grid-template-columns:repeat(4,1fr);gap:16px;} }
.kpi{
  background:var(--surface);
  border:1.5px solid var(--line);
  border-radius:var(--r-lg);
  padding:18px 18px 16px;
  display:flex;flex-direction:column;gap:3px;
  min-width:0;
}
.kpi-label{
  font-size:11.5px;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-4);
}
/* proportional figures: these are display numbers, not a column */
.kpi-value{
  font-family:'Inter',sans-serif;
  font-size:30px;font-weight:800;
  color:var(--ink);letter-spacing:-.03em;line-height:1.1;
  overflow-wrap:anywhere;
}
.kpi-of{font-size:16px;font-weight:600;color:var(--ink-4);letter-spacing:0;}
.kpi-sub{font-size:12.5px;color:var(--ink-3);line-height:1.4;}

/* ---------- controls: domain picker + detail level ----------------------- */
.dash-controls{
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;flex-wrap:wrap;
  margin:0 0 14px;
}
.svc-picker{display:flex;gap:8px;flex-wrap:wrap;min-width:0;}
.svc-chip{
  font-family:inherit;
  font-size:13.5px;font-weight:600;
  padding:7px 14px;border-radius:999px;
  background:var(--surface);
  border:1.5px solid var(--line);
  color:var(--ink-3);
  cursor:pointer;
  transition:border-color .15s,color .15s,background .15s;
  overflow-wrap:anywhere;
}
.svc-chip:hover{color:var(--ink);border-color:var(--line-2);}
.svc-chip.is-on{background:var(--navy);border-color:var(--navy);color:#fff;}

/* Segmented control. Same shape as the billing toggle on the landing page,
   so the interaction is already familiar by the time someone gets here. */
.mode-toggle{
  display:inline-flex;
  background:var(--paper-2);
  border:1.5px solid var(--line);
  border-radius:999px;
  padding:3px;
  flex-shrink:0;
}
.mode-opt{
  font-family:inherit;
  font-size:13px;font-weight:600;
  padding:7px 15px;border:0;border-radius:999px;
  background:transparent;color:var(--ink-3);
  cursor:pointer;white-space:nowrap;
  transition:background .15s,color .15s;
}
.mode-opt:hover{color:var(--ink);}
.mode-opt.is-on{background:var(--surface);color:var(--navy);box-shadow:var(--sh-sm);}

/* ---------- view tabs: hosting / domein / betaling ----------------------- */
.view-tabs{
  display:flex;gap:4px;
  border-bottom:1.5px solid var(--line);
  margin-bottom:20px;
  overflow-x:auto;
  scrollbar-width:none;
}
.view-tabs::-webkit-scrollbar{display:none;}
.view-tab{
  display:inline-flex;align-items:center;gap:8px;
  font-family:inherit;
  font-size:14.5px;font-weight:600;
  padding:12px 16px;
  background:none;border:0;
  border-bottom:2.5px solid transparent;
  margin-bottom:-1.5px;
  color:var(--ink-3);
  cursor:pointer;white-space:nowrap;
  transition:color .15s,border-color .15s;
}
.view-tab:hover{color:var(--ink);}
.view-tab.is-on{color:var(--navy);border-bottom-color:var(--navy);}
.vt-ico{font-size:12px;opacity:.75;}

/* ---------- widget grid -------------------------------------------------- */
.wdg-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-bottom:14px;
}
@media (min-width:680px){
  .wdg-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (min-width:1020px){
  .wdg-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
.wdg{
  background:var(--surface);
  border:1.5px solid var(--line);
  border-radius:var(--r-lg);
  padding:18px 18px 16px;
  min-width:0;
  display:flex;flex-direction:column;
}
/* A widget with a table or YAML block in it has to be able to shrink, or the
   content forces the whole grid wider than the viewport. */
@media (min-width:680px){
  .wdg-wide{grid-column:span 2;}
  .wdg-full{grid-column:1 / -1;}
}
.wdg-title{
  font-size:11.5px;font-weight:700;
  letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink-4);
  margin-bottom:12px;
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
}
.wdg-lede{
  font-size:18px;font-weight:700;color:var(--ink);
  line-height:1.25;overflow-wrap:anywhere;
  margin-bottom:8px;
}
.wdg-note{font-size:12.5px;color:var(--ink-3);line-height:1.5;margin-top:8px;}
.wdg-help-body{font-size:13.5px;color:var(--ink-3);line-height:1.55;margin-bottom:14px;}
.wdg .btn{margin-top:auto;}
.wdg .kv{margin:0;}
.wdg .notice{margin:0;}
.wdg .meter + .meter{margin-top:14px;}
.chip-row{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:10px;}

/* big-number widget */
.wdg-stat{justify-content:flex-start;}
.stat-big{
  font-size:clamp(26px,3.4vw,32px);
  font-weight:700;letter-spacing:-.02em;
  color:var(--ink);line-height:1.1;
  overflow-wrap:anywhere;
}
.stat-unit{font-size:17px;font-weight:600;color:var(--ink-4);letter-spacing:0;}
.stat-sm{font-size:20px;}
.stat-sub{font-size:12.5px;color:var(--ink-3);line-height:1.45;margin-top:7px;}

/* A pill inside a stat widget shouldn't inherit the 32px display size. */
.wdg-stat .stat-big .st{font-size:13px;font-weight:600;letter-spacing:0;}

.dash-foot-grid{
  display:grid;grid-template-columns:1fr;gap:14px;
  margin-top:28px;
}
@media (min-width:680px){
  .dash-foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

.dash-section-title{
  font-size:12px;font-weight:700;
  letter-spacing:.09em;text-transform:uppercase;
  color:var(--ink-4);
  margin-bottom:14px;
}

.dash-empty{
  background:var(--paper-2);
  border-radius:var(--r-lg);
  padding:34px 24px;text-align:center;
}
.dash-empty p{font-size:14.5px;color:var(--ink-3);margin-bottom:16px;}

.dash-empty{
  background:var(--paper-2);
  border-radius:var(--r-lg);
  padding:34px 24px;text-align:center;
}
.dash-empty p{font-size:14.5px;color:var(--ink-3);margin-bottom:16px;}

/* ---------- products / upsell ------------------------------------------- */
.prod-block{margin-top:28px;}
.prod-intro{
  font-size:14.5px;color:var(--ink-3);
  line-height:1.6;max-width:520px;
  margin:-6px 0 18px;
}
.prod-grid{
  display:grid;grid-template-columns:1fr;gap:12px;
}
@media (min-width:640px){ .prod-grid{grid-template-columns:repeat(3,1fr);} }
.prod{
  display:flex;flex-direction:column;
  background:var(--surface);
  border:1.5px solid var(--line);
  border-radius:var(--r-lg);
  padding:20px 18px 18px;
  transition:border-color .16s;
  min-width:0;
}
.prod:hover{border-color:var(--line-2);}
.prod-ico{
  width:38px;height:38px;border-radius:11px;
  background:var(--navy-lt);color:var(--navy);
  display:grid;place-items:center;
  font-size:17px;margin-bottom:13px;
}
.prod h3{font-size:16px;margin-bottom:6px;line-height:1.3;}
.prod p{
  font-size:13.5px;color:var(--ink-3);
  line-height:1.55;flex:1;margin-bottom:16px;
}
.prod .btn{align-self:flex-start;}

/* ---------- key/value lists --------------------------------------------- */
.kv{margin:0;}
.kv > div{
  display:flex;align-items:baseline;justify-content:space-between;gap:14px;
  padding:9px 0;
  border-bottom:1px dashed var(--line);
}
.kv > div:last-child{border-bottom:none;}
.kv dt{font-size:12.5px;color:var(--ink-3);flex-shrink:0;}
.kv dd{
  margin:0;text-align:right;
  font-size:13.5px;font-weight:600;color:var(--ink);
  overflow-wrap:anywhere;min-width:0;
}
.kv .dim{font-weight:400;color:var(--ink-4);}
.idcode{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:11.5px;font-weight:500;
  background:var(--paper-2);
  padding:2px 6px;border-radius:5px;
  overflow-wrap:anywhere;
}

/* ---------- service card ------------------------------------------------- */
.svc{
  background:var(--surface);
  border:1.5px solid var(--line);
  border-radius:var(--r-lg);
  margin-bottom:16px;
  overflow:hidden;
}
.svc-head{
  display:flex;align-items:flex-start;justify-content:space-between;
  gap:14px;flex-wrap:wrap;
  padding:20px 22px 16px;
}
.svc-id{min-width:0;}
.svc-head h3{
  font-size:21px;margin-bottom:3px;
  overflow-wrap:anywhere;line-height:1.25;
}
.svc-meta{font-size:12.5px;color:var(--ink-4);}
.svc-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-shrink:0;}
.plan-chip{
  font-size:12px;font-weight:700;
  background:var(--ink);color:#fff;
  padding:5px 11px;border-radius:999px;
}

.svc-tabs{
  display:flex;gap:2px;
  padding:0 12px;
  border-bottom:1.5px solid var(--line);
  overflow-x:auto;scrollbar-width:none;
}
.svc-tabs::-webkit-scrollbar{display:none;}
.svc-tab{
  font-family:'Inter',sans-serif;
  font-size:13.5px;font-weight:600;
  color:var(--ink-3);
  background:none;border:none;
  border-bottom:2.5px solid transparent;
  margin-bottom:-1.5px;
  padding:12px 14px;
  cursor:pointer;white-space:nowrap;
  min-height:44px;
  transition:color .15s,border-color .15s;
}
.svc-tab:hover{color:var(--ink);}
.svc-tab.is-on{color:var(--navy);border-bottom-color:var(--navy);}

.svc-panel{padding:20px 22px 22px;}
.sub-title{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  font-family:'Inter',system-ui,sans-serif;
  font-size:16px;font-weight:600;color:var(--ink);
  margin:0 0 12px;
}
.svc-panel .sub-title:not(:first-child){margin-top:26px;}

/* facts */
.fact-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;
  margin-bottom:22px;
}
@media (min-width:700px){ .fact-grid{grid-template-columns:repeat(4,1fr);} }
.fact{display:flex;flex-direction:column;gap:2px;min-width:0;}
.fact-k{font-size:11.5px;font-weight:600;color:var(--ink-4);text-transform:uppercase;letter-spacing:.05em;}
.fact-v{font-size:15px;font-weight:700;color:var(--ink);overflow-wrap:anywhere;}
.fact-s{font-size:12px;color:var(--ink-3);}

/* meters — fill carries severity, track is a lighter step of the same ramp */
.meters{display:grid;grid-template-columns:1fr;gap:14px;}
@media (min-width:700px){ .meters{grid-template-columns:1fr 1fr;gap:16px 28px;} }
.meter{min-width:0;}
.meter-top{
  display:flex;align-items:baseline;justify-content:space-between;
  gap:10px;margin-bottom:6px;
}
.meter-label{font-size:13px;font-weight:600;color:var(--ink-2);}
.meter-val{font-size:12.5px;color:var(--ink-3);font-variant-numeric:tabular-nums;}
.meter-val b{color:var(--ink);font-weight:700;}
.meter-track{
  height:8px;border-radius:999px;
  background:var(--navy-lt);
  overflow:hidden;
}
.meter-fill{height:100%;border-radius:999px;transition:width .4s var(--ease);}
.meter-good{background:var(--navy);}
.meter-warn{background:var(--amber);}
.meter-bad{background:var(--red);}

/* notices */
.notice{
  display:flex;gap:11px;align-items:flex-start;
  border-radius:var(--r);
  padding:13px 15px;margin-top:20px;
  font-size:13.5px;line-height:1.55;
}
.notice > span{
  flex-shrink:0;width:20px;height:20px;border-radius:50%;
  display:grid;place-items:center;
  font-size:11px;font-weight:700;color:#fff;
}
.notice b{font-weight:700;}
.notice-good{background:var(--sage-lt);color:var(--ink-2);}
.notice-good > span{background:var(--sage);}
.notice-warn{background:var(--amber-lt);color:var(--ink-2);}
.notice-warn > span{background:var(--amber);}

/* domein & ssl split */
.split{display:grid;grid-template-columns:1fr;gap:26px;}
@media (min-width:760px){ .split{grid-template-columns:1fr 1fr;gap:34px;} }

/* container table */
.ctable{
  width:100%;border-collapse:collapse;
  font-size:13px;
  min-width:560px;
}
.ctable th{
  text-align:left;
  font-size:11px;font-weight:700;
  letter-spacing:.07em;text-transform:uppercase;
  color:var(--ink-4);
  padding:0 12px 9px 0;
  border-bottom:1.5px solid var(--line);
  white-space:nowrap;
}
.ctable td{
  padding:12px 12px 12px 0;
  border-bottom:1px solid var(--line);
  vertical-align:middle;
}
.ctable tr:last-child td{border-bottom:none;}
.ctable .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap;}
.ctable td b{color:var(--ink);font-weight:700;display:block;}
.ct-ports{display:block;font-size:11.5px;color:var(--ink-4);margin-top:1px;}
.ct-img{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px;color:var(--ink-3);
}
.ct-tag{color:var(--navy);font-weight:600;}

.net-line{margin-top:18px;}

/* yaml */
.yaml-wrap{
  border:1.5px solid var(--line);
  border-radius:var(--r);
  overflow:hidden;
}
.yaml-bar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  background:var(--paper-2);
  border-bottom:1.5px solid var(--line);
  padding:9px 12px;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px;color:var(--ink-3);
}
.yaml-copy{
  font-family:'Inter',sans-serif;
  font-size:12px;font-weight:600;
  color:var(--navy);
  background:var(--surface);
  border:1px solid var(--line-2);
  border-radius:7px;
  padding:5px 11px;cursor:pointer;
  min-height:32px;
}
.yaml-copy:hover{background:var(--navy);color:#fff;border-color:var(--navy);}
.yaml-wrap pre{
  margin:0;padding:16px;
  background:var(--ink);
  color:#D8E0EC;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:12px;line-height:1.65;
  overflow-x:auto;
  max-height:420px;overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.yaml-note{
  font-size:12px;color:var(--ink-3);
  margin-top:10px;line-height:1.5;
}
.yaml-note code{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:11.5px;
  background:var(--paper-2);padding:1px 5px;border-radius:4px;
}

/* ---------- billing card ------------------------------------------------- */
.sub-row{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;flex-wrap:wrap;
  padding-bottom:14px;margin-bottom:4px;
  border-bottom:1px solid var(--line);
}
.sub-amount{
  font-family:'Inter',sans-serif;
  font-size:20px;font-weight:800;color:var(--ink);
  letter-spacing:-.02em;
}
.sub-amount small{font-size:12px;font-weight:600;color:var(--ink-4);}

.inv-title{margin-top:20px;}
.inv-list{list-style:none;padding:0;margin:0;}
.inv-list li{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;padding:9px 0;
  border-bottom:1px dashed var(--line);
}
.inv-list li:last-child{border-bottom:none;}
.inv-l{display:flex;flex-direction:column;gap:1px;min-width:0;}
.inv-l b{font-size:12.5px;font-weight:700;color:var(--ink);overflow-wrap:anywhere;}
.inv-l .dim{font-size:11.5px;color:var(--ink-4);}
.inv-r{display:flex;align-items:center;gap:9px;flex-shrink:0;}
.inv-amt{
  font-size:13px;font-weight:700;color:var(--ink);
  font-variant-numeric:tabular-nums;
}
