@import url("https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Titillium Web", sans-serif;
  color: var(--text);
  margin: 0 16px;
}

:root {
  --bg: #f4f8fb;
  --light-blue: #e6f6fb;
  --brand-blue: #0099d6;
  --muted: #7a8791;
  --text: #17313f;
}

.topnav {
  display: flex;
  gap: 4px;
}

.topnav a {
  text-decoration: none;
  color: var(--text);
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 6px;
  margin-top: 12px;
}

.topnav a.active {
  background: rgba(15, 15, 15, 0.762);
  color: #fff;
}

.topnav a:hover {
  background: rgba(15, 15, 15, 0.171);
}

.divider {
  flex: 1;
  height: 2px;
  background: rgba(15, 15, 15, 0.171);
  margin-top: 6px;
  opacity: 0.5;
}

.logo {
  width: 150px;
}

.card {
  background: linear-gradient(180deg, var(--light-blue), #eaf6fb);
  border-radius: 0px;
  padding: 22px;
}

.payment-section {
  display: grid;
  gap: 12px;
}

.payment-section .item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  border: 1px solid rgba(23, 49, 63, 0.32);
  border-radius: 0;
  background: transparent;
  position: relative;
}

.payment-section .item.active {
  border-color: rgba(23, 49, 63, 0.85);
}

.payment-section .item.inactive {
  opacity: 0.85;
}

.payment-section .item.inactive span {
  position: absolute;
  top: -10px;
  right: 10px;
  background: #f08a9c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
}

.payment-section .item-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(6, 166, 219, 0.12);
  color: var(--text);
  font-size: 18px;
}

.payment-section .bancontact-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-width: 0;
}

.bancontact-logo {
  max-width: 220px;
  max-height: 48px;
  width: auto;
  height: auto;
  display: block;
  opacity: 0.5;
}

.payment-section .item-description {
  font-size: 13px;
  color: var(--muted);
}

.brand {
  font-size: 28px;
  margin-bottom: 10px;
}
.brand-light {
  color: #3fb0d9;
  font-weight: 600;
}
.brand-strong {
  color: #0b74a8;
  font-weight: 800;
  margin-left: 4px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.lead {
  color: var(--text);
  opacity: 0.9;
  font-size: 18px;
  margin-bottom: 18px;
  line-height: 1.45;
  padding: 0 16px;
}

.info-box {
  border-radius: 6px;
  padding: 16px 32px;
  padding-bottom: 6px;
}

.info {
  background: transparent;
}
.info .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px solid rgba(23, 49, 63, 0.06);
}
.label {
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}
.value {
  font-weight: 700;
  color: var(--text);
  font-size: 14px;
}

.amount-box {
  background: var(--brand-blue);
  color: #fff;
  text-align: center;
  padding: 12px 6px;
  border-radius: 4px;
  margin: 18px 0 0 0;
  margin-bottom: 0px;
}
.amount-label {
  font-size: 13px;
  opacity: 0.8;
  color: #fff;
}
.amount {
  font-size: 30px;
  font-weight: 600;
  margin-top: -5px;
  font-family: "Inter", sans-serif;
}

.date {
  font-size: 12px;
  opacity: 0.95;
  display: flex;
  justify-content: center;
  margin-bottom: 52px;
}

.cta {
  display: block;
  width: 100%;
  background: #06a6db;
  color: #fff;
  border: none;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(6, 140, 185, 0.12);
}

.cta:hover {
  background: #0b74a8;
}

.loading-overlay,
.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
  color: var(--text);
}

.loading-overlay.hidden,
.success-overlay.hidden {
  display: none;
}

.success-content {
  text-align: center;
  background: #fff;
  padding: 32px 26px;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  max-width: 340px;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #4caf50;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.success-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.success-text {
  color: #64748b;
  line-height: 1.6;
}

.success-screen {
  text-align: center;
}

.success-icon-page {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #4caf50;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.success-subtitle {
  margin-top: 16px;
  color: #64748b;
  line-height: 1.75;
}

.loading-content {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.loading-text {
  margin-top: 8px;
}

.loading-dots {
  display: inline-block;
  width: 1.2em;
  text-align: left;
}

.loading-dots::after {
  content: ".";
  animation: dots 1s steps(3, end) infinite;
}

@keyframes dots {
  0%,
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75%,
  100% {
    content: "...";
  }
}

.loading-spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border: 6px solid rgba(23, 49, 63, 0.18);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-input {
  width: 100%;
  border: 1px solid rgba(23, 49, 63, 0.18);
  border-radius: 0;
  padding: 14px 16px;
  background: #ffffff;
  color: var(--text);
  font-size: 14px;
}

.form-input:focus {
  border-color: rgba(23, 49, 63, 0.35);
  outline: none;
}

.form-input.error {
  border-color: #d32f2f;
  box-shadow: inset 0 0 0 1px rgba(211, 47, 47, 0.25);
}

.payment-form {
  display: grid;
  gap: 16px;
}

.payment-form .form-row {
  display: grid;
  gap: 8px;
}

.payment-form .form-row.split-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.payment-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.payment-form .cta {
  width: 100%;
}

.field-error {
  color: #d32f2f;
  font-size: 13px;
  margin-top: 6px;
}

.footer {
  margin-top: 24px;
  padding: 18px 16px 8px;
  border-top: 1px solid rgba(23, 49, 63, 0.12);
  color: var(--muted);
  font-size: 12px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.footer-badge .black {
  background: #212121;
}

.footer-badge .yellow {
  background: #f0c419;
}

.footer-badge .red {
  background: #d52b1e;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-middle {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-copy {
  color: rgba(23, 49, 63, 0.65);
}

.form-error {
  color: #d32f2f;
  font-size: 14px;
  margin-top: 16px;
}

@media (max-width: 420px) {
  .container {
    padding: 0 12px;
  }
  .card {
    padding: 18px;
  }
}
