@import url("/templates/orderforms/vds_cloud_cart/assets/css/style.css?v=17");

/* Header alignment override removed: was forcing the global header into a 1200px
   container which squashed the navigation. Use the site-wide header layout. */

/* VPS orderform specific adjustments */
content .hero.vds-bg {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(18, 20, 28, 1) 100%), url(/templates/orderforms/cloud_cart/img/pages/vds/bg.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Tier switcher */
content .vps-tier-switcher {
  padding: 70px 0 60px 0;
  background: transparent;
}

content .vps-tier-switcher .container {
  max-width: 1080px;
}

content .vps-tier-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

content .vps-tier-head h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
}

content .tier-eyebrow {
  display: inline-flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(0, 121, 255, 0.18);
  border: 1px solid rgba(0, 121, 255, 0.35);
  color: var(--text);
}

content .vps-tier-head p {
  margin: 0;
  color: var(--gray);
  line-height: 1.7;
  font-size: 16px;
}

/* Product grid: show four cards per row on wide screens */
content .vps-orderform .vds-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
  justify-content: center;
}

content .vps-orderform .vds-card {
  flex: 1 1 calc((100% - 66px) / 4);
  max-width: 290px;
  min-width: 260px;
}

@media (max-width: 1100px) {
  content .vps-orderform .vds-card {
    flex: 1 1 calc((100% - 44px) / 3);
  }
}

@media (max-width: 900px) {
  content .vps-orderform .vds-card {
    flex: 1 1 calc((100% - 22px) / 2);
  }
}

@media (max-width: 640px) {
  content .vps-orderform .vds-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

content .vps-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

content .vps-tier-card {
  background: linear-gradient(180deg, #1f2233 0%, var(--lightdark, #1A1C29) 60%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

content .vps-tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 121, 255, 0.35);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4);
}

content .vps-tier-card .tier-card-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

content .vps-tier-card h3 {
  font-size: 21px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

content .vps-tier-card p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

content .tier-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 999px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray);
}

content .tier-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

content .tier-specs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
}

content .tier-specs li i {
  color: var(--gray);
  font-size: 15px;
  opacity: 0.8;
}

content .tier-specs li span {
  flex: 0 0 auto;
  color: var(--gray);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12.5px;
  opacity: 0.85;
}

content .tier-specs li b {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
}

content .tier-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  background: var(--darkerblue, #0171f0);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

content .tier-cta:hover {
  transform: translateY(-2px);
  background: var(--blue, #0079ff);
  box-shadow: 0 10px 24px rgba(0, 121, 255, 0.35);
}

content .tier-cta:focus {
  outline: 2px solid rgba(0, 121, 255, 0.6);
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  content .vps-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


@media (max-width: 768px) {
  content .vps-tier-switcher {
    padding: 50px 0 20px 0;
  }

  content .vps-tier-head {
    margin-bottom: 32px;
  }

  content .vps-tier-grid {
    grid-template-columns: 1fr;
  }

  content .vps-tier-card {
    padding: 24px 22px;
  }
}

@media (max-width: 480px) {
  content .vps-tier-head h2 {
    font-size: 28px;
  }

  content .vps-tier-card h3 {
    font-size: 20px;
  }

  content .tier-cta {
    width: 100%;
  }
}

/* Budget VPS: Windows niet ondersteund notice */
.os-budget-note {
    margin: 8px auto 24px auto;
    padding: 12px 16px;
    background: rgba(255, 165, 0, 0.10);
    border-left: 4px solid #ff9d00;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    max-width: 760px;
    text-align: left;
}
.os-budget-note i { color: #ff9d00; margin-right: 6px; }
.os-budget-note b { color: #ffb84d; }

/* === Tier-specific styling: Budget / Normaal / Premium === */

/* Budget = teal accent */
content .vps-tier-card--budget {
  border-top: 3px solid #2dd4bf;
}
content .vps-tier-card--budget:hover {
  border-color: rgba(45, 212, 191, 0.4);
  box-shadow: 0 20px 40px rgba(45, 212, 191, 0.14);
}
content .vps-tier-card--budget .tier-chip {
  background: rgba(45, 212, 191, 0.14);
  border-color: rgba(45, 212, 191, 0.4);
  color: #5eead4;
}
content .vps-tier-card--budget .tier-specs li i {
  color: #2dd4bf;
  opacity: 1;
}

/* Normaal = blue accent */
content .vps-tier-card--standard {
  border-top: 3px solid var(--blue, #0079ff);
}
content .vps-tier-card--standard:hover {
  border-color: rgba(0, 121, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 121, 255, 0.16);
}
content .vps-tier-card--standard .tier-chip {
  background: rgba(0, 121, 255, 0.14);
  border-color: rgba(0, 121, 255, 0.4);
  color: #6db8ff;
}
content .vps-tier-card--standard .tier-specs li i {
  color: var(--blue, #0079ff);
  opacity: 1;
}

/* Premium = violet/indigo featured accent */
content .vps-tier-card--premium {
  border-top: 3px solid #8b5cf6;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.09) 0%, var(--lightdark, #1A1C29) 60%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}
content .vps-tier-card--premium:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 44px rgba(139, 92, 246, 0.22);
}
content .vps-tier-card--premium .tier-chip {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  border-color: transparent;
  color: #ffffff;
}
content .vps-tier-card--premium .tier-specs li i {
  color: #a78bfa;
  opacity: 1;
}
content .vps-tier-card--premium:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 44px rgba(139, 92, 246, 0.22);
}
content .vps-tier-card--premium .tier-cta {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #ffffff;
}
content .vps-tier-card--premium .tier-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(139, 92, 246, 0.4);
}
content .vps-tier-card--premium .tier-specs li i {
  color: #a78bfa;
}

/* Recommended flag on premium card */
content .tier-flag-recommended {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(139, 92, 246, 0.4);
}

/* Spacing for inline NL flag inside tier specs */
content .tier-specs li b .flag-nl {
  margin-right: 8px;
  vertical-align: -1px;
  flex-shrink: 0;
}

/* Active tier card (matches the page you're currently on) */
content .vps-tier-card.is-active {
  outline: 2px solid rgba(0, 121, 255, 0.85);
  outline-offset: -2px;
  box-shadow: 0 18px 40px rgba(0, 121, 255, 0.25);
}
content .vps-tier-card.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(120% 80% at 50% 0%, rgba(0,121,255,0.10), transparent 60%);
  pointer-events: none;
}
content .vps-tier-card--premium.is-active {
  outline-color: rgba(139, 92, 246, 0.85);
  box-shadow: 0 18px 40px rgba(139, 92, 246, 0.28);
}
content .vps-tier-card--premium.is-active::after {
  background: radial-gradient(120% 80% at 50% 0%, rgba(139, 92, 246, 0.14), transparent 60%);
}

/* "Huidige pagina" badge */
content .tier-flag-current {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, #0079ff, #4db9ff);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(0, 121, 255, 0.4);
  z-index: 2;
}
content .vps-tier-card--premium .tier-flag-current {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(139, 92, 246, 0.4);
}

/* Tone down inline <b> inside tier description paragraphs */
content .vps-tier-card .tier-card-head p,
content .vps-tier-card .tier-card-head p b,
content .vps-tier-card .tier-card-head p strong {
  font-weight: 400;
}

/* Fair-use / info icon next to spec values */
content .vds-card-grid { overflow: visible; }
content .vds-card { position: relative; }
content .vds-card:has(.fair-use-info:hover),
content .vds-card:has(.fair-use-info:focus) {
  z-index: 100;
}
content .vds-card-specs .spec {
  justify-content: flex-start;
  padding-right: 10px;
  overflow: visible;
}
content .vds-card-specs .spec > span {
  white-space: nowrap;
  min-width: 0;
  flex: 0 1 auto;
}
content .vds-card-specs .fair-use-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 6px;
  color: rgba(180, 210, 255, 0.55);
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  outline: none;
  transition: color 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}
content .vds-card-specs .fair-use-info:hover,
content .vds-card-specs .fair-use-info:focus {
  color: #4db9ff;
  transform: scale(1.08);
}
content .vds-card-specs .fair-use-info i {
  pointer-events: none;
  font-size: 12px;
  line-height: 14px;
  vertical-align: top;
}
content .vds-card-specs .fair-use-info::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(4px);
  background: linear-gradient(180deg, #0e1726, #0a111d);
  color: #e6f0ff;
  border: 1px solid rgba(77, 185, 255, 0.35);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  width: max-content;
  max-width: 240px;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  z-index: 50;
}
content .vds-card-specs .fair-use-info::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(77, 185, 255, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 50;
}
content .vds-card-specs .fair-use-info:hover::after,
content .vds-card-specs .fair-use-info:focus::after,
content .vds-card-specs .fair-use-info:hover::before,
content .vds-card-specs .fair-use-info:focus::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Mobile: enlarge tap target and let tooltip toggle on tap (:focus) */
@media (max-width: 720px) {
  content .vds-card-specs .fair-use-info {
    width: 22px;
    height: 22px;
    font-size: 14px;
    margin-left: 8px;
    color: rgba(180, 210, 255, 0.85);
  }
  content .vds-card-specs .fair-use-info i {
    font-size: 15px;
    line-height: 22px;
  }
  /* keep tooltip inside viewport on small screens */
  content .vds-card-specs .fair-use-info::after {
    max-width: min(260px, calc(100vw - 32px));
    font-size: 12px;
  }
}
