.brandadoc-payment-page {
  background: radial-gradient(circle at top right, #d3f4ec 0%, #f8f7f2 45%, #f5f4ef 100%);
  min-height: 70vh;
}

.brandadoc-payment-hero {
  padding: 130px 0 30px;
}

.brandadoc-payment-header {
  max-width: 820px;
}

.brandadoc-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  background: #0f766e;
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brandadoc-payment-header h1 {
  font-family: "ClashDisplay-Regular", sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  margin: 0 0 12px;
  color: #0f172a;
}

.brandadoc-payment-header p {
  max-width: 760px;
  margin: 0;
  color: #334155;
  font-size: 18px;
  line-height: 1.6;
}

.brandadoc-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  padding: 28px;
  height: 100%;
}

.brandadoc-card h2,
.brandadoc-card h3 {
  margin: 0 0 12px;
  color: #0f172a;
}

.brandadoc-muted {
  color: #475569;
  margin-bottom: 22px;
}

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

.brandadoc-field {
  display: grid;
  gap: 8px;
}

.brandadoc-field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brandadoc-field label {
  font-weight: 600;
  color: #0f172a;
}

.brandadoc-field input {
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.3;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#payment_amount {
  text-align: center;
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 22px);
}

.brandadoc-field input:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.15);
}

.brandadoc-field input[readonly] {
  background: #f8fafc;
  color: #0f766e;
  font-weight: 700;
}

.brandadoc-locked-note {
  margin: 0;
  color: #0f766e;
  font-size: 13px;
}

.brandadoc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border: 0;
  border-radius: 10px;
  padding: 13px 20px;
  background: #45e0a7;
  color: #053325;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.brandadoc-btn:hover {
  color: #053325;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(69, 224, 167, 0.35);
}

.brandadoc-btn[disabled],
.brandadoc-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.brandadoc-btn-outline {
  background: #ffffff;
  border: 1px solid #45e0a7;
  color: #0d7d59;
}

.brandadoc-btn-outline:hover {
  color: #0d7d59;
}

.brandadoc-alert {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
}

.brandadoc-alert-error {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.brandadoc-alert-success {
  background: #ecfdf3;
  color: #14532d;
  border: 1px solid rgba(22, 163, 74, 0.2);
}

.brandadoc-alert-info {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.brandadoc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.brandadoc-list li {
  position: relative;
  padding-left: 20px;
  color: #334155;
}

.brandadoc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f766e;
}

.brandadoc-info-box {
  margin-top: 18px;
  border-radius: 12px;
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: rgba(240, 253, 250, 0.7);
  padding: 14px;
}

.brandadoc-info-box p {
  margin: 0;
  color: #115e59;
}

.brandadoc-invoice-wrapper {
  max-width: 980px;
  margin: 0 auto;
}

.brandadoc-invoice-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.brandadoc-invoice-card {
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  padding: 28px;
}

.brandadoc-invoice-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.brandadoc-invoice-label {
  margin: 0;
  color: #64748b;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.brandadoc-invoice-top h2 {
  margin: 6px 0 0;
}

.brandadoc-right p {
  margin: 0 0 6px;
  color: #334155;
}

.brandadoc-invoice-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 24px;
}

.brandadoc-invoice-grid h4 {
  margin-bottom: 8px;
}

.brandadoc-invoice-grid p {
  margin: 0 0 6px;
  color: #334155;
}

.brandadoc-invoice-table {
  overflow-x: auto;
}

.brandadoc-invoice-table table {
  width: 100%;
  border-collapse: collapse;
}

.brandadoc-invoice-table th,
.brandadoc-invoice-table td {
  padding: 11px 10px;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.brandadoc-invoice-table thead th {
  background: #f8fafc;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #334155;
}

.brandadoc-invoice-table .text-right {
  text-align: right;
}

.brandadoc-invoice-table .text-center {
  text-align: center;
}

.brandadoc-invoice-bottom {
  margin-top: 18px;
  color: #334155;
}

.brandadoc-invoice-bottom p {
  margin: 0 0 8px;
}

@media (max-width: 991px) {
  .brandadoc-field-grid,
  .brandadoc-invoice-grid {
    grid-template-columns: 1fr;
  }

  .brandadoc-invoice-top {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .brandadoc-payment-hero {
    padding-top: 110px;
  }

  .brandadoc-card,
  .brandadoc-invoice-card {
    padding: 20px;
  }

  .brandadoc-btn {
    width: 100%;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  #brandadoc-invoice-card,
  #brandadoc-invoice-card * {
    visibility: visible;
  }

  #brandadoc-invoice-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
    border: 0;
    border-radius: 0;
  }
}
