/*
  MindNext Technologies - Medical Research Articles & Doctor Intelligence Portal
  Multi-Step Doctor Onboarding Flow & Subscription Stylesheet
  Compatible with templatemo-628-lumen-style.css
*/

/* ============ 1. PORTAL LAYOUT & WIZARD WRAPPER ============ */
.portal-main-wrap {
  background: linear-gradient(180deg, #F8FAFD 0%, #FFFFFF 100%);
  min-height: 100vh;
  padding: 36px 0 80px;
}

.portal-brand-row {
  max-width: 960px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portal-brand-logo {
  height: 34px;
  width: auto;
  display: block;
}
}

.portal-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ 2. WIZARD STEP PANELS ============ */
.wizard-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.wizard-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Common Step Card Container */
.portal-card {
  background: #FFFFFF;
  border: 1px solid var(--border-delicate);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(15, 45, 89, 0.05);
  padding: clamp(24px, 4vw, 44px);
  margin-bottom: 24px;
}

.step-header-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.step-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F3870;
  background: rgba(15, 56, 112, 0.08);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.step-main-title {
  font-family: var(--font-editorial);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--text-ink);
  line-height: 1.2;
  margin-bottom: 12px;
}

.step-subtitle {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.6;
}



/* ============ STEP 1: STANDALONE CONSENT & COPYRIGHT AGREEMENT (MATCHING IMAGE 2) ============ */
.agreement-standalone-card {
  background: #FFFFFF;
  border: 1px solid #DCE6F1;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(15, 45, 89, 0.05);
  padding: clamp(28px, 4vw, 44px);
  max-width: 960px;
  margin: 0 auto 30px;
}

.agreement-title-wrap {
  margin-bottom: 20px;
}

.agreement-main-title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  color: #0F2D59;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 0 0 10px 0;
  font-family: var(--font-ui);
}

.agreement-title-underline {
  width: 48px;
  height: 3.5px;
  background: #0F2D59;
  border-radius: 2px;
}

.agreement-intro-lead {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 22px;
}

.agreement-terms-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agreement-term-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
}

.agreement-term-bullet {
  color: #0F2D59;
  font-size: 18px;
  line-height: 1.3;
  flex-shrink: 0;
}

.agreement-term-text strong {
  color: #0F2D59;
  font-weight: 700;
}

/* Consent Checkbox Box (Matching Image 2) */
.agreement-consent-box {
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 26px;
}

.agreement-consent-box:hover {
  background: #F1F5F9;
  border-color: #0F2D59;
}

.agreement-consent-box.checked {
  background: rgba(15, 45, 89, 0.04);
  border-color: #0F2D59;
}

.agreement-consent-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #0F2D59;
  cursor: pointer;
  flex-shrink: 0;
}

.agreement-consent-label {
  font-size: 14px;
  font-weight: 600;
  color: #1E293B;
  cursor: pointer;
  line-height: 1.5;
  user-select: none;
}

/* Agreement Action Buttons (Matching Image 2) */
.agreement-actions-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
}

.btn-agreement-submit {
  background: #0F2D59;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 13px 32px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 45, 89, 0.2);
}

.btn-agreement-submit:hover:not(:disabled) {
  background: #174584;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 45, 89, 0.28);
}

.btn-agreement-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none !important;
  transform: none !important;
}

/* ============ STEP 2: DOCTOR DETAILS FORM ============ */
.form-grid-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-field-group.full-width {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.form-field-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-field-label .required-star {
  color: var(--accent-crimson);
  margin-left: 2px;
}

.form-field-label .label-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  background: #E2E8F0;
  color: var(--text-muted);
}

.form-field-label .label-badge.whatsapp-badge {
  background: rgba(37, 211, 102, 0.15);
  color: #047857;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-input-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-ui);
  font-size: 14.5px;
  color: var(--text-ink);
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  outline: none;
  transition: all 0.25s ease;
}

.input-with-icon .form-input-control {
  padding-left: 54px;
}

.input-with-icon.phone-field .form-input-control {
  padding-left: 64px;
}

.form-input-control:focus {
  border-color: #0F3870;
  box-shadow: 0 0 0 4px rgba(15, 56, 112, 0.10);
  background: #FFFFFF;
}

.form-input-control.has-error {
  border-color: var(--accent-crimson);
  background: rgba(201, 42, 42, 0.02);
}

.field-helper-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.field-error-msg {
  font-size: 12px;
  color: var(--accent-crimson);
  margin-top: 5px;
  font-weight: 600;
  display: none;
}

.field-error-msg.visible {
  display: block;
}

/* Custom specialty input toggle */
#customSpecialtyRow {
  display: none;
}
#customSpecialtyRow.show {
  display: block;
}

/* ============ STEP 3: SUBSCRIPTION PLANS & CHECKOUT ============ */
.pricing-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.plan-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: #0F3870;
  box-shadow: 0 12px 32px rgba(15, 45, 89, 0.08);
}

.plan-card.selected {
  border-color: var(--accent-crimson);
  box-shadow: 0 12px 32px rgba(201, 42, 42, 0.14);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F8 100%);
}

.plan-highlight-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-crimson);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(201, 42, 42, 0.35);
}

.plan-header {
  margin-bottom: 20px;
}

.plan-name-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 6px;
}

.plan-target-subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
}

.plan-price-wrap {
  margin: 18px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
}

.plan-price-amount {
  font-family: var(--font-editorial);
  font-size: 38px;
  font-weight: 700;
  color: var(--text-ink);
  line-height: 1;
}

.plan-price-term {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
}

.plan-monthly-equivalent {
  display: block;
  font-size: 12px;
  color: #059669;
  font-weight: 600;
  margin-top: 6px;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.45;
}

.plan-features-list li svg {
  color: #059669;
  flex-shrink: 0;
  margin-top: 3px;
}

.plan-radio-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1.5px solid #CBD5E1;
  background: #F8FAFC;
  color: var(--text-ink);
  transition: all 0.25s ease;
}

.plan-card.selected .plan-radio-btn {
  background: var(--accent-crimson);
  border-color: var(--accent-crimson);
  color: #FFFFFF;
}

/* Order Summary & Payment Box */
.checkout-details-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  background: #F8FAFD;
  border: 1px solid var(--border-delicate);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.order-summary-box h4, .payment-methods-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0F2D59;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-data-table {
  width: 100%;
  border-collapse: collapse;
}

.summary-data-table tr td {
  padding: 8px 0;
  font-size: 13.5px;
  border-bottom: 1px dashed #E2E8F0;
}

.summary-data-table tr td:first-child {
  color: var(--text-muted);
}

.summary-data-table tr td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--text-ink);
}

.summary-data-table tr.total-row td {
  border-bottom: none;
  padding-top: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #0F2D59;
}

.summary-data-table tr.total-row td:last-child {
  font-size: 22px;
  color: var(--accent-crimson);
}

/* Payment Method Selectors */
.payment-selector-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.payment-tab-btn {
  flex: 1;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-body);
}

.payment-tab-btn.active {
  background: #0F3870;
  color: #FFFFFF;
  border-color: #0F3870;
}

.payment-tab-pane {
  display: none;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 16px;
}

.payment-tab-pane.active {
  display: block;
}

.upi-apps-row {
  display: flex;
  justify-content: space-around;
  margin: 10px 0 14px;
}

.upi-app-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* UPI QR Code Mockup Frame */
.upi-qr-card-frame {
  text-align: center;
  padding: 12px;
  background: #FFFFFF;
  border-radius: 8px;
}

.qr-code-svg-wrap {
  width: 140px;
  height: 140px;
  margin: 0 auto 10px;
  border: 2px solid #0F2D59;
  border-radius: 8px;
  padding: 8px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-merchant-info {
  font-size: 12px;
  color: var(--text-muted);
}

.qr-merchant-info strong {
  color: var(--text-ink);
  font-size: 13px;
}

/* ============ STEP 4: POST-PAYMENT SUCCESS & ONBOARDING ============ */
.success-banner-card {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 30px;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.25);
}

.success-badge-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.success-badge-icon svg {
  color: #FFFFFF;
}

.success-banner-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.success-banner-card p {
  font-size: 15px;
  opacity: 0.95;
  max-width: 620px;
  margin: 0 auto;
}

/* Doctor Verified Membership Badge Card */
.doctor-membership-id-card {
  background: #FFFFFF;
  border: 2px solid #0F2D59;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFD 100%);
}

.doctor-id-details h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0F2D59;
  margin-bottom: 4px;
}

.doctor-id-details p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}

.membership-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
  border: 1px solid rgba(5, 150, 105, 0.3);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* WHATSAPP GROUP INVITATION SECTION (CRITICAL) */
.whatsapp-group-invite-card {
  background: #FFFFFF;
  border: 2px solid #25D366;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.12);
  margin-bottom: 36px;
}

.whatsapp-group-top-bar {
  background: #25D366;
  color: #FFFFFF;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.whatsapp-group-body {
  padding: clamp(24px, 3.5vw, 36px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.whatsapp-group-text h3 {
  font-family: var(--font-editorial);
  font-size: clamp(24px, 2.8vw, 34px);
  color: #0F2D59;
  line-height: 1.25;
  margin-bottom: 12px;
}

.whatsapp-group-text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.whatsapp-group-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.whatsapp-group-benefits-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 10px;
}

.whatsapp-group-benefits-list li svg {
  color: #059669;
  flex-shrink: 0;
}

.btn-join-whatsapp-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
  width: 100%;
}

.btn-join-whatsapp-group:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

.whatsapp-group-image-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 45, 89, 0.12);
  border: 1px solid #CBD5E1;
}

.whatsapp-group-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.whatsapp-group-image-wrap:hover img {
  transform: scale(1.02);
}

.image-caption-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 45, 89, 0.9);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

/* HOW TO REQUEST ARTICLES (DOI, PICTURE, NAME) SECTION (CRITICAL) */
.article-request-guide-card {
  background: #FFFFFF;
  border: 1px solid var(--border-delicate);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 8px 30px rgba(15, 45, 89, 0.05);
  margin-bottom: 30px;
}

.guide-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.guide-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.guide-step-card {
  background: #FAFBFD;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 24px 20px;
  position: relative;
  transition: all 0.25s ease;
}

.guide-step-card:hover {
  transform: translateY(-3px);
  border-color: #0F3870;
  box-shadow: 0 8px 24px rgba(15, 45, 89, 0.06);
}

.guide-step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0F3870;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.guide-step-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-ink);
  margin-bottom: 8px;
}

.guide-step-card p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 10px;
}

.guide-tip-pill {
  font-size: 11.5px;
  color: #059669;
  background: rgba(5, 150, 105, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
}

/* WhatsApp Message Template Preview Box */
.whatsapp-template-box {
  background: #F0FDF4;
  border: 1.5px solid #86EFAC;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.template-box-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.template-box-top h4 {
  font-size: 15px;
  font-weight: 700;
  color: #14532D;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-copy-template {
  background: #15803D;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-copy-template:hover {
  background: #166534;
}

.template-code-preview {
  background: #FFFFFF;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 16px;
  font-family: monospace;
  font-size: 13.5px;
  line-height: 1.6;
  color: #1E293B;
  white-space: pre-wrap;
  user-select: all;
}

.template-actions-row {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn-send-whatsapp-request {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 260px;
}

.btn-send-whatsapp-request:hover {
  background: #1EBE5D;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-starter-pdf-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--text-ink);
  border: 1.5px solid #CBD5E1;
  font-size: 13.5px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-starter-pdf-download:hover {
  border-color: #0F3870;
  background: #F8FAFC;
}

/* Toast Notification for Clipboard Copy */
.portal-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0F2D59;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.portal-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============ 5. BUTTONS & ACTIONS BAR ============ */
.wizard-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-delicate);
  gap: 16px;
}

.btn-step-prev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--text-ink);
  border: 1.5px solid #CBD5E1;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-step-prev:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}

.btn-step-next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-crimson);
  color: #FFFFFF;
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(201, 42, 42, 0.25);
  margin-left: auto;
}

.btn-step-next:hover {
  background: #A61E1E;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 42, 42, 0.35);
}

.btn-step-next:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-step-pay {
  background: #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.btn-step-pay:hover {
  background: #047857;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
}

/* ============ 6. PAYMENT MODAL SIMULATION ============ */
.payment-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.payment-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.payment-modal-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.payment-spinner-ring {
  width: 56px;
  height: 56px;
  border: 4px solid #E2E8F0;
  border-top-color: #059669;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spinRing 1s linear infinite;
}

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

.payment-modal-box h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0F2D59;
  margin-bottom: 8px;
}

.payment-modal-box p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ 7. RESPONSIVE QUERIES ============ */
@media (max-width: 900px) {
  .pricing-plans-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto 32px;
  }
  .service-cards-grid {
    grid-template-columns: 1fr;
  }
  .copyright-rules-list {
    grid-template-columns: 1fr;
  }
  .checkout-details-wrap {
    grid-template-columns: 1fr;
  }
  .whatsapp-group-body {
    grid-template-columns: 1fr;
  }
  .guide-step-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 640px) {
  .form-grid-two-col {
    grid-template-columns: 1fr;
  }
  .portal-card {
    padding: 20px 16px;
  }
  .wizard-actions-bar {
    flex-direction: column-reverse;
  }
  .btn-step-prev, .btn-step-next {
    width: 100%;
    justify-content: center;
  }
}
