:root {
  --brand: #168722;
  --brand-dark: #12651c;
  --ink: #102f17;
  --text: #24332a;
  --muted: #5d6d61;
  --line: #e6eee6;
  --soft: #f6fbf5;
  --danger: #b6261d;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(246, 251, 245, 0.96), rgba(246, 251, 245, 0.86)),
    url("/images/agri.png") center / cover fixed;
  font-family: "Segoe UI", Arial, sans-serif;
}

.subscribe-page {
  min-height: 100vh;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px clamp(16px, 3vw, 42px) 28px;
  overflow-x: hidden;
}

.subscribe-topbar,
.subscribe-intro,
.subscribe-form {
  width: min(100%, 1320px);
  margin: 0 auto;
}

.subscribe-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.subscribe-topbar img {
  width: 142px;
  max-height: 54px;
  object-fit: contain;
}

.subscribe-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.subscribe-header-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(24, 139, 35, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-dark);
  font-size: 0.84rem;
  font-weight: 900;
  padding: 8px 12px;
  box-shadow: 0 12px 26px rgba(22, 77, 28, 0.08);
}

.subscribe-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(24, 139, 35, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 18px 20px;
  box-shadow: 0 18px 42px rgba(22, 77, 28, 0.1);
}

.intro-mark,
.section-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(135deg, #e1f5df, #f5fbf4);
  color: var(--brand);
  font-weight: 950;
}

.intro-mark {
  width: 48px;
  height: 48px;
  font-size: 1.35rem;
}

.intro-mark i,
.section-icon i,
.benefit-panel-heading i,
.summary-title i,
.summary-shield i,
.summary-list i,
.test-mode-note i,
.input-icon {
  display: block;
  line-height: 1;
}

.subscribe-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 950;
  letter-spacing: 0;
}

.subscribe-intro p,
.section-heading p {
  margin: 4px 0 0;
  color: var(--muted);
}

.alert,
.result-panel {
  width: min(100%, 1320px);
  margin: 0 auto;
  border-radius: 8px;
}

.wizard-shell {
  border: 1px solid rgba(24, 139, 35, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 26px 70px rgba(22, 77, 28, 0.16);
  overflow: hidden;
}

.wizard-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 9%, #dbe6db 9%, #dbe6db 91%, transparent 91%) center 28px / 100% 1px no-repeat,
    #ffffff;
  padding: 12px 40px 0;
}

.wizard-step {
  display: grid;
  justify-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #405545;
  padding: 0 6px 11px;
  text-align: center;
}

.wizard-step span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef3ef;
  color: #17361c;
  font-weight: 950;
  box-shadow: 0 0 0 7px #ffffff;
}

.wizard-step strong {
  color: #17271b;
  font-size: 0.84rem;
  font-weight: 950;
}

.wizard-step small {
  color: #6d7c70;
  font-size: 0.72rem;
}

.wizard-step.active {
  box-shadow: inset 0 -3px 0 var(--brand);
}

.wizard-step.active span,
.wizard-step.done span {
  background: linear-gradient(135deg, #137f20, #3aa83d);
  color: #ffffff;
}

.wizard-card {
  padding: 20px;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 20px;
  align-items: start;
}

.form-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.form-section {
  display: grid;
  gap: 16px;
  min-height: 390px;
  align-content: start;
}

.form-section.plan-step {
  min-height: 500px;
}

.form-section[hidden] {
  display: none;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-icon {
  width: 42px;
  height: 42px;
  font-size: 1.05rem;
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: #132e19;
  font-size: 1.08rem;
  font-weight: 950;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  align-content: start;
}

.field-wide {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field label {
  color: #1d3023;
  font-size: 0.84rem;
  font-weight: 950;
}

.field label b {
  color: #c82920;
}

.field-hint {
  color: #687b6d;
  font-size: 0.76rem;
  font-weight: 750;
}

.input-shell {
  min-height: 44px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  border: 1px solid #d8e2d8;
  border-radius: 8px;
  background: #ffffff;
  padding: 0 12px;
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

.input-shell:focus-within {
  border-color: rgba(24, 139, 35, 0.62);
  box-shadow: 0 0 0 3px rgba(24, 139, 35, 0.1);
}

.input-shell > .input-icon {
  display: grid;
  place-items: center;
  color: #7d8c84;
  font-size: 0.95rem;
  line-height: 1;
}

.input-shell.tall {
  min-height: 78px;
  align-items: start;
  padding-top: 12px;
}

.form-control,
.form-select {
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #24332a;
  font-size: 0.9rem;
  box-shadow: none !important;
}

textarea.form-control {
  min-height: 58px;
  resize: vertical;
}

.form-control:focus,
.form-select:focus {
  background: transparent;
  outline: 0;
  box-shadow: none;
}

.field > .form-control,
.field > .form-select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d4e0d4;
  border-radius: 8px;
  background: #ffffff;
  color: #24332a;
  padding: 0 12px;
  box-shadow: 0 1px 0 rgba(20, 75, 27, 0.03) !important;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.field > textarea.form-control {
  min-height: 96px;
  padding: 12px;
}

.field > .form-control:focus,
.field > .form-select:focus {
  border-color: rgba(24, 139, 35, 0.68);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(24, 139, 35, 0.1) !important;
}

.input-shell .form-control,
.input-shell .form-select {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none !important;
}

.text-danger {
  color: var(--danger) !important;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.25;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.plan-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid #e1ebe1;
  border-radius: 8px;
  background: #fbfdfb;
  padding: 14px;
  min-height: 120px;
  cursor: pointer;
}

.plan-card:has(input:checked) {
  border-color: rgba(24, 139, 35, 0.55);
  background: #f4fbf3;
  box-shadow: 0 12px 28px rgba(24, 139, 35, 0.1);
}

.plan-card strong,
.plan-card small {
  display: block;
}

.plan-card strong {
  color: #17361c;
  font-weight: 950;
}

.plan-card small {
  color: #64766a;
  font-size: 0.78rem;
}

.plan-card b {
  color: #17361c;
  white-space: nowrap;
}

.plan-card.membership-pass-card {
  display: block;
  min-height: auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.plan-card.membership-pass-card:has(input:checked) {
  background: transparent;
  box-shadow: none;
}

.membership-pass-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.membership-pass {
  position: relative;
  display: grid;
  grid-template-rows: 48px 74px 30px 46px;
  width: min(100%, 370px);
  min-height: 198px;
  overflow: visible;
  border: 2px solid #f2d279;
  border-radius: 14px;
  background: #fffdf7;
  box-shadow: 0 16px 34px rgba(42, 82, 36, 0.16);
}

.membership-pass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.membership-seal {
  position: absolute;
  top: -18px;
  left: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 4px solid #f0c94f;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #16682a, #073c1a 72%);
  color: #f7cf4a;
  font-size: 2rem;
  box-shadow: 0 10px 18px rgba(26, 52, 25, 0.24);
}

.membership-ribbon {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #07551f, #023b16);
  color: #ffffff;
  font-size: clamp(1.15rem, 2.7vw, 1.75rem);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  padding: 0 22px 0 104px;
  text-align: right;
  text-transform: uppercase;
}

.membership-price,
.membership-fee {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  background: linear-gradient(180deg, #ffe8a5, #f7ce66);
  color: #053e1b;
  text-align: center;
}

.membership-price {
  align-items: end;
  padding-top: 8px;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  font-weight: 950;
}

.membership-fee {
  color: #4c5c26;
  font-size: 0.96rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.membership-validity {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  border-radius: 0 0 12px 12px;
  background: #fffdf7;
  color: #123f1b;
  font-size: 0.98rem;
  font-weight: 950;
  text-transform: uppercase;
}

.membership-validity i {
  color: var(--brand);
}

.membership-validity strong {
  display: inline;
  color: inherit;
  font-weight: 950;
}

.membership-pass-card:has(input:checked) .membership-pass {
  border-color: #f4c63f;
  box-shadow:
    0 18px 36px rgba(42, 82, 36, 0.18),
    0 0 0 4px rgba(24, 139, 35, 0.1);
}

.plan-card.single-plan {
  cursor: default;
}

.plan-card.single-plan input {
  display: none;
}

.empty-plan-message {
  margin: 0;
  border: 1px solid #e7d3d1;
  border-radius: 8px;
  background: #fff8f7;
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 850;
  padding: 12px 14px;
}

.benefit-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.benefit-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  border: 1px solid #dde9df;
  border-radius: 8px;
  background: #ffffff;
  padding: 15px;
}

.benefit-panel.plan-benefits {
  background: linear-gradient(180deg, #ffffff, #f8fcf8);
}

.benefit-panel-heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
}

.benefit-panel-heading > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e7f7e5;
  color: var(--brand);
}

.benefit-panel-heading h3 {
  margin: 0;
  color: #172d1c;
  font-size: 0.98rem;
  font-weight: 950;
}

.benefit-panel-heading p {
  margin: 3px 0 0;
  color: #657468;
  font-size: 0.78rem;
  font-weight: 750;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefit-list.compact {
  grid-template-columns: 1fr;
}

.benefit-list li {
  min-height: 40px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border: 1px solid #e4eee5;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #25362a;
  font-size: 0.84rem;
  font-weight: 850;
  padding: 8px 10px;
}

.benefit-list li::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    linear-gradient(45deg, transparent 45%, var(--brand) 45%, var(--brand) 58%, transparent 58%) 7px 10px / 10px 8px no-repeat,
    #e4f6e3;
}

.declaration-box {
  align-content: center;
}

.declaration-box label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0;
  border: 1px solid #e1ebe1;
  border-radius: 8px;
  background: #f4fbf3;
  color: #324a36;
  font-weight: 750;
  padding: 14px;
}

.payment-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.payment-choice {
  min-height: 54px;
  border: 1px solid #dfeadf;
  border-radius: 8px;
  background: #ffffff;
  color: #1d3023;
  font-weight: 950;
  text-align: center;
  transition: border-color 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.payment-choice:hover,
.payment-choice.active {
  border-color: rgba(24, 139, 35, 0.55);
  background: #f5fbf4;
  box-shadow: 0 12px 28px rgba(24, 139, 35, 0.1);
}

.offline-panel {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(24, 139, 35, 0.12);
  border-radius: 8px;
  background: #fbfdfb;
  padding: 14px;
}

.qr-payment-panel {
  gap: 14px;
}

.qr-payment-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid #d7e7d8;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f3faf3);
  padding: 14px;
}

.qr-payment-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.qr-payment-kicker {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: #e2f5df;
  color: var(--brand-dark);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0;
  padding: 5px 9px;
  text-transform: uppercase;
}

.qr-payment-copy strong {
  color: #17361c;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.3;
}

.qr-payment-copy small {
  color: #5d6d61;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.qr-payment-amount {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  border: 1px solid rgba(24, 139, 35, 0.2);
  border-radius: 8px;
  background: #ffffff;
  color: #415448;
  font-size: 0.92rem;
  font-weight: 900;
  padding: 8px 10px;
}

.qr-payment-amount b {
  color: #083f16;
  font-size: 1.25rem;
  font-weight: 950;
}

.qr-payment-steps {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #314738;
  font-size: 0.82rem;
  font-weight: 800;
}

.payment-qr-link {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.payment-qr-image {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid #dbe8dc;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
  padding: 8px;
}

.required-note {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  border: 1px solid #d7e7d8;
  border-radius: 8px;
  background: #f3faf3;
  color: #244d2b;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 9px 10px;
}

.required-note i {
  color: var(--brand);
  font-size: 1rem;
}

.offline-panel .form-control,
.offline-panel .form-select {
  width: 100%;
  border: 1px solid #d4e0d4;
  border-radius: 8px;
  background: #ffffff;
  color: #24332a;
  padding: 0 12px;
  box-shadow: 0 1px 0 rgba(20, 75, 27, 0.03) !important;
}

.offline-panel .form-control:focus,
.offline-panel .form-select:focus {
  border-color: rgba(24, 139, 35, 0.62);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(24, 139, 35, 0.1) !important;
}

.offline-panel textarea.form-control {
  min-height: 96px;
  padding: 12px;
}

.offline-panel input[type="file"].form-control {
  min-height: 42px;
  padding: 6px 10px;
}

.offline-panel input[type="file"].form-control::file-selector-button {
  min-height: 30px;
  margin: -2px 10px -2px -4px;
  border: 1px solid #c9d9ca;
  border-radius: 6px;
  background: #eef7ee;
  color: #17361c;
  font-weight: 800;
  padding: 0 12px;
}

.proof-preview {
  display: grid;
  gap: 10px;
  border: 1px solid #d7e5d8;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.proof-preview[hidden] {
  display: none;
}

.proof-preview-header,
.proof-preview-file {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.proof-preview i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e6f6e5;
  color: var(--brand);
  font-size: 1rem;
}

.proof-preview strong,
.proof-preview small {
  display: block;
}

.proof-preview strong {
  overflow: hidden;
  color: #17361c;
  font-size: 0.82rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proof-preview small {
  color: #687b6d;
  font-size: 0.76rem;
  font-weight: 750;
}

.proof-preview img {
  width: 100%;
  max-height: 220px;
  border: 1px solid #e3ece4;
  border-radius: 8px;
  background: #f7fbf7;
  object-fit: contain;
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #e8f0e8;
  padding-top: 14px;
}

.wizard-actions .btn {
  min-width: 118px;
  min-height: 32px;
  border-radius: 4px;
  font-weight: 500;
}

.wizard-actions .btn-success {
  min-width: 142px;
  background: #218c23;
  border-color: #218c23;
}

.wizard-actions .btn[hidden] {
  display: none;
}

.wizard-actions #nextButton,
.wizard-actions #submitButton {
  margin-left: auto;
}

.summary-panel {
  position: sticky;
  top: 18px;
  min-width: 0;
}

.summary-card {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(24, 139, 35, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, #f7fcf6, #edf8ed);
  padding: 14px;
}

.summary-card[hidden] {
  display: none;
}

.payment-summary-card {
  gap: 14px;
}

.summary-qr-link {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
}

.summary-qr-image {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  border: 1px solid #dbe8dc;
  border-radius: 8px;
  background: #ffffff;
  object-fit: contain;
  padding: 8px;
}

.summary-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #17361c;
  font-weight: 950;
}

.summary-title span,
.summary-list i,
.test-mode-note i {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #def4dd;
  color: var(--brand);
  font-style: normal;
}

.summary-title span {
  width: 34px;
  height: 34px;
}

.summary-shield {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: radial-gradient(circle, #d6f2d5, #f7fcf6);
  color: #37a842;
  font-size: 2.45rem;
  font-weight: 900;
}

.summary-card h2 {
  margin: 0;
  color: #17361c;
  font-size: 0.98rem;
  font-weight: 950;
}

.summary-price-list {
  display: grid;
  gap: 7px;
  margin: 0;
}

.summary-price-list.compact {
  gap: 6px;
}

.summary-price-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #405545;
  font-size: 0.8rem;
}

.summary-price-list dt,
.summary-price-list dd {
  margin: 0;
}

.summary-price-list dd {
  color: #17361c;
  font-weight: 950;
}

.summary-total {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(24, 139, 35, 0.14);
  border-radius: 8px;
  background: #ffffff;
  padding: 12px;
}

.summary-total span {
  color: #5f7164;
  font-size: 0.76rem;
  font-weight: 850;
}

.summary-total strong {
  color: #123d19;
  font-size: 1.7rem;
  font-weight: 950;
}

.summary-list {
  display: grid;
  gap: 9px;
}

.summary-list > div {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.summary-list i {
  width: 28px;
  height: 28px;
}

.summary-list strong,
.summary-list small {
  display: block;
}

.summary-list strong {
  color: #203827;
  font-size: 0.84rem;
  font-weight: 950;
}

.summary-list small {
  color: #64766a;
  font-size: 0.74rem;
}

.benefit-box {
  display: grid;
  gap: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  padding: 10px;
}

.benefit-box strong {
  color: #203827;
  font-size: 0.84rem;
  font-weight: 950;
}

.benefit-box ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #34483a;
  font-size: 0.78rem;
  font-weight: 750;
}

.test-mode-note {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  border-radius: 8px;
  background: #dcf2dc;
  color: #244d2b;
  font-size: 0.8rem;
  font-weight: 850;
  padding: 10px;
}

.test-mode-note i {
  width: 27px;
  height: 27px;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: #3d6f43;
  font-size: 0.82rem;
  font-weight: 800;
}

.form-status.error {
  color: var(--danger);
}

.result-panel {
  border: 1px solid rgba(24, 139, 35, 0.14);
  background: rgba(255, 255, 255, 0.94);
  padding: 18px 20px;
  box-shadow: 0 18px 42px rgba(22, 77, 28, 0.1);
}

.result-panel > span {
  display: block;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.result-panel > strong {
  display: block;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 950;
}

.result-panel p {
  color: var(--muted);
}

.result-panel dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.result-panel dl div {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 1100px) {
  .form-shell {
    grid-template-columns: 1fr;
  }

  .summary-panel {
    position: static;
  }

  .summary-shield {
    display: none;
  }
}

@media (max-width: 860px) {
  body {
    background-attachment: scroll;
  }

  .subscribe-page {
    padding: 14px;
    gap: 12px;
  }

  .subscribe-topbar,
  .wizard-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .subscribe-header-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .wizard-stepper {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 12px;
    background: #ffffff;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .wizard-step {
    flex: 0 0 104px;
    border: 1px solid #e4eee4;
    border-radius: 8px;
    padding: 9px 7px;
    scroll-snap-align: start;
  }

  .wizard-step span {
    width: 28px;
    height: 28px;
    box-shadow: none;
  }

  .wizard-step strong {
    font-size: 0.78rem;
  }

  .wizard-step small {
    font-size: 0.68rem;
  }

  .wizard-step.active {
    border-color: rgba(24, 139, 35, 0.36);
  }

  .wizard-card {
    padding: 14px;
  }

  .field-grid,
  .payment-toggle,
  .qr-payment-card,
  .benefit-showcase,
  .benefit-list {
    grid-template-columns: 1fr;
  }

  .payment-qr-image {
    max-width: min(280px, 100%);
  }

  .form-section {
    min-height: unset;
  }

  .summary-card {
    gap: 10px;
  }

  .summary-qr-image {
    max-width: min(360px, 100%);
  }

  .summary-price-list div,
  .result-panel dl div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .wizard-actions .btn,
  .wizard-actions .btn-success {
    width: 100%;
    min-height: 42px;
  }

  .wizard-actions #nextButton,
  .wizard-actions #submitButton {
    margin-left: 0;
  }
}

@media (max-width: 520px) {
  .subscribe-page {
    padding: 8px;
  }

  .subscribe-topbar {
    gap: 10px;
  }

  .subscribe-topbar img {
    width: 112px;
    align-self: center;
  }

  .subscribe-header-meta {
    gap: 7px;
  }

  .subscribe-header-meta span {
    justify-content: center;
    min-height: 36px;
    font-size: 0.72rem;
    padding: 7px 8px;
    text-align: center;
  }

  .subscribe-intro {
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
  }

  .intro-mark {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .subscribe-intro h1 {
    font-size: 1.22rem;
    line-height: 1.18;
  }

  .subscribe-intro p,
  .section-heading p,
  .summary-list small,
  .test-mode-note {
    font-size: 0.76rem;
  }

  .section-heading {
    align-items: flex-start;
  }

  .section-icon {
    width: 36px;
    height: 36px;
  }

  .input-shell {
    min-height: 46px;
    grid-template-columns: 18px minmax(0, 1fr);
    padding: 0 10px;
  }

  .input-shell.tall {
    min-height: 76px;
  }

  .form-control,
  .form-select {
    font-size: 16px;
  }

  .wizard-shell,
  .subscribe-intro,
  .result-panel {
    border-radius: 6px;
  }

  .wizard-card {
    padding: 10px;
  }

  .section-heading {
    gap: 9px;
  }

  .plan-card {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 92px;
  }

  .plan-card b {
    grid-column: 2;
    white-space: normal;
  }

  .offline-panel {
    padding: 10px;
  }

  .qr-payment-card {
    gap: 12px;
    padding: 12px;
  }

  .payment-qr-image {
    max-width: min(250px, 100%);
  }

  .offline-panel input[type="file"].form-control {
    min-height: 46px;
    font-size: 0.82rem;
    padding: 7px;
  }

  .offline-panel input[type="file"].form-control::file-selector-button {
    margin-right: 6px;
    padding: 0 8px;
  }

  .proof-preview img {
    max-height: 180px;
  }

  .summary-card {
    padding: 12px;
  }

  .summary-qr-image {
    max-width: min(320px, 100%);
  }

  .summary-total strong {
    font-size: 1.18rem;
  }
}

.event-register-page .subscribe-topbar,
.event-register-page .subscribe-intro,
.event-register-page .subscribe-form,
.event-register-page .alert,
.event-register-page .result-panel {
  width: min(100%, 1500px);
}

.event-register-page .subscribe-page {
  padding-inline: clamp(16px, 2vw, 32px);
}

.event-register-page .wizard-card {
  padding: 24px;
}

.event-register-page .form-section[data-event-step="1"] {
  min-height: auto;
  gap: 18px;
}

.event-register-page .form-main {
  align-content: start;
}

.event-register-page .form-shell {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
}

.event-register-page .event-card-grid {
  grid-template-columns: 1fr;
}

.event-register-page .event-pass-card {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
}

.event-register-page .event-pass-card:has(input:checked) {
  background: transparent;
  box-shadow: none;
}

.event-register-page .event-pass-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.event-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  gap: 18px;
  border: 1px solid rgba(24, 139, 35, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #fbfefb, #f2faf1);
  padding: 18px;
  box-shadow: 0 18px 38px rgba(30, 88, 34, 0.1);
}

.event-pass-card:has(input:checked) .event-detail-card {
  border-color: rgba(24, 139, 35, 0.68);
  box-shadow:
    0 20px 42px rgba(30, 88, 34, 0.14),
    0 0 0 4px rgba(24, 139, 35, 0.08);
}

.event-pass-card.registration-closed {
  cursor: not-allowed;
}

.event-pass-card.registration-closed .event-detail-card {
  border-color: #d9e0dc;
  background: #f4f7f5;
  opacity: 0.78;
}

.event-card-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  min-width: 0;
}

.event-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e4f7e2;
  color: var(--brand);
  font-size: 1.55rem;
}

.event-card-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.event-kicker {
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: #e5f6e2;
  color: #187c20;
  font-size: 0.73rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  padding: 5px 9px;
}

.event-card-copy strong {
  color: #122d18;
  font-size: clamp(1.22rem, 2vw, 1.65rem);
  font-weight: 950;
  line-height: 1.15;
}

.event-card-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: #506456;
  font-size: 0.92rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.event-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.event-card-meta span {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 4px 8px;
  align-items: center;
  border: 1px solid #dcebdd;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  color: #1a321f;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 10px;
}

.event-card-meta i {
  grid-row: span 2;
  color: var(--brand);
  font-size: 1rem;
}

.event-card-meta b {
  color: #657768;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.event-seat-strip {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  background: #eaf8e8;
  color: #146d1c;
  font-size: 0.86rem;
  font-weight: 950;
  padding: 9px 13px;
}

.event-seat-strip.urgent,
.event-summary-seat-note.urgent {
  background: #fff4df;
  color: #9a5d00;
}

.event-seat-strip.closed {
  background: #eef1f0;
  color: #5c6862;
}

.event-register-page .summary-price-list dd {
  text-align: right;
}

.event-summary-description {
  margin: 0;
  border-top: 1px solid rgba(24, 139, 35, 0.12);
  padding-top: 10px;
  color: #4f6255;
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.45;
}

.event-summary-seat-note {
  display: flex;
  align-items: center;
  border-radius: 8px;
  background: #eaf8e8;
  color: #146d1c;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1.35;
  padding: 10px 12px;
}

.event-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2px;
}

.event-support-grid article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 3px 10px;
  align-items: center;
  border: 1px solid #dcebdd;
  border-radius: 8px;
  background: #fbfefb;
  padding: 12px;
}

.event-support-grid span {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e4f7e2;
  color: var(--brand);
  font-size: 1.08rem;
}

.event-support-grid strong {
  color: #17361c;
  font-size: 0.86rem;
  font-weight: 950;
}

.event-support-grid small {
  color: #5d6f62;
  font-size: 0.76rem;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .event-register-page .form-shell,
  .event-detail-card {
    grid-template-columns: 1fr;
  }

  .event-register-page .summary-panel {
    position: static;
  }

  .event-support-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .event-card-meta {
    grid-template-columns: 1fr;
  }

  .event-detail-card {
    padding: 14px;
  }
}

.registration-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 24px clamp(16px, 3vw, 42px);
}

.registration-hero,
.plan-panel,
.form-panel {
  border: 1px solid rgba(24, 139, 35, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(22, 77, 28, 0.1);
}

.registration-hero {
  margin-bottom: 16px;
  padding: 22px;
}

.registration-hero h1,
.plan-panel h2,
.form-panel h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
}

.registration-hero p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background:
    linear-gradient(135deg, rgba(18, 94, 72, 0.92), rgba(16, 44, 58, 0.9)),
    url("../images/Swadeshkranti.webp") center / cover no-repeat;
}

.thank-you-shell {
  width: min(920px, 100%);
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(8, 31, 42, 0.28);
}

.thank-you-hero {
  padding: 42px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(135deg, #0f7b5f, #164e63);
}

.thank-you-icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 42px;
}

.thank-you-kicker {
  display: block;
  margin-bottom: 10px;
  color: #d9fff1;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.thank-you-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 950;
  letter-spacing: 0;
}

.thank-you-hero h2 {
  margin: 12px 0 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.thank-you-hero p {
  max-width: 620px;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.86);
}

.thank-you-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 30px;
}

.thank-you-details div {
  padding: 18px;
  border: 1px solid #e5eef0;
  background: #f8fbfb;
}

.thank-you-details dt {
  margin-bottom: 6px;
  color: #5f6f76;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.thank-you-details dd {
  margin: 0;
  color: #12323d;
  font-size: 1rem;
  font-weight: 900;
  word-break: break-word;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  padding: 0 30px 34px;
}

.thank-you-actions .btn {
  min-width: 190px;
  border-radius: 8px;
  font-weight: 900;
}

@media (max-width: 640px) {
  .thank-you-hero {
    padding: 34px 22px;
  }

  .thank-you-details {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.hero-kicker {
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.registration-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 16px;
  align-items: start;
}

.plan-panel,
.form-panel {
  padding: 18px;
}

.plan-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.plan-list .plan-card {
  display: grid;
  gap: 8px;
  min-height: unset;
  cursor: default;
}

.plan-list .plan-card h3 {
  margin: 0;
  color: #17361c;
  font-size: 1rem;
  font-weight: 950;
}

.plan-list .plan-card p {
  margin: 0;
  color: var(--muted);
}

.plan-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.plan-meta span {
  border-radius: 999px;
  background: #eaf7e9;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 10px;
}

@media (max-width: 900px) {
  .registration-grid {
    grid-template-columns: 1fr;
  }
}
