/* style.css - OPTIMIZED VERSION - Only includes styles actually used in the website */
:root {
  --black: #000000;
  --white: #ffffff;
  --blue: #204f79;
  --blue-light: #3a7bb3;
  --grey: #b3b3b3;
  --grey-light: #f5f5f5;
  --grey-dark: #666666;
  --gold: #e6cb47;
  --gold-dark: #d4b63a;
  --paper: #eaedda;
  --shadow: rgba(0, 0, 0, 0.1);
  --success: #4caf50;
  --warning: #ff9800;
  --error: #f44336;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

.btn-secondary {
  background: var(--gold);
  color: var(--black);
}

.btn-secondary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

/* APPLY NOW button disabled state - ADDED */
#applyNowButton:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--grey);
  color: var(--grey-dark);
}

#applyNowButton:disabled:hover {
  background: var(--grey);
  transform: none;
  box-shadow: none;
}

/* Also update the existing #nextStep:disabled style to be consistent - ADDED */
#nextStep:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--grey);
}

#nextStep:disabled:hover {
  background: var(--grey);
  transform: none;
  box-shadow: none;
}

/* Header */
.flyer-header {
  background: var(--white);
  color: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #eaeaea;
}

.flyer-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  flex-wrap: wrap;
}

.header-left {
  flex: 1;
  min-width: 300px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
}

.mg-logo {
  display: flex;
  align-items: center;
}

.logo-image-placeholder {
  height: 70px;
  display: flex;
  align-items: center;
}

.logo-img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.underwriter-section {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.underwriter-label {
  font-size: 10px;
  color: var(--grey-dark);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.underwriter-logo-placeholder {
  display: flex;
  align-items: center;
}

.underwriter-logo {
  display: flex;
  align-items: center;
  padding: 5px 0;
}

.underwriter-logo-img {
  height: 50px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.header-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 300px;
}

.header-text {
  text-align: right;
}

.header-text h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  color: var(--blue);
  letter-spacing: 1px;
}

.tagline-wrapper {
  margin-top: 5px;
}

.tagline {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
  color: var(--blue);
  letter-spacing: 0.5px;
  background: var(--paper);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(32, 79, 121, 0.2);
  word-break: break-word; /* Prevent text overflow */
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: 20px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Navigation */
#flyerNav {
  background: var(--blue);
  padding: 0;
}

#flyerNav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

#flyerNav ul li {
  flex: 1;
}

#flyerNav ul li a {
  display: block;
  color: var(--white);
  font-weight: bold;
  text-decoration: none;
  padding: 15px 10px;
  text-align: center;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  font-size: 14px;
}

#flyerNav ul li a:hover,
#flyerNav ul li a.active {
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 3px solid var(--gold);
}

/* Welcome Section */
.flyer-welcome {
  padding: 60px 0;
  background: linear-gradient(to right, var(--paper) 50%, var(--white) 50%);
}

.flyer-welcome .container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.welcome-content {
  flex: 1;
}

.welcome-content h2 {
  color: var(--blue);
  font-size: 36px;
  margin-bottom: 20px;
  word-break: break-word; /* Prevent text overflow */
}

.welcome-content h2 .welcome-text {
  display: block;
  font-size: 24px;
  color: var(--blue-light);
}

.est-badge {
  background: var(--gold);
  display: inline-block;
  padding: 8px 20px;
  margin: 10px 0;
  font-weight: bold;
  border-radius: 30px;
  color: var(--black);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.welcome-subtitle {
  font-size: 20px;
  color: var(--blue);
  margin: 15px 0;
  font-weight: bold;
  word-break: break-word; /* Prevent text overflow */
}

.welcome-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #333;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.welcome-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.welcome-real-image {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
}

.welcome-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Section Titles */
.section-title {
  text-align: center;
  color: var(--blue);
  font-size: 32px;
  margin-bottom: 40px;
  position: relative;
  word-break: break-word; /* Prevent text overflow */
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 10px auto 0;
}

/* About Section */
.flyer-about {
  padding: 60px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.about-card {
  background: var(--grey-light);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-icon {
  background: var(--blue);
  color: var(--white);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
}

.about-card h3 {
  color: var(--blue);
  margin-bottom: 15px;
  word-break: break-word; /* Prevent text overflow */
}

/* Claims Section */
.claims-section {
  background: var(--paper);
  padding: 30px;
  border-radius: 8px;
  max-width: 1000px;
  margin: 0 auto;
}

.claims-section h3 {
  color: var(--blue);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 24px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  word-break: break-word; /* Prevent text overflow */
}

.claims-section h3 i {
  color: var(--gold);
}

.claims-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.claims-item {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.claims-item h4 {
  color: var(--blue);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  text-align: center;
  word-break: break-word; /* Prevent text overflow */
}

.claims-item ul {
  list-style: none;
  padding-left: 0;
}

.claims-item ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-light);
  position: relative;
  padding-left: 25px;
  word-break: break-word; /* Prevent text overflow */
}

.claims-item ul li:before {
  content: '•';
  position: absolute;
  left: 10px;
  color: var(--blue);
  font-weight: bold;
}

.highlight {
  color: var(--blue);
  background: var(--gold);
  padding: 5px 15px;
  border-radius: 30px;
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
}

/* Products Section */
.flyer-products {
  padding: 60px 0;
  background: var(--grey-light);
}

.products-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 18px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
}

.product-header {
  background: var(--blue);
  color: var(--white);
  padding: 20px;
}

.product-header h3 {
  margin: 0;
  text-align: center;
  word-break: break-word; /* Prevent text overflow */
}

.product-body {
  padding: 30px;
}

.product-body ul {
  list-style: none;
  padding: 0;
}

.product-body ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-light);
  position: relative;
  padding-left: 25px;
}

.product-body ul li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

.custom-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--blue);
  font-weight: bold;
}

.custom-note i {
  color: var(--gold);
}

.coverage-options {
  margin-top: 40px;
}

.coverage-options h3 {
  text-align: center;
  color: var(--blue);
  margin-bottom: 30px;
  word-break: break-word; /* Prevent text overflow */
}

.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.coverage-item {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow);
  transition: transform 0.3s ease;
}

.coverage-item:hover {
  transform: translateY(-3px);
}

.coverage-icon {
  background: var(--paper);
  color: var(--blue);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 20px;
}

/* Plans Section */
.flyer-plans {
  padding: 60px 0;
  background: var(--white);
}

.referral-note-box {
  background: var(--paper);
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 30px;
  border-left: 4px solid var(--gold);
}

.referral-note-box p {
  margin: 0;
  font-weight: bold;
  color: var(--blue);
  word-break: break-word; /* Prevent text overflow */
}

.referral-note-box i {
  color: var(--gold);
  margin-right: 10px;
}

.referral-code-inline {
  background: var(--gold);
  color: var(--black);
  padding: 5px 15px;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 1px;
  display: inline-block;
  word-break: break-all; /* Allow code to break */
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.plan-card {
  background: var(--grey-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.plan-card:hover {
  transform: translateY(-10px);
}

.plan-header {
  background: var(--blue);
  color: var(--white);
  padding: 20px;
  text-align: center;
}

.plan-header h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  word-break: break-word; /* Prevent text overflow */
}

.plan-body {
  padding: 30px;
  text-align: center;
}

.plan-price {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.plan-price .price {
  font-size: 36px;
  font-weight: bold;
  color: var(--blue);
  display: block;
}

.plan-coverage, .plan-age {
  margin-bottom: 15px;
  font-weight: bold;
  color: #333;
  font-size: 15px;
  word-break: break-word; /* Prevent text overflow */
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.plan-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.plans-note {
  background: var(--paper);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-style: italic;
}

.plans-note p {
  margin-bottom: 15px;
}

.customise-button-container {
  margin: 25px 0;
  text-align: center;
}

.customise-plan-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(32, 79, 121, 0.2);
  white-space: nowrap;
}

.customise-plan-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(32, 79, 121, 0.3);
}

.customise-plan-btn i {
  font-size: 18px;
}

.terms-link {
  color: var(--blue);
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid var(--blue);
  transition: all 0.3s ease;
  word-break: break-word; /* Prevent text overflow */
}

.terms-link:hover {
  color: var(--blue-light);
  border-bottom-color: var(--blue-light);
}

.fsp-note-small {
  font-size: 14px;
  color: #555;
  margin-top: 15px;
  line-height: 1.5;
  font-style: normal;
  word-break: break-word; /* Prevent text overflow */
}

/* Customise Plan Section */
.flyer-customise {
  padding: 60px 0;
  background: var(--grey-light);
  display: none;
}

.flyer-customise.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.customise-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.customise-content p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #333;
}

/* Quote Progress Bar */
.quote-progress {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.quote-progress::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: var(--grey);
  z-index: 1;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--grey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--grey-dark);
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 14px;
  color: var(--grey-dark);
  text-align: center;
  font-weight: 500;
  word-break: break-word; /* Prevent text overflow */
}

.progress-step.active .step-circle {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.progress-step.active .step-label {
  color: var(--blue);
  font-weight: bold;
}

/* Customise Builder */
.customise-builder {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.builder-step {
  display: none;
  animation: fadeIn 0.5s ease;
}

.builder-step.active {
  display: block;
}

.builder-step h3 {
  color: var(--blue);
  margin-bottom: 15px;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  word-break: break-word; /* Prevent text overflow */
}

.step-number {
  background: var(--blue);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0; /* Prevent shrinking */
}

.step-description {
  color: #666;
  margin-bottom: 30px;
  font-size: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  word-break: break-word; /* Prevent text overflow */
}

/* Cover Amount Grid */
.cover-amount-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.cover-amount-option {
  background: var(--grey-light);
  border: 3px solid transparent;
  border-radius: 10px;
  padding: 25px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cover-amount-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--blue-light);
}

.cover-amount-option.selected {
  border-color: var(--blue);
  background: rgba(32, 79, 121, 0.05);
}

.cover-amount-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cover-amount-option.disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.amount-icon {
  color: var(--blue);
  font-size: 36px;
  margin-bottom: 15px;
}

.amount-value {
  font-size: 24px;
  font-weight: bold;
  color: var(--blue);
  margin-bottom: 5px;
}

.amount-label {
  color: #666;
  font-size: 14px;
}

/* Plan Type Grid */
.plan-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.plan-type-option {
  background: var(--grey-light);
  border: 3px solid transparent;
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.plan-type-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--blue-light);
}

.plan-type-option.selected {
  border-color: var(--blue);
  background: rgba(32, 79, 121, 0.05);
}

.plan-type-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.plan-type-option.disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.plan-type-icon {
  background: var(--blue);
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
}

.plan-type-name {
  font-size: 18px;
  font-weight: bold;
  color: var(--blue);
  margin-bottom: 10px;
  word-break: break-word; /* Prevent text overflow */
}

.plan-type-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 15px;
  min-height: 40px;
  word-break: break-word; /* Prevent text overflow */
}

.plan-type-available {
  background: var(--success);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
}

.plan-type-option.disabled .plan-type-available {
  background: var(--error);
}

/* Age Band Grid */
.age-band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.age-band-option {
  background: var(--grey-light);
  border: 3px solid transparent;
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.age-band-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--blue-light);
}

.age-band-option.selected {
  border-color: var(--blue);
  background: rgba(32, 79, 121, 0.05);
}

.age-band-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.age-band-option.disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.age-band-range {
  font-size: 20px;
  font-weight: bold;
  color: var(--blue);
  margin-bottom: 10px;
}

.age-band-premium {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 10px;
  min-height: 36px;
}

.age-band-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
}

.age-band-note {
  color: var(--warning);
  font-size: 12px;
  font-style: italic;
  word-break: break-word; /* Prevent text overflow */
}

/* Family Members Section */
.family-section {
  background: var(--paper);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  border-left: 4px solid var(--blue);
}

.family-section h4 {
  color: var(--blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  word-break: break-word; /* Prevent text overflow */
}

.family-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.family-info {
  flex: 1;
  min-width: 300px;
}

/* FIXED: Family info text overflowing on mobile */
.family-info p {
  margin-bottom: 10px;
  color: #333;
  word-break: break-word; /* Ensure text wraps properly */
  overflow-wrap: break-word; /* Break long words if needed */
  hyphens: auto; /* Add hyphens for better word breaking */
  line-height: 1.4; /* Better line spacing for readability */
}

.family-coverage {
  background: var(--blue);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  display: inline-block;
  white-space: nowrap;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch.large {
  width: 80px;
  height: 44px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--grey);
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: var(--white);
  transition: .4s;
  border-radius: 50%;
}

.toggle-switch.large .toggle-slider:before {
  height: 36px;
  width: 36px;
  left: 4px;
  bottom: 4px;
}

input:checked + .toggle-slider {
  background-color: var(--blue);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.toggle-switch.large input:checked + .toggle-slider:before {
  transform: translateX(36px);
}

.toggle-label {
  margin-left: 10px;
  font-weight: bold;
  color: var(--blue);
  word-break: break-word; /* Prevent text overflow */
}

.toggle-label-large {
  margin-left: 20px;
  text-align: left;
  flex: 1;
}

.toggle-label-large h4 {
  color: var(--blue);
  margin-bottom: 5px;
  word-break: break-word; /* Prevent text overflow */
}

.toggle-label-large p {
  color: #666;
  font-size: 14px;
  margin: 0;
  word-break: break-word; /* Prevent text overflow */
}

/* Children Header */
.children-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.children-header p {
  color: #333;
  margin: 0;
  word-break: break-word; /* Prevent text overflow */
}

.children-count {
  background: var(--blue);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  white-space: nowrap;
}

/* Benefits Table */
.benefits-table {
  overflow-x: auto;
  margin-bottom: 20px;
}

.benefits-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.benefits-table th {
  background: var(--blue);
  color: var(--white);
  padding: 15px;
  text-align: left;
  font-weight: bold;
}

.benefits-table td {
  padding: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  word-break: break-word; /* Prevent text overflow */
}

.benefits-table tr:last-child td {
  border-bottom: none;
}

.benefits-table select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--grey);
  border-radius: 4px;
  background: var(--white);
  font-size: 14px;
}

.benefits-table select:focus {
  outline: none;
  border-color: var(--blue);
}

.children-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blue);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 8px;
  margin-top: 20px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.summary-item {
  text-align: center;
  flex: 1;
  min-width: 120px; /* Ensure minimum width */
  margin: 5px 0;
}

.summary-item span {
  display: block;
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 5px;
}

.summary-item strong {
  font-size: 20px;
}

.no-family-message {
  background: var(--paper);
  border-left: 4px solid var(--gold);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.no-family-message p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #333;
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.no-family-message i {
  color: var(--gold);
}

/* Extended Family Options */
.extended-family-toggle {
  display: flex;
  align-items: center;
  background: var(--paper);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  border-left: 4px solid var(--gold);
  flex-wrap: wrap; /* Allow wrapping on mobile */
  gap: 15px;
}

.extended-family-options {
  animation: fadeIn 0.5s ease;
}

.extended-option {
  background: var(--grey-light);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  border: 2px solid transparent;
}

.extended-option:hover {
  border-color: var(--blue-light);
}

.extended-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 25px;
  gap: 15px;
}

.extended-header h5 {
  color: var(--blue);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  word-break: break-word; /* Prevent text overflow */
}

.extended-cover {
  background: var(--blue);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

.extended-age {
  background: var(--gold);
  color: var(--black);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
}

.extended-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.control-group {
  margin-bottom: 20px;
}

.control-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--blue);
  word-break: break-word; /* Prevent text overflow */
}

.control-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--grey);
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
}

.control-group select:focus {
  outline: none;
  border-color: var(--blue);
}

/* Age Band Checkboxes */
.age-band-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.checkbox-group {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--grey-light);
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 15px;
}

.checkbox-custom {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid var(--blue);
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0; /* Prevent shrinking */
}

.checkbox-label input:checked + .checkbox-custom {
  background: var(--blue);
}

.checkbox-label input:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-weight: bold;
  font-size: 14px;
}

.checkbox-text {
  font-weight: bold;
  color: var(--blue);
  word-break: break-word; /* Prevent text overflow */
}

.dependent-control {
  margin-top: 15px;
  padding-left: 32px;
}

.dependent-control label {
  display: block;
  margin-bottom: 5px;
  color: #666;
  font-size: 14px;
  word-break: break-word; /* Prevent text overflow */
}

.dependent-control select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--grey);
  border-radius: 4px;
  background: var(--white);
  font-size: 14px;
}

.extended-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blue);
  color: var(--white);
  padding: 15px 25px;
  border-radius: 8px;
  margin-top: 20px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  gap: 15px;
}

/* Relationship dropdowns styling */
.relationship-selectors {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.relationship-selector {
  display: flex;
  align-items: center;
  gap: 10px;
}

.relationship-selector-number {
  background: var(--blue);
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.relationship-selector select {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--grey);
  border-radius: 4px;
  font-size: 14px;
  background: var(--white);
  min-width: 0; /* Allow select to shrink */
}

.relationship-list {
  margin-top: 5px;
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.relationship-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.relationship-list-item:last-child {
  margin-bottom: 0;
}

.relationship-list-number {
  background: var(--blue);
  color: var(--white);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  flex-shrink: 0;
}

/* Children Age Breakdown in Summary */
.children-breakdown {
  margin-top: 10px;
  padding: 10px 15px;
  background: var(--grey-light);
  border-radius: 6px;
  font-size: 13px;
  text-align: left;
}

.children-breakdown-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.children-breakdown-item:last-child {
  border-bottom: none;
}

.children-breakdown-age {
  color: var(--blue);
  font-weight: 500;
  word-break: break-word; /* Prevent text overflow */
}

.children-breakdown-count {
  font-weight: bold;
  color: #333;
}

/* Quote Summary */
.quote-summary-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.quote-overview {
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 2px solid var(--blue);
}

.quote-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gold);
  flex-wrap: wrap;
  gap: 15px;
}

.quote-header h4 {
  color: var(--blue);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  word-break: break-word; /* Prevent text overflow */
}

.quote-reference {
  background: var(--paper);
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  color: var(--blue);
  white-space: nowrap;
}

.summary-section {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.summary-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.summary-section h5 {
  color: var(--blue);
  margin-bottom: 20px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  word-break: break-word; /* Prevent text overflow */
}

.summary-table,
.calculation-table,
.final-table {
  width: 100%;
}

.summary-row,
.calc-row,
.final-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  flex-wrap: wrap; /* Allow wrapping on mobile */
  gap: 10px;
}

.summary-row:last-child,
.calc-row:last-child,
.final-row:last-child {
  border-bottom: none;
}

.calc-row.total,
.final-row.grand-total {
  background: var(--blue);
  color: var(--white);
  padding: 15px 20px;
  border-radius: 8px;
  margin-top: 10px;
  font-weight: bold;
}

.final-row.grand-total {
  background: var(--gold);
  color: var(--black);
  font-size: 20px;
}

.summary-row span,
.calc-row span,
.final-row span {
  color: #333;
  word-break: break-word; /* Prevent text overflow */
}

.calc-row.total span,
.final-row.grand-total span {
  color: inherit;
}

.summary-row strong,
.calc-row strong,
.final-row strong {
  color: var(--blue);
  font-weight: bold;
  word-break: break-word; /* Prevent text overflow */
}

.calc-row.total strong,
.final-row.grand-total strong {
  color: var(--white);
}

.final-row.grand-total strong {
  color: var(--black);
}

.quote-notes {
  background: var(--paper);
  border-radius: 8px;
  padding: 30px;
  text-align: left;
}

.note {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.note:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.note h6 {
  color: var(--blue);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  word-break: break-word; /* Prevent text overflow */
}

.note ul {
  list-style: none;
  padding-left: 0;
}

.note ul li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  word-break: break-word; /* Prevent text overflow */
}

.note ul li:before {
  content: '•';
  position: absolute;
  left: 10px;
  color: var(--blue);
  font-weight: bold;
}

.note p {
  color: #333;
  line-height: 1.6;
  word-break: break-word; /* Prevent text overflow */
}

/* Builder Navigation */
.builder-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  flex-wrap: wrap; /* Allow wrapping on mobile */
  gap: 20px;
}

.step-indicator {
  font-weight: bold;
  color: var(--blue);
  order: 1; /* Reorder for mobile */
  width: 100%;
  text-align: center;
}

.step-text {
  background: var(--paper);
  padding: 8px 20px;
  border-radius: 20px;
  display: inline-block;
}

#prevStep {
  min-width: 120px;
  order: 2; /* Reorder for mobile */
}

#nextStep {
  min-width: 200px;
  order: 3; /* Reorder for mobile */
}

.customise-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.close-customise {
  background: var(--grey);
  color: var(--white);
}

.close-customise:hover {
  background: var(--grey-dark);
}

/* Left-aligned list for notes section */
.left-aligned-list {
  text-align: left;
  padding-left: 0;
  margin-left: 0;
}

.left-aligned-list ul {
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 10px;
  list-style: none;
}

.left-aligned-list li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 25px;
  word-break: break-word; /* Prevent text overflow */
}

.left-aligned-list li:before {
  content: '•';
  position: absolute;
  left: 10px;
  color: var(--blue);
  font-weight: bold;
}

.left-aligned-list li strong {
  color: var(--blue);
}

/* Apply Now link styling */
.apply-now-link {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  transition: all 0.3s ease;
  font-weight: bold;
  font-size: 16px;
  word-break: break-word; /* Prevent text overflow */
}

.apply-now-link:hover {
  color: var(--blue-light);
  border-bottom-color: var(--blue-light);
}

/* Differences Section */
.flyer-differences {
  padding: 60px 0;
  background: var(--white);
}

.differences-content {
  max-width: 800px;
  margin: 0 auto 50px;
}

.difference-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.difference-icon {
  background: var(--blue);
  color: var(--white);
  min-width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.difference-text h3 {
  color: var(--blue);
  margin-bottom: 10px;
  word-break: break-word; /* Prevent text overflow */
}

.app-showcase {
  display: flex;
  align-items: center;
  gap: 40px;
  background: var(--paper);
  padding: 40px;
  border-radius: 8px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.app-image {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 250px; /* Ensure minimum width */
}

.phone-mockup {
  width: 250px;
  height: 450px;
  background: var(--black);
  border-radius: 30px;
  padding: 15px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.callout-logo-placeholder {
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.callout-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.app-details {
  flex: 1;
  min-width: 300px; /* Ensure minimum width */
}

.app-details h3 {
  color: var(--blue);
  margin-bottom: 15px;
  font-size: 24px;
  word-break: break-word; /* Prevent text overflow */
}

.app-details p {
  margin-bottom: 20px;
  color: #555;
  word-break: break-word; /* Prevent text overflow */
}

.app-badges {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.app-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 150px;
  justify-content: center;
}

.app-badge:hover {
  background: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.app-badge i {
  font-size: 24px;
}

/* Sign Up Steps */
.flyer-signup {
  padding: 60px 0;
  background: var(--blue);
  color: var(--white);
}

.flyer-signup .section-title {
  color: var(--white);
}

.steps-container {
  max-width: 800px;
  margin: 0 auto 50px;
}

.step {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.step-number {
  background: var(--gold);
  color: var(--black);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--gold);
  margin-bottom: 10px;
  font-size: 22px;
  word-break: break-word; /* Prevent text overflow */
}

.referral-section {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  margin: 0 auto;
}

.referral-section h3 {
  margin-bottom: 20px;
  color: var(--gold);
  word-break: break-word; /* Prevent text overflow */
}

.referral-code {
  background: var(--gold);
  color: var(--black);
  padding: 15px 30px;
  font-size: 28px;
  font-weight: bold;
  border-radius: 8px;
  letter-spacing: 2px;
  margin: 20px 0;
  display: inline-block;
  word-break: break-all; /* Allow code to break */
}

.referral-note {
  font-size: 14px;
  opacity: 0.9;
  word-break: break-word; /* Prevent text overflow */
}

/* Contact Section */
.flyer-contact {
  padding: 60px 0;
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.contact-info {
  background: var(--grey-light);
  padding: 30px;
  border-radius: 8px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.contact-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contact-icon {
  background: var(--blue);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details h4 {
  color: var(--blue);
  margin-bottom: 5px;
  word-break: break-word; /* Prevent text overflow */
}

.contact-link {
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  word-break: break-word; /* Prevent text overflow */
}

.contact-link:hover {
  color: var(--blue-light);
  border-bottom: 1px solid var(--blue-light);
}

.registration-info {
  background: var(--paper);
  padding: 30px;
  border-radius: 8px;
  position: relative;
  min-height: 400px;
}

.registration-card {
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.registration-card h4 {
  color: var(--blue);
  margin-bottom: 20px;
  font-size: 22px;
  word-break: break-word; /* Prevent text overflow */
}

.registration-card p {
  margin-bottom: 10px;
  word-break: break-word; /* Prevent text overflow */
}

.company-logos-container {
  margin-top: auto;
  padding-top: 30px;
  border-top: 2px solid var(--gold);
}

.company-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.company-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 150px;
}

.company-logo-placeholder {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-logo-img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.company-underwriter-label {
  font-size: 10px;
  color: var(--grey-dark);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
  word-break: break-word; /* Prevent text overflow */
}

.company-underwriter-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.company-underwriter-img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.reg-divider {
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
}

.fsp-note {
  font-size: 14px;
  color: #555;
  margin-top: 20px;
  line-height: 1.5;
  word-break: break-word; /* Prevent text overflow */
}

/* Footer */
.flyer-footer {
  background: var(--blue);
  color: var(--white);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-logo-section {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.footer-logo-placeholder {
  height: 80px;
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 14px;
  font-weight: bold;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  word-break: break-word; /* Prevent text overflow */
}

.footer-tagline p {
  margin: 0;
}

.footer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 30px;
  margin-bottom: 5px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  font-size: 16px;
  word-break: break-word; /* Prevent text overflow */
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-credit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  word-break: break-word; /* Prevent text overflow */
}

.designer-link {
  color: var(--gold);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 2px 5px;
  border-radius: 3px;
  word-break: break-word; /* Prevent text overflow */
}

.designer-link:hover {
  color: var(--white);
  background-color: rgba(230, 203, 71, 0.2);
  text-decoration: underline;
}

.footer-copyright {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 5px;
  text-align: center;
  word-break: break-word; /* Prevent text overflow */
}

/* Apply Now Modal Styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-container {
  background: var(--white);
  border-radius: 12px;
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  background: var(--blue);
  color: var(--white);
  padding: 25px 30px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  gap: 15px;
}

.modal-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 24px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  word-break: break-word; /* Prevent text overflow */
}

.modal-header .close-modal {
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.modal-header .close-modal:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 30px;
}

/* Apply Now Form Styles */
.apply-form {
  display: grid;
  gap: 25px;
}

.form-intro {
  background: var(--paper);
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 25px;
  border-left: 4px solid var(--blue);
}

.form-intro p {
  margin: 0;
  color: var(--blue);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* Allow wrapping on mobile */
  word-break: break-word; /* Prevent text overflow */
}

.form-intro i {
  color: var(--blue);
  font-size: 18px;
}

.form-section {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--grey-light);
}

.form-section:last-child {
  border-bottom: none;
  margin-bottom: 20px;
}

.form-section h4 {
  color: var(--blue);
  margin-bottom: 20px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  flex-wrap: wrap; /* Allow wrapping on mobile */
  word-break: break-word; /* Prevent text overflow */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--blue);
  font-size: 15px;
  word-break: break-word; /* Prevent text overflow */
}

.form-group label.required::after {
  content: ' *';
  color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--grey);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(32, 79, 121, 0.1);
  background: var(--white);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
  background: #fff8f8;
}

.help-text {
  font-size: 13px;
  color: var(--grey-dark);
  margin-top: 5px;
  line-height: 1.4;
  word-break: break-word; /* Prevent text overflow */
}

.quote-ref-display {
  position: relative;
  display: flex;
  align-items: center;
}

.quote-ref-display input {
  padding-right: 40px;
  background: var(--paper);
  border-color: var(--gold);
}

.copy-quote-ref {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--blue);
  cursor: pointer;
  font-size: 16px;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.copy-quote-ref:hover {
  background: rgba(32, 79, 121, 0.1);
  color: var(--blue-light);
}

.id-info-display {
  background: var(--paper);
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
  display: none;
  animation: fadeIn 0.3s ease;
  border: 1px solid var(--gold);
}

.id-info-display.show {
  display: block;
}

.id-info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.id-info-item {
  text-align: center;
  padding: 8px;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--grey-light);
}

.id-info-item strong {
  color: var(--blue);
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  word-break: break-word; /* Prevent text overflow */
}

.id-info-item span {
  color: #333;
  font-weight: 600;
  font-size: 14px;
  word-break: break-word; /* Prevent text overflow */
}

.terms-section {
  background: var(--paper);
  padding: 20px;
  border-radius: 8px;
  margin-top: 25px;
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 3px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.terms-checkbox label {
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  color: #333;
  font-weight: 500;
  word-break: break-word; /* Prevent text overflow */
}

.terms-checkbox a {
  color: var(--blue);
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  word-break: break-word; /* Prevent text overflow */
}

.terms-checkbox a:hover {
  color: var(--blue-light);
  border-bottom-color: var(--blue-light);
}

#termsError {
  color: var(--error);
  font-size: 13px;
  margin-top: 8px;
  display: none;
  word-break: break-word; /* Prevent text overflow */
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 2px solid var(--grey-light);
  justify-content: space-between;
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.form-actions .btn {
  flex: 1;
  padding: 16px;
  font-size: 17px;
  font-weight: bold;
  min-width: 150px;
}

.form-actions .btn-secondary {
  background: var(--grey);
  color: var(--white);
}

.form-actions .btn-secondary:hover {
  background: var(--grey-dark);
}

.form-actions .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--grey);
}

.form-actions .btn[disabled]:hover {
  transform: none;
  box-shadow: none;
  background: var(--grey);
}

.form-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--grey-light);
  text-align: center;
}

.form-footer p {
  color: var(--grey-dark);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  flex-wrap: wrap; /* Allow wrapping on mobile */
}

.form-footer i {
  color: var(--success);
}

.error-message {
  color: var(--error);
  font-size: 13px;
  margin-top: 5px;
  display: none;
  word-break: break-word; /* Prevent text overflow */
}

/* Loading Overlay */
.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  z-index: 10002;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid var(--grey-light);
  border-top: 5px solid var(--blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success/Error Message Popups */
.message-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  z-index: 10001;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.3s ease;
}

.message-popup.active {
  display: block;
}

.message-popup.success {
  border-top: 6px solid var(--success);
}

.message-popup.error {
  border-top: 6px solid var(--error);
}

.message-popup i {
  font-size: 60px;
  margin-bottom: 20px;
}

.message-popup.success i {
  color: var(--success);
}

.message-popup.error i {
  color: var(--error);
}

.message-popup h3 {
  color: var(--blue);
  margin-bottom: 15px;
  font-size: 24px;
  word-break: break-word; /* Prevent text overflow */
}

.message-popup p {
  margin-bottom: 25px;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  word-break: break-word; /* Prevent text overflow */
}

/* Input placeholder styling */
::placeholder {
  color: #999;
  opacity: 1;
}

/* Focus states for better accessibility */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .flyer-header-inner {
    flex-direction: column;
    gap: 20px;
  }
  
  .header-left, .header-right {
    min-width: 100%;
    justify-content: center;
  }
  
  .header-text {
    text-align: center;
  }
  
  .logo-section {
    justify-content: center;
  }
  
  #flyerNav ul li a {
    padding: 15px 8px;
    font-size: 13px;
  }
  
  .quote-progress::before {
    left: 40px;
    right: 40px;
  }
}

@media (max-width: 1024px) {
  .flyer-welcome {
    background: linear-gradient(to bottom, var(--paper) 50%, var(--white) 50%);
  }
  
  .flyer-welcome .container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .welcome-content h2 {
    font-size: 30px;
  }
  
  .app-showcase {
    flex-direction: column;
    text-align: center;
  }
  
  .claims-details {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .welcome-real-image {
    height: 300px;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .cta-buttons {
    justify-content: center;
  }
  
  .quote-summary-container {
    grid-template-columns: 1fr;
  }
  
  .cover-amount-grid,
  .plan-type-grid,
  .age-band-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  
  .footer-logo-section {
    align-items: center;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  #flyerNav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--blue);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }
  
  #flyerNav ul.active {
    display: flex;
  }
  
  #flyerNav ul li a {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    font-size: 16px;
    border-bottom: 3px solid transparent;
  }
  
  #flyerNav ul li a.active {
    border-bottom: 3px solid var(--gold);
    background: rgba(255, 255, 255, 0.15);
  }
  
  .flyer-welcome {
    background: var(--paper);
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
  }
  
  .difference-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
  }
  
  .footer-logo-section {
    align-items: center;
  }
  
  .footer-info {
    align-items: center;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
  }
  
  .footer-logo-placeholder {
    height: 70px;
  }
  
  .footer-credit,
  .footer-copyright {
    text-align: center;
  }
  
  .logo-section {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .mg-logo, .underwriter-logo {
    justify-content: center;
  }
  
  .underwriter-section {
    align-items: center;
  }
  
  .header-text h1 {
    font-size: 20px;
    line-height: 1.3;
  }
  
  .app-badges {
    flex-direction: column;
    align-items: center;
  }
  
  .app-badge {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
  
  .company-logos {
    flex-direction: column;
    gap: 20px;
  }
  
  .company-logo-item {
    align-items: center;
  }
  
  .customise-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  
  .customise-actions .btn {
    width: 100%;
    max-width: 250px;
  }
  
  /* Mobile styles for customise builder */
  .quote-progress {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .quote-progress::before {
    display: none;
  }
  
  .progress-step {
    flex: 0 0 calc(33.333% - 20px);
    margin-bottom: 15px;
  }
  
  .cover-amount-grid,
  .plan-type-grid,
  .age-band-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .age-band-checkboxes {
    grid-template-columns: 1fr;
  }
  
  .extended-controls {
    grid-template-columns: 1fr;
  }
  
  .builder-navigation {
    flex-direction: column;
    gap: 20px;
  }
  
  #prevStep, #nextStep {
    width: 100%;
    max-width: 250px;
    order: unset;
  }
  
  .step-indicator {
    order: 2;
    width: 100%;
  }
  
  .customise-builder {
    padding: 25px;
  }
  
  .benefits-table {
    margin: 0 -25px;
    padding: 0 25px;
    overflow-x: auto;
  }
  
  .benefits-table table {
    min-width: 700px;
  }
  
  .quote-overview,
  .quote-notes {
    padding: 25px;
  }
  
  .quote-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .extended-family-toggle {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .toggle-label-large {
    text-align: center;
  }
  
  .family-option {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 15px;
  }
  
  /* FIXED: Family info on mobile */
  .family-info {
    min-width: 100%;
    text-align: center;
  }
  
  .family-info p {
    font-size: 15px;
    line-height: 1.5;
    padding: 0 10px;
  }
  
  .family-coverage {
    margin-top: 10px;
  }
  
  .children-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .relationship-selector {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .relationship-selector select {
    width: 100%;
  }
  
  .children-breakdown {
    margin-top: 15px;
  }
  
  /* Modal responsive */
  .modal-container {
    max-width: 95%;
    margin: 10px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .form-section h4 {
    font-size: 16px;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .form-actions .btn {
    width: 100%;
    max-width: none;
  }
  
  .id-info-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .builder-step h3 {
    font-size: 20px;
    justify-content: center;
    text-align: center;
  }
  
  .step-description {
    text-align: center;
  }
  
  .summary-item {
    min-width: 45%;
  }
}

@media (max-width: 650px) {
  .claims-details {
    grid-template-columns: 1fr;
  }
  
  .quote-progress {
    justify-content: center;
  }
  
  .progress-step {
    flex: 0 0 calc(50% - 20px);
    margin-bottom: 20px;
  }
  
  .step-label {
    font-size: 12px;
  }
  
  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .product-grid, .about-grid {
    grid-template-columns: 1fr;
  }
  
  .coverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .logo-image-placeholder {
    height: 50px;
  }
  
  .logo-img {
    max-width: 150px;
  }
  
  .underwriter-logo-img {
    height: 40px;
  }
  
  .header-text h1 {
    font-size: 18px;
  }
  
  .tagline {
    font-size: 12px;
    padding: 3px 8px;
    white-space: normal;
  }
  
  .welcome-content h2 {
    font-size: 24px;
  }
  
  .welcome-content h2 .welcome-text {
    font-size: 20px;
  }
  
  .section-title {
    font-size: 26px;
  }
  
  .plan-price .price {
    font-size: 28px;
  }
  
  .claims-section h3 {
    font-size: 20px;
    justify-content: center;
    text-align: center;
  }
  
  .welcome-real-image {
    height: 250px;
  }
  
  .step-circle {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .step-label {
    font-size: 12px;
  }
  
  .builder-step h3 {
    font-size: 20px;
    justify-content: center;
  }
  
  .step-number {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .customise-builder {
    padding: 20px;
  }
  
  .quote-overview,
  .quote-notes {
    padding: 20px;
  }
  
  .company-logos {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-logo-placeholder {
    height: 60px;
  }
  
  .footer-logo-img {
    max-width: 160px;
  }
  
  .footer-tagline {
    font-size: 12px;
  }
  
  .footer-links a {
    font-size: 15px;
  }
  
  .children-breakdown {
    font-size: 12px;
    padding: 8px 10px;
  }
  
  .modal-header h3 {
    font-size: 20px;
    justify-content: center;
    text-align: center;
  }
  
  .form-intro p {
    font-size: 14px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 15px;
  }
  
  .terms-checkbox label {
    font-size: 13px;
  }
  
  .coverage-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-table {
    margin: 0 -20px;
    padding: 0 20px;
  }
  
  .app-badge {
    padding: 10px 15px;
    font-size: 14px;
  }
  
  .app-badge i {
    font-size: 20px;
  }
  
  .referral-code {
    font-size: 22px;
    padding: 12px 20px;
  }
  
  .phone-mockup {
    width: 200px;
    height: 360px;
    border-radius: 25px;
  }
  
  .callout-logo-placeholder {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 360px) {
  .logo-section {
    gap: 10px;
  }
  
  .header-text h1 {
    font-size: 16px;
  }
  
  .tagline {
    font-size: 11px;
  }
  
  .welcome-content h2 {
    font-size: 22px;
  }
  
  .welcome-content h2 .welcome-text {
    font-size: 18px;
  }
  
  .welcome-subtitle {
    font-size: 18px;
  }
  
  .welcome-description {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .plan-header h3 {
    font-size: 16px;
  }
  
  .plan-price .price {
    font-size: 24px;
  }
  
  .customise-plan-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .progress-step {
    flex: 0 0 100%;
  }
  
  .quote-progress {
    flex-direction: column;
    gap: 15px;
  }
  
  .step-circle {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* OTP Section */
.otp-section {
  background: var(--paper);
  padding: 25px;
  border-radius: 8px;
  margin-top: 20px;
  border: 2px solid var(--blue);
}

.otp-intro {
  margin-bottom: 20px;
}

.otp-intro p {
  margin: 0;
  color: var(--blue);
  font-weight: 500;
}

.otp-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.otp-action-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.otp-timer {
  background: var(--blue);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.otp-timer i {
  font-size: 16px;
}

#timerCount {
  font-weight: bold;
  font-size: 16px;
}

.otp-input-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.otp-input-container input {
  flex: 1;
  font-size: 24px;
  text-align: center;
  letter-spacing: 4px;
  font-family: monospace;
  font-weight: bold;
}

.verify-otp-btn {
  min-width: 100px;
  height: 50px;
}

/* Success/Error messages for OTP */
.success-message {
  color: var(--success);
  font-weight: bold;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-message i {
  font-size: 18px;
}

/* Button success state */
.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover {
  background: #45a049;
}

/* OTP input focus state */
.otp-input-container input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(32, 79, 121, 0.2);
}

/* Responsive OTP */
@media (max-width: 768px) {
  .otp-input-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .otp-input-container input {
    width: 100%;
  }
  
  .verify-otp-btn {
    width: 100%;
    height: 46px;
  }
  
  .otp-action-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .otp-timer {
    justify-content: center;
    text-align: center;
  }
}