:root {
  --black: #07090b;
  --dark: #11151b;
  --gold: #d7aa5c;
  --gold2: #b78534;
  --cream: #f6f1e9;
  --white: #fff;
  --muted: rgba(255,255,255,.72);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.maintenance-body {
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 20%, rgba(215,170,92,.22), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(135deg, #050607 0%, #111820 52%, #050607 100%);
}

.maintenance-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.maintenance-card {
  width: min(920px, 100%);
  min-height: 560px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 28px;
  padding: clamp(34px, 6vw, 70px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    rgba(0,0,0,.28);
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
  position: relative;
  overflow: hidden;
}

.maintenance-card::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -90px;
  width: 480px;
  height: 210px;
  border-radius: 90px 60px 30px 30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(0,0,0,.2)),
    #14191f;
  box-shadow: inset 0 14px 30px rgba(255,255,255,.05);
  opacity: .9;
}

.maintenance-card::before {
  content: "";
  position: absolute;
  right: 90px;
  bottom: 70px;
  width: 150px;
  height: 18px;
  border-radius: 50%;
  background: rgba(160,200,255,.7);
  box-shadow: 0 0 35px rgba(160,200,255,.75);
  opacity: .9;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 54px;
  position: relative;
  z-index: 2;
}

.logo {
  width: 54px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #080808;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -2px;
}

.brand-line strong,
.brand-line small {
  display: block;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.05;
}

.brand-line small {
  color: var(--muted);
  font-size: 12px;
}

.badge {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: .94;
  letter-spacing: -.06em;
  position: relative;
  z-index: 2;
}

p {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  position: relative;
  z-index: 2;
}

.highlight {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  border-left: 4px solid var(--gold);
  padding: 13px 0 13px 18px;
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
  position: relative;
  z-index: 2;
}

.contact-box {
  margin-top: 44px;
  width: min(620px, 100%);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.06);
  position: relative;
  z-index: 2;
}

.contact-box strong,
.contact-box span {
  display: block;
}

.contact-box span {
  color: var(--muted);
  margin-top: 4px;
}

.contact-box a {
  color: #111;
  background: linear-gradient(135deg, var(--gold), #e7bf76);
  padding: 13px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

footer {
  margin-top: 46px;
  color: rgba(255,255,255,.48);
  position: relative;
  z-index: 2;
}

.login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #f4f4f4;
  font-family: Arial, Helvetica, sans-serif;
}

.login-card {
  width: min(440px, calc(100vw - 32px));
  padding: 32px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,.08);
}

.login-card h1 {
  color: #111;
  font-size: 42px;
  letter-spacing: -.04em;
}

.login-card p {
  color: #555;
  font-size: 16px;
}

form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

label {
  font-weight: 700;
  color: #111;
}

input {
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 16px;
}

button {
  margin-top: 8px;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  background: #111;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.error {
  background: #fff1f1;
  border: 1px solid #e0aaaa;
  color: #8a1111;
  padding: 12px;
  border-radius: 12px;
}

.back-link {
  display: inline-block;
  margin-top: 18px;
  color: #555;
}

@media (max-width: 720px) {
  .maintenance-card {
    padding: 30px;
    min-height: auto;
  }

  .brand-line {
    margin-bottom: 38px;
  }

  .contact-box {
    display: grid;
  }

  .contact-box a {
    text-align: center;
  }

  .maintenance-card::after,
  .maintenance-card::before {
    opacity: .35;
  }
}



/* ===== Car Doctor Premium Beheerportaal ===== */

.portal-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 15%, rgba(215,170,92,.18), transparent 28%),
    linear-gradient(135deg, #050607 0%, #10151c 52%, #050607 100%);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  display: grid;
  grid-template-columns: 290px 1fr;
}

.portal-sidebar {
  min-height: 100vh;
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.34);
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 0;
}

.portal-brand {
  display: flex;
  gap: 13px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.portal-logo {
  width: 52px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d7aa5c, #a77425);
  color: #080808;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: -2px;
}

.portal-brand strong,
.portal-brand small {
  display: block;
  text-transform: uppercase;
  line-height: 1.05;
}

.portal-brand small {
  color: rgba(255,255,255,.64);
  font-size: 12px;
}

.portal-nav {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.portal-nav a,
.portal-logout {
  color: rgba(255,255,255,.78);
  text-decoration: none;
  padding: 13px 14px;
  border-radius: 13px;
  font-weight: 800;
}

.portal-nav a:hover,
.portal-nav a.active {
  background: rgba(255,255,255,.08);
  color: #fff;
}

.portal-logout {
  margin-top: auto;
  border: 1px solid rgba(255,255,255,.14);
  text-align: center;
}

.portal-main {
  padding: clamp(28px, 5vw, 64px);
}

.portal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.portal-eyebrow {
  color: #d7aa5c;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 13px;
}

.portal-top h1 {
  margin: 10px 0 12px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: .92;
  letter-spacing: -.06em;
}

.portal-top p,
.portal-panel p {
  color: rgba(255,255,255,.68);
  font-size: 18px;
  line-height: 1.55;
}

.portal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(28, 180, 92, .12);
  border: 1px solid rgba(28, 180, 92, .35);
  color: #92f2b6;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 900;
}

.portal-status-pill span {
  width: 9px;
  height: 9px;
  background: #35d878;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(53,216,120,.8);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}

.portal-tile {
  min-height: 190px;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 26px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.portal-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(215,170,92,.55);
  background:
    linear-gradient(135deg, rgba(215,170,92,.14), rgba(255,255,255,.04));
}

.portal-tile.primary {
  background:
    linear-gradient(135deg, rgba(215,170,92,.22), rgba(255,255,255,.05));
}

.tile-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #d7aa5c, #b78534);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 900;
}

.portal-tile h2 {
  margin: 4px 0 10px;
  font-size: 28px;
  letter-spacing: -.03em;
}

.portal-tile p {
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.5;
}

.tile-arrow {
  color: #d7aa5c;
  font-size: 28px;
  font-weight: 900;
}

.portal-panel {
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 28px;
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 28px;
}

.portal-panel h2 {
  margin: 8px 0 10px;
  font-size: 36px;
  letter-spacing: -.04em;
}

.system-list {
  display: grid;
  gap: 12px;
}

.system-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 15px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.08);
}

.system-list span {
  color: rgba(255,255,255,.62);
}

.portal-footer-note {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.44);
  font-size: 13px;
}

@media (max-width: 980px) {
  .portal-body {
    grid-template-columns: 1fr;
  }

  .portal-sidebar {
    position: relative;
    min-height: auto;
  }

  .portal-grid,
  .portal-panel {
    grid-template-columns: 1fr;
  }

  .portal-top {
    display: block;
  }

  .portal-status-pill {
    margin-top: 16px;
  }
}

@media (max-width: 620px) {
  .portal-main {
    padding: 24px 16px;
  }

  .portal-sidebar {
    padding: 20px;
  }

  .portal-tile {
    grid-template-columns: 1fr;
  }

  .system-list div,
  .portal-footer-note {
    display: grid;
  }
}
