/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN SYSTEM)
   ========================================================================== */

:root {
  /* Brand Colors */
  --color-primary: #451eb3;
  --color-primary-hover: #3a1a9a;
  --color-primary-disabled: #aaaaaa;
  --color-accent: #956afa;
  --color-accent-light: #8a7ff9;

  /* Background Colors */
  --color-bg-primary: #0f1939;
  --color-bg-secondary: #f8f7f5;
  --color-bg-light: #fefefe;
  --color-bg-input: #ffffff;
  --color-bg-selection: #f8f8ff;

  /* Text Colors */
  --color-text-primary: #000;
  --color-text-secondary: #333;
  --color-text-muted: #666;
  --color-text-light: #999;
  --color-text-white: #fff;

  /* Border Colors */
  --color-border-light: #e0e0e0;
  --color-border-medium: #e4e4e4;
  --color-border-focus: #451eb3;

  /* Status Colors */
  --color-success: #4caf50;
  --color-success-bg: #e8f5e8;
  --color-error: #ff4b4b;
  --color-error-light: #f39395;
  --color-error-bg: #ffe6e6;
  --color-warning: #ffcc02;
  --color-warning-bg: #fff8e1;

  /* Layout Variables */
  --border-radius-small: 8px;
  --border-radius-medium: 12px;
  --border-radius-large: 24px;
  --spacing-small: 8px;
  --spacing-medium: 16px;
  --spacing-large: 24px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

/* Base HTML & Body */
html,
body {
  background-color: #0f1939 !important; /* Just to differentiate from phone frame */
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  height: 100%;
  width: 100%;
}

/* ==========================================================================
   LOADER SYSTEM
   ========================================================================== */

/* Loader Overlay */
.t-loader-overlay {
  align-items: center;
  background: #0f1939; /* Dark background */
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 1;
  position: fixed;
  top: 0;
  transition: opacity 0.5s, visibility 0.5s;
  visibility: visible;
  width: 100%;
  z-index: 9999;
}

.t-loader-overlay.active,
#formLoadingScreen[style*="display: flex"] {
  display: flex !important;
}

/* Loader Card */
.t-loader-card {
  --bg-color: #0f1939;
  background-color: var(--bg-color);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1rem 2rem;
  position: relative;
  z-index: 10000;
}

/* Loader Text Container */
.t-loader-container {
  -webkit-box-sizing: content-box;
  border-radius: 8px;
  box-sizing: content-box;
  color: rgb(124, 124, 124);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 25px;
  font-weight: 500;
  height: 40px;
  padding: 10px 10px;
}

/* Loader Words Animation */
.t-loader-words {
  overflow: hidden;
  position: relative;
}

.t-loader-words::after {
  background: linear-gradient(
    var(--bg-color) 10%,
    transparent 30%,
    transparent 70%,
    var(--bg-color) 90%
  );
  content: "";
  inset: 0;
  position: absolute;
  z-index: 20;
}

.t-loader-word {
  animation: t_spin_loader 4s infinite;
  color: #956afa;
  display: block;
  height: 100%;
  padding-left: 6px;
}

/* Wave Animation Container */
.t-wave-container {
  align-items: center;
  display: flex;
  height: 90%;
  justify-content: center;
  position: absolute;
  top: 40%;
  z-index: 9998;
}

/* Wave Items */
.t-wave-item {
  animation: t-wave-move 3s ease-in-out calc(var(--i) * 0.07s) infinite;
  aspect-ratio: 1;
  background-color: transparent;
  border: 0.9vmin solid rgb(0, 200, 255);
  border-radius: 50%;
  box-shadow: 0px 0px 15px rgb(124, 124, 124),
    inset 0px 0px 15px rgb(124, 124, 124);
  position: absolute;
  transform: rotateX(70deg) translateZ(50px);
  transform-style: preserve-3d;
  width: calc(var(--i) * 2.5vmin);
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */

/* Loader Animations */
@keyframes t-wave-move {
  0%,
  100% {
    filter: hue-rotate(0deg);
    transform: rotateX(70deg) translateZ(50px) translateY(0px);
  }
  50% {
    filter: hue-rotate(180deg);
    transform: rotateX(70deg) translateZ(50px) translateY(-50vmin);
  }
}

@keyframes t_spin_loader {
  10% {
    -webkit-transform: translateY(-102%);
    transform: translateY(-102%);
  }
  25% {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  35% {
    -webkit-transform: translateY(-202%);
    transform: translateY(-202%);
  }
  50% {
    -webkit-transform: translateY(-200%);
    transform: translateY(-200%);
  }
  60% {
    -webkit-transform: translateY(-302%);
    transform: translateY(-302%);
  }
  75% {
    -webkit-transform: translateY(-300%);
    transform: translateY(-300%);
  }
  85% {
    -webkit-transform: translateY(-402%);
    transform: translateY(-402%);
  }
  100% {
    -webkit-transform: translateY(-400%);
    transform: translateY(-400%);
  }
}

/* Validation Animations */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes checkmark {
  0% {
    stroke-dashoffset: 100;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* Error Toast Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 100%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -100%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

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

/* ==========================================================================
   PLATFORM OVERRIDES
   ========================================================================== */

/* Content Container Overrides */
.content-container {
  box-shadow: none !important;
  margin: auto !important;
}

.content-parent,
.main-content {
  background-color: transparent !important;
  padding: 0 !important;
  width: 100% !important;
}

.content-area {
  width: 100% !important;
  background-color: transparent !important;
}

/* Hide Platform Elements */
.sidebar,
.sidebar-curve {
  display: none !important;
}

.menu {
  display: none !important;
}

/* Debug Indicator */
#debug-step-indicator {
  background-color: #f8f7f5;
  bottom: 0;
  padding: 10px;
  position: fixed;
  right: 0;
  text-align: center;
  z-index: 1000;
}

/* ==========================================================================
   MOBILE DEMO FRAME LAYOUT
   ========================================================================== */

/* Mobile Demo Frame - Mimics phone shape */
.mobile-demo-frame {
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 40px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  height: auto; /* Allow height to be determined by content */
  margin: 2rem auto;
  min-height: 812px; /* Ensure a minimum height is maintained */
  overflow-y: auto; /* Allow vertical scrolling if content exceeds visible area */
  position: relative;
  width: 375px; /* Typical mobile width */
}

/* App Container */
#app {
  display: flex;
  flex-direction: column;
  height: auto; /* Allow height to be determined by content */
  min-height: 100%; /* Ensure it takes at least 100% of parent height */
  position: relative; /* Add this to contain absolute children */
  width: 100%;
}

/* ==========================================================================
   HEADER LAYOUT
   ========================================================================== */

/* Header Container */
header {
  align-items: center;
  background: #ffffff;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  padding: 15px 34px;
  position: relative;
  width: 100%;
}

/* Back Button */
#backBtn {
  align-items: center;
  background: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex: none;
  flex-grow: 0;
  height: 40px;
  justify-content: center;
  order: 0;
  overflow: hidden;
  padding: 8px;
  position: relative;
  width: 40px;
  z-index: 1;
}

#backBtn::before {
  background: #0f1939;
  content: "";
  height: 24px;
  left: 50%;
  mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z' fill='%230F1939'/%3E%3C/svg%3E")
    no-repeat center;
  mask-size: contain;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 11H7.83L13.42 5.41L12 4L4 12L12 20L13.41 18.59L7.83 13H20V11Z' fill='%230F1939'/%3E%3C/svg%3E")
    no-repeat center;
  -webkit-mask-size: contain;
  width: 24px;
}

#backBtn:hover {
  opacity: 0.9;
}

/* Screen Title */
#screenTitle {
  color: #000;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  left: 0;
  line-height: 27px;
  margin: 0 auto;
  pointer-events: none;
  position: absolute;
  right: 0;
  text-align: center;
  width: 100%;
}

/* ==========================================================================
   MAIN CONTENT LAYOUT
   ========================================================================== */

/* Main Content Container */
main {
  display: flex;
  flex: 1;
  padding: 0 24px;
  position: relative;
}

/* Form Step Container */
.form-step {
  display: none;
  flex: 1; /* Allow form-step to grow and take available vertical space */
  flex-direction: column;
  padding: 0;
  text-align: left;
  width: 100%;
}

.form-step.active {
  display: flex;
}

/* Form Step Typography */
.form-step h2 {
  align-items: flex-start;
  color: black;
  display: flex;
  flex-direction: row;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 25px;
  font-style: normal;
  font-weight: normal;
  gap: 10px;
  line-height: inherit;
  margin-bottom: 16px;
  padding: 0px;
}

.form-step p {
  color: #0f1939;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 32px;
}

/* ==========================================================================
   ACCOUNT TYPE SELECTION
   ========================================================================== */

/* Account Options Container */
.account-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

/* Individual Account Option */
.account-option {
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  padding: 16px;
  position: relative;
  transition: all 0.2s ease;
}

/* .account-option:not(.disabled):hover {
  border-color: coral;
} */

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

.account-option.selected,
.account-option:has(input[type="radio"]:checked) {
  background-color: #f0f3ff;
  border-color: #2647a6;
  box-shadow: 0 0 10px rgba(75, 92, 255, 0.3);
}

/* Account Icon */
.account-icon {
  align-items: center;
  border-radius: 8px;
  color: white;
  display: flex;
  font-size: 18px;
  font-weight: bold;
  height: 50px;
  justify-content: center;
  margin-right: 16px;
  width: 50px;
}

/* Account Label */
.account-label {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
}

/* Coming Soon Badge */
.coming-soon {
  background-color: #f0f0f0;
  border-radius: 4px;
  color: #666;
  font-size: 12px;
  font-weight: 500;
  margin-left: 12px;
  padding: 4px 8px;
}

/* ==========================================================================
   INPUT GROUPS & FORM CONTROLS
   ========================================================================== */

/* Input Group Container */
.input-group {
  margin-bottom: 20px;
  position: relative;
}

/* Input & Select Base Styles */
.input-group input,
.input-group select {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  box-sizing: border-box;
  color: #0f1939;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  height: 56px;
  line-height: 22px;
  padding: 16px;
  transition: all 0.2s ease;
  width: 100%;
}

.input-group input::placeholder {
  color: transparent;
}

/* Input Labels */
.input-group label {
  background: transparent;
  color: #666666;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  left: 16px;
  line-height: 22px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

/* Focus States */
.input-group input:focus,
.input-group select:focus {
  background: #ffffff;
  border: 1px solid #451eb3;
  box-shadow: 0 0 0 4px rgba(69, 30, 179, 0.1);
  outline: none;
}

/* Active Label States */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group select:focus + label,
.input-group select:valid + label {
  background: #ffffff;
  color: #451eb3;
  font-size: 12px;
  padding: 0 4px;
  top: 0;
  transform: translateY(-50%);
}

/* Validation States */
.input-group input.invalid,
.input-group select.invalid {
  background: #ffffff;
  border: 1px solid #ff4b4b;
  border-color: #ff4d4f !important; /* Error red border */
}

/* Tick Icon */
.tick-icon {
  color: #451eb3;
  font-size: 18px;
  opacity: 0;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.input-group input:focus ~ .tick-icon,
.input-group input:not(:placeholder-shown) ~ .tick-icon,
.input-group select:focus ~ .tick-icon,
.input-group select:valid ~ .tick-icon {
  opacity: 1;
  transform: translateY(-50%);
}

/* Error Messages */
.error-message {
  color: #ff4b4b;
  display: none;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  margin-top: 6px;
  padding-left: 4px;
}

/* ==========================================================================
   VALIDATION ANIMATIONS
   ========================================================================== */

/* Shake Animation for Validation Errors - REMOVED */

/* ==========================================================================
   SIGNATURE VALIDATION SYSTEM
   ========================================================================== */

/* Signature Error States */
.signature-error {
  background-color: #ffe6e6 !important;
  border: 2px solid #f39395 !important;
}

.signature-error-message {
  color: #f39395;
  display: none;
  font-size: 0.9em;
  font-weight: 500;
  margin-top: 0.5em;
}

.signature-error-message.show {
  animation: fadeIn 0.3s ease-in-out;
  display: block;
}

/* Signature Success States */
.form-variable-signature.signed {
  background-color: #e8f5e8 !important;
  border: 2px solid #4caf50 !important;
}

.form-variable-signature.signed::after {
  color: #4caf50;
  content: "✓";
  font-size: 18px;
  font-weight: bold;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

/* Support for Different Signature Field Classes */
[class*="signature"].signed,
[data-key*="signature"].signed {
  background-color: #e8f5e8 !important;
  border: 2px solid #4caf50 !important;
}

[class*="signature"].signature-error,
[data-key*="signature"].signature-error {
  background-color: #ffe6e6 !important;
  border: 2px solid #f39395 !important;
}

/* ==========================================================================
   CHECKBOX & FORM CONTROLS
   ========================================================================== */

/* Global Checkbox Styling */
input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #451eb3;
}

/* Simple accordion styles for trustee/director accordions */
.accordion {
  width: 100%;
}
.form-step[data-step="110"] .accordion,
.form-step[data-step="113"] .accordion {
  margin-top: 8px;
}
.accordion-item {
  margin-bottom: 8px;
  border-radius: 6px;
  overflow: hidden;
  background: #f7f7f9;
}
.accordion input[type="radio"] {
  display: none !important;
}
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #f1f1f1;
  cursor: pointer;
  font-weight: 600;
  border: 1px solid #e2e2ee;
  border-radius: 6px;
}
.accordion-header .accordion-title {
  font-size: 14px;
}
.accordion-icon {
  transition: transform 0.25s ease;
}
.accordion .content {
  display: none;
  padding: 0 16px;
  background-color: #fafafa;
  border-left: 1px solid #e2e2ee;
  border-right: 1px solid #e2e2ee;
  border-bottom: 1px solid #e2e2ee;
}
.accordion input[type="radio"] + .accordion-header .accordion-icon {
  transform: rotate(0deg);
}
.accordion input[type="radio"]:checked + .accordion-header + .content {
  display: block;
  padding: 14px;
}
.accordion input[type="radio"]:checked + .accordion-header .accordion-icon {
  transform: rotate(180deg);
}

/* Checkbox Label Styling */
.checkbox-label {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #0f1939;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 32px;
}

.checkbox-label input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #451eb3;
}

.checkbox-label a {
  color: #1664c0;
  text-decoration: none;
}

/* Helper Text */
.form-helper-text {
  color: #666;
  font-size: 12px;
  margin-bottom: 16px;
  margin-top: 8px;
}

.helper-note {
  color: #666;
  font-size: 12px;
  margin-top: 8px;
}

/* ==========================================================================
   PHONE INPUT SYSTEM
   ========================================================================== */

/* Phone Input Group Container */
.phone-input-group {
  display: flex;
  gap: 10px;
}

.phone-input-group .country-code {
  flex: 1;
}

.phone-input-group #phone {
  flex: 1;
}

/* Country Code Container */
.country-code {
  align-items: center;
  background: rgba(217, 217, 217, 0.25);
  backdrop-filter: blur(5.64px);
  border: 1px solid #e0e0e0;
  border-radius: 10.64px;
  display: flex;
  gap: 10px;
  height: 68px;
  margin: 0;
  min-width: 135px;
  padding: 8.5px 14.9px;
}

.country-code span {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

/* Country Code Select Dropdown */
.country-code-select {
  align-items: center;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 3.3px;
  color: #333;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  gap: 5px;
  height: 38px;
  justify-content: space-between;
  line-height: 21px;
  -moz-appearance: none;
  padding: 10px 5px;
  -webkit-appearance: none;
  width: 100%;
}

.country-code-select:focus {
  outline: none;
}

.country-code-select option {
  background: #fff;
  color: #333;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 14px;
}

/* Phone Input Field */
.phone-input-group input {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
  flex: 1;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  height: 68px;
  line-height: 24px;
  margin: 0;
  padding: 14px;
}

.phone-input-group input::placeholder {
  color: #666;
}

.phone-input-group input:focus {
  outline: none;
}

/* Clear Button */
.clear-btn {
  align-items: center;
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  height: 24px;
  justify-content: center;
  margin: 0;
  padding: 8px;
  pointer-events: all;
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  width: 24px;
  z-index: 10;
}

.clear-btn:hover {
  color: #333;
}

/* Phone Input Wrapper */
.phone-input-wrapper {
  align-items: center;
  display: inline-flex;
  flex: 1;
  position: relative;
}

/* ==========================================================================
   VERIFICATION CODE SYSTEM
   ========================================================================== */

/* Phone Preview */
.phone-preview {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin: 16px 0;
  padding: 14px;
}

.code-sent-to {
  display: flex;
  font-size: 16px;
  font-weight: 500;
  gap: 4px;
}

/* OTP Input Styling */
.otp-input-group {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 24px 0;
}

.otp-digit {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
  font-size: 24px;
  font-weight: 600;
  height: 48px;
  text-align: center;
  width: 40px;
}

.otp-digit:focus {
  border-color: #5b5cff;
  outline: none;
}

/* Resend Section */
.resend-section {
  margin-top: 24px;
  text-align: center;
}

.resend-btn {
  background: none;
  border: none;
  color: #5b5cff;
  cursor: pointer;
  font-weight: 600;
  padding: 8px 16px;
}

.resend-btn:disabled {
  color: #999;
  cursor: not-allowed;
}

.timer {
  color: #666;
  font-size: 14px;
  margin-top: 8px;
}

/* Phone Display */
.display-phone {
  color: #333;
  font-weight: 600;
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */

/* Primary Continue Button */
#continueBtn {
  background-color: #451eb3;
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  opacity: 1 !important;
  padding: 16px;
  transition: background-color 0.2s;
  width: 100%;
}

#continueBtn:disabled {
  background-color: #aaaaaa;
  color: #ffffff;
  cursor: not-allowed;
  opacity: 1 !important;
}

#continueBtn:hover:not(:disabled) {
  background-color: #3a1a9a;
}

/* Secondary Button */
.btn.btn-secondary {
  background-color: transparent;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  transition: all 0.2s ease;
}

.btn.btn-secondary:hover {
  background-color: #fefefe;
  border-color: #000;
  color: #000;
}

/* Primary Button */
.btn.btn-primary {
  background-color: #451eb3;
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  transition: all 0.2s ease;
  width: 100%;
}

.btn.btn-primary:hover {
  background-color: #3a1a9a;
}

.btn.btn-primary:disabled {
  background-color: #aaaaaa;
  color: #ffffff;
  cursor: not-allowed;
}

/* Special Button Variants */
#continueBtn.sign-button {
  background-color: #000;
  border-radius: 24px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}

#continueBtn.submit-button {
  background-color: #e8e8e8;
  border-radius: 24px;
  color: #999;
  font-size: 15px;
  font-weight: 500;
  text-transform: none;
}

#continueBtn.submit-button:not(:disabled) {
  background-color: #000;
  color: #fff;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */

/* Footer with Continue Button */
footer {
  align-items: center;
  background: transparent;
  display: flex;
  flex: 0 0 80px;
  justify-content: center;
  padding: 16px 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   MILESTONE SCREENS
   ========================================================================== */

/* ==========================================================================
   STEP-SPECIFIC BUTTON OVERRIDES
   ========================================================================== */

/* Step 115 (Upload SMSF Documents) Button Styling */
.form-step[data-step="115"] ~ footer #continueBtn {
  background: #451eb3;
  border: none;
  border-radius: 50px;
  color: #fafdff;
  cursor: pointer;
  display: block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 0 auto;
  max-width: 400px;
  padding: 16px 32px;
  transition: all 0.2s ease;
  width: 100%;
}

.form-step[data-step="115"] ~ footer #continueBtn:disabled {
  background: #cccccc;
  color: #666666;
  cursor: not-allowed;
}

.form-step[data-step="115"] ~ footer #continueBtn:hover:not(:disabled) {
  background: #3a1899;
  box-shadow: 0 4px 12px rgba(69, 30, 179, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   HELP & VERIFICATION SECTIONS
   ========================================================================== */

/* Help Verify Section */
.help-verify-section {
  margin-top: 24px;
  padding: 0;
}

.help-verify-section h3 {
  color: #000;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.help-verify-section p {
  color: #000;
  font-size: 14px;
  line-height: 1.5;
}

/* ==========================================================================
   NUMBER PAD SYSTEM
   ========================================================================== */

/* Number Pad Container */
.number-pad {
  bottom: 20px;
  left: 0;
  padding: 16px 24px;
  position: absolute;
  right: 0;
}

.number-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 16px;
}

.number-key {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 24px;
  font-weight: 500;
  height: 60px;
  justify-content: center;
  width: 60px;
}

.number-key.empty {
  background-color: transparent;
}

.number-key.backspace {
  font-size: 20px;
}

/* ==========================================================================
   ADDRESS VERIFICATION SYSTEM
   ========================================================================== */

/* Address Verification Container */
.address-verification {
  margin-top: 16px;
}

.address-line {
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 16px;
}

.address-line span {
  flex: 1;
  font-size: 14px;
}

/* ==========================================================================
   CITIZENSHIP SELECTION SYSTEM
   ========================================================================== */

/* Citizenship Dropdown */
.citizenship-dropdown {
  appearance: none;
  background-color: #fafafa;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  -moz-appearance: none;
  padding: 14px;
  padding-right: 40px;
  -webkit-appearance: none;
  width: 100%;
}

.citizenship-dropdown option {
  background-color: #fff;
  color: #000;
  padding: 12px;
}

.citizenship-dropdown:focus {
  background-color: #fff;
  border-color: #8a7ff9;
  outline: none;
}

/* Dual Citizenship Section */
.dual-citizenship {
  margin-top: 24px;
}

.dual-citizenship p {
  color: #333;
  font-size: 14px;
  margin-bottom: 16px;
}

/* Citizenship Options */
.citizenship-options {
  display: flex;
  gap: 12px;
}

.citizenship-option {
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  flex: 1;
  font-size: 16px;
  padding: 14px;
  transition: all 0.2s ease;
}

.citizenship-option:hover {
  background-color: #f8f8ff;
  border-color: #8a7ff9;
}

.citizenship-option.selected {
  background: #451eb3;
  border: none;
  box-shadow: 0 2px 4px rgba(69, 30, 179, 0.2);
  color: #fafdff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-style: normal;
  font-weight: 600;
}

.citizenship-option:focus {
  outline: none;
}

/* ==========================================================================
   VERIFICATION STATUS SYSTEM
   ========================================================================== */

/* Verification Status Container */
.verification-status {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

/* Verify Button */
.verify-btn {
  background-color: #000;
  border: none;
  border-radius: 50px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  max-width: 200px;
  padding: 12px 24px;
  width: 100%;
}

.verify-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Loading States */
.spinner {
  align-items: center;
  color: #666;
  display: flex;
  gap: 12px;
}

.loading-spinner {
  animation: spin 1s linear infinite;
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid #000;
  height: 20px;
  width: 20px;
}

/* Success States */
.success-message {
  align-items: center;
  color: #00a651;
  display: flex;
  font-weight: 500;
  gap: 8px;
}

.success-icon {
  font-size: 18px;
}

/* ==========================================================================
   MILESTONE SCREEN SYSTEM
   ========================================================================== */

/* Milestone Header Updates */
.milestone-screen ~ header #screenTitle,
.milestone-screen ~ header #backBtn {
  color: #000;
}

/* Milestone Z-Index Management */
header {
  position: relative;
  z-index: 2;
}

footer {
  position: relative;
  z-index: 2;
}

/* Milestone Frame Styling */
.mobile-demo-frame.milestone-active {
  background: linear-gradient(135deg, #e0cfff 0%, #b096ea 100%);
}

.mobile-demo-frame.milestone-active header,
.mobile-demo-frame.milestone-active footer {
  background: transparent;
}

.mobile-demo-frame.milestone-active header h1,
.mobile-demo-frame.milestone-active header button {
  color: #333;
}

/* Transparent Header */
header.transparent-header {
  background: transparent !important;
  z-index: 10;
}

header.transparent-header h1,
header.transparent-header button {
  color: #333;
}

/* Verification Success Milestone */
.verification-success {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 0;
  text-align: left;
}

.verification-icon {
  margin-bottom: 20px;
}

.verification-icon svg {
  height: 80px;
  width: 80px;
}

.verification-icon path {
  animation: checkmark 1s ease-in-out forwards;
  animation-delay: 0.5s;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

/* Step-Specific Milestone Adjustments */
.form-step[data-step="5"] .verification-success {
  padding-bottom: 0;
}

.form-step[data-step="5"] .help-verify-section {
  margin-top: 0;
}

.form-step[data-step="5"].active ~ header {
  background: transparent !important;
  z-index: 10;
}

.form-step[data-step="5"].active ~ header h1 {
  color: #333;
}

.form-step[data-step="5"].active ~ header button {
  color: #333;
}

.form-step[data-step="17"] .verification-success {
  padding: 40px 0;
}

.form-step[data-step="18"] .verification-success {
  padding-bottom: 0;
}

.form-step[data-step="18"] .milestone-description {
  margin-top: 0;
}

/* Milestone Description */
.milestone-description {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  margin-top: 20px;
  text-align: left;
}

/* ==========================================================================
   DATE PICKER WHEEL SYSTEM
   ========================================================================== */

/* Date Picker Container */
.date-picker-container {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 24px;
}

.date-wheel-group {
  flex: 1;
  text-align: center;
}

.date-wheel-group label {
  color: #666;
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

/* Date Wheel Styling */
.date-wheel {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.date-wheel::before,
.date-wheel::after {
  content: "";
  height: 80px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 1;
}

.date-wheel::before {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  top: 0;
}

.date-wheel::after {
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  bottom: 0;
}

/* Wheel Scroller */
.wheel-scroller {
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform 0.3s;
}

.wheel-item {
  align-items: center;
  color: #666;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  height: 40px;
  justify-content: center;
  transition: all 0.2s;
}

.wheel-item.selected {
  color: #451eb3;
  font-weight: 500;
  transform: scale(1.1);
}

/* Date Wheel Indicator */
.date-wheel-indicator {
  border-bottom: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
  height: 40px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

/* Simple date inputs for desktop */
.date-simple-inputs {
  display: none; /* Hidden by default (mobile first) */
  gap: 16px;
  justify-content: space-between;
  width: 100%;
}

.date-simple-inputs .date-input-group {
  flex: 1;
  text-align: center;
}

.date-simple-inputs .date-input-group label {
  color: #666;
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  font-weight: 500;
}

.date-input-field {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  text-align: center;
  transition: border-color 0.3s ease;
  background: #fff;
  font-family: inherit;
}

.date-input-field:focus {
  outline: none;
  border-color: #451eb3;
}

.date-input-field::placeholder {
  color: #aaa;
}

/* Remove spinner from number inputs */
.date-input-field::-webkit-outer-spin-button,
.date-input-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.date-input-field[type="number"] {
  -moz-appearance: textfield;
}

/* Wheel interface container */
.date-wheel-interface {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  width: 100%;
}

/* Desktop: Show simple inputs, hide wheel */
@media (min-width: 769px) {
  .date-simple-inputs {
    display: flex;
  }

  .date-wheel-interface {
    display: none;
  }
}

/* Tablet and below: Show wheel, hide simple inputs */
@media (max-width: 768px) {
  .date-simple-inputs {
    display: none;
  }

  .date-wheel-interface {
    display: flex;
  }
}

/* ==========================================================================
   GENDER SELECTION SYSTEM
   ========================================================================== */

/* Gender Options Container */
.gender-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.gender-option {
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  padding: 16px;
  transition: all 0.2s ease;
}

.gender-option:hover {
  background-color: #f8f8ff;
  border-color: #8a7ff9;
}

.gender-option.selected {
  background-color: #f8f8ff;
  border-color: #8a7ff9;
}

/* Gender Icons */
.gender-icon {
  align-items: center;
  background-color: #5b5cff;
  border-radius: 8px;
  color: white;
  display: flex;
  font-size: 18px;
  font-weight: 500;
  height: 40px;
  justify-content: center;
  margin-right: 16px;
  width: 40px;
}

.gender-option[data-value="Male"] .gender-icon {
  background-color: #5b5cff;
}

.gender-option[data-value="Female"] .gender-icon {
  background-color: #ff5b8f;
}

.gender-option[data-value="X"] .gender-icon {
  background-color: #6c757d;
}

.gender-label {
  color: #000;
  font-size: 16px;
  font-weight: 500;
}

/* ==========================================================================
   ADDRESS SEARCH & CONFIRMATION SYSTEM
   ========================================================================== */

/* Address Search */
.address-search {
  margin: 24px 0 16px 0;
  position: relative;
}

.address-search .input-group {
  margin: 0;
}

.address-search .input-group input {
  background-color: #fff;
  border-radius: 8px;
  height: 56px;
  padding: 16px;
}

.address-search .input-group label {
  display: none; /* Hide label for Google's placeholder */
}

/* Address Confirmation */
.address-confirmation {
  margin-top: 20px;
}

.address-confirmation h3 {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.address-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address-fields .input-group {
  align-items: center;
  background: #fefefe;
  border-radius: 8px;
  display: flex;
  margin: 0;
  padding: 8px 12px;
  position: relative;
  min-width: 260px;
  height: auto;
  gap: 12px;
}

.address-fields label {
  background: none;
  color: #666;
  flex-shrink: 0;
  font-size: 13px;
  margin-bottom: 0;
  order: -1;
  padding: 0;
  position: static;
  width: 120px;
  white-space: normal;
  word-break: break-word;
  display: flex;
  align-items: center;
  height: auto;
}

.address-fields input {
  background: transparent !important;
  border: none !important;
  color: #000;
  flex: 1 1 0%;
  font-size: 14px !important;
  font-weight: 500;
  height: auto !important;
  padding: 0 !important;
  text-align: right;
  padding-right: 10px !important;
}

.address-fields input:focus {
  outline: none;
}

.address-fields .edit-btn {
  align-items: center;
  background: none;
  border: none;
  color: #8a7ff9;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  justify-content: center;
  margin-left: 8px;
  padding: 4px;
  position: static;
}

/* Address Actions */
.address-actions {
  margin-top: 16px;
}

.address-actions .btn-secondary {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #666;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  padding: 12px;
  text-align: center;
  transition: all 0.2s ease;
  width: 100%;
}

.address-actions .btn-secondary:hover {
  border-color: #000;
  color: #000;
}

/* Step-Specific Address Styling */
.form-step[data-step="8"] {
  padding-top: 0;
}

.form-step[data-step="8"] > p {
  color: #666;
  font-size: 14px;
  margin-bottom: 0;
}

/* Google Places Autocomplete */
.pac-container {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  margin-top: 4px;
}

.pac-item {
  cursor: pointer;
  font-size: 14px;
  padding: 8px 12px;
}

.pac-item:hover {
  background-color: #fefefe;
}

.pac-item-selected {
  background-color: #fefefe;
}

/* ==========================================================================
   CITIZENSHIP SYSTEM
   ========================================================================== */

/* Second Citizenship */
.second-citizenship {
  margin-top: 16px;
  transition: all 0.3s ease;
}

.second-citizenship .input-group {
  margin: 0;
}

.second-citizenship select {
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  padding: 14px;
  padding-right: 40px;
  width: 100%;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.second-citizenship select:focus {
  background-color: #fff;
  border-color: #000;
  outline: none;
}

.second-citizenship select option {
  background-color: #fff;
  color: #000;
  padding: 12px;
}

.citizenship-option[data-value="yes"].selected ~ .second-citizenship {
  display: block !important;
}

/* ==========================================================================
   ID DOCUMENT SYSTEM
   ========================================================================== */

/* ID Document Options */
.id-document-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.id-option {
  align-items: center;
  background-color: #fefefe;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  padding: 16px;
  transition: all 0.2s ease;
}

.id-option.selected {
  background-color: #f8f8ff;
  border-color: #8a7ff9;
}

/* ID Icons */
.id-icon {
  align-items: center;
  background-color: #5b5cff;
  border-radius: 8px;
  color: white;
  display: flex;
  font-size: 18px;
  font-weight: 500;
  height: 40px;
  justify-content: center;
  margin-right: 16px;
  width: 40px;
}

.id-option[data-value="drivers-license"] .id-icon {
  background-color: #5b5cff;
}

.id-option[data-value="passport"] .id-icon {
  background-color: #6c757d;
}

.id-option[data-value="foreign"] .id-icon {
  background-color: #fcb643;
}

.id-label {
  color: #000;
  font-size: 16px;
  font-weight: 500;
}

/* ==========================================================================
   ID VERIFICATION SYSTEM
   ========================================================================== */

/* Subtitle */
.subtitle {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
  padding: 15px 0px;
}

/* Dropdown Styling */
.state-dropdown,
.country-dropdown,
.id-type-dropdown {
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  padding: 16px;
  padding-right: 40px;
  width: 100%;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.state-dropdown:focus,
.country-dropdown:focus,
.id-type-dropdown:focus {
  background-color: #fff;
  border-color: #8a7ff9;
  outline: none;
}

/* Step-Specific ID Verification Styling */
.form-step[data-step="12"] .input-group input,
.form-step[data-step="13"] .input-group input,
.form-step[data-step="14"] .input-group input {
  background-color: #fff;
  border-radius: 12px;
  font-size: 18px;
  letter-spacing: 0.5px;
  padding: 16px;
}

.form-step[data-step="12"] .input-group label,
.form-step[data-step="13"] .input-group label,
.form-step[data-step="14"] .input-group label {
  color: #666;
  font-size: 14px;
}

.form-step[data-step="12"] .tick-icon,
.form-step[data-step="13"] .tick-icon,
.form-step[data-step="14"] .tick-icon {
  color: #8a7ff9;
  font-size: 20px;
}

/* ==========================================================================
   CONFIRMATION DETAILS SYSTEM
   ========================================================================== */

.form-step[data-step="16"] .subtitle {
  color: #666;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* Step 16 Mobile Header Fix - Prevent title overlap with back button */
@media (max-width: 768px) {
  .form-step[data-step="16"].active ~ header #screenTitle {
    left: 60px;
    right: 20px;
    font-size: 15px;
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.confirmation-fields .input-group + .input-group {
  margin-top: 4px;
}

/* ==========================================================================
   CONSENT VERIFICATION SYSTEM
   ========================================================================== */

/* Consent Items */
.consent-items {
  margin: 1rem 0;
}

.consent-item {
  align-items: flex-start;
  display: flex;
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
}

.consent-item input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #451eb3;
}

.consent-item label {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #0f1939;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: auto;
  padding-right: 4px;
}

/* Edit Button */
.edit-btn {
  background: none;
  border: none;
  color: #8a7ff9;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0.5rem;
  padding: 0.25rem;
}

/* Confirmation Field Layout */
.confirmation-field {
  align-items: center;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
}

.field-label {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.field-value {
  flex-grow: 1;
  font-weight: 600;
  padding: 0 1rem;
  text-align: right;
}

/* Continue Button Update */
.form-step[data-step="16"] ~ footer #continueBtn {
  text-transform: capitalize;
}

/* ==========================================================================
   SELECTION OPTIONS SYSTEM
   ========================================================================== */

/* Selection Options Container */
.selection-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.selection-option {
  background-color: #f8f8ff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  padding: 20px;
  transition: all 0.2s ease;
}

.selection-option:hover {
  background-color: rgb(255, 255, 255);
  border-color: var(--accent--primary-3, #451eb3);
  box-shadow: 0 2px 4px rgba(255, 127, 101, 0.1);
  color: var(--accent--primary-3, #000000);
}

.selection-option.selected {
  background-color: #f8f8ff;
  border: 3px solid var(--accent--primary-1, #451eb3);
  box-shadow: 0 4px 8px rgba(69, 30, 179, 0.15);
  color: var(--accent--primary-1, #451eb3);
}

.selection-option.selected:hover {
  background-color: rgb(255, 255, 255);
  border-color: var(--accent--primary-3, #ff7f65);
  box-shadow: 0 4px 12px rgba(255, 127, 101, 0.2);
  color: var(--accent--primary-3, #000000);
}

.selection-option p {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.selection-option strong {
  font-weight: 600;
}

/* ==========================================================================
   EMPLOYMENT OPTIONS SYSTEM
   ========================================================================== */

/* Employment Options Container */
.employment-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.employment-option {
  background-color: #f8f8ff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  padding: 20px;
  transition: all 0.2s ease;
}

.employment-option:hover {
  border-color: coral;
}

.employment-option.selected {
  border: 3px solid coral;
}

.employment-option p {
  color: #333;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
}

/* Employment Step Button Updates */
.form-step[data-step="19"] ~ footer #continueBtn,
.form-step[data-step="20"] ~ footer #continueBtn,
.form-step[data-step="21"] ~ footer #continueBtn {
  content: "Confirm";
  text-transform: capitalize;
}

.form-step[data-step="19"] .subtitle,
.form-step[data-step="20"] .subtitle,
.form-step[data-step="21"] .subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 8px;
}

/* ==========================================================================
   WORK TYPE FORM SYSTEM (Step 23)
   ========================================================================== */

/* Work Type Form Container */
.work-type-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field label {
  color: #666;
  font-size: 16px;
  line-height: 1.4;
}

/* Custom Select Styling */
.custom-select {
  margin-bottom: 20px;
  position: relative;
  width: 100%;
}

.custom-select select {
  appearance: none !important;
  background: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23451EB3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 17px center;
  background-repeat: no-repeat;
  background-size: 24px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-sizing: border-box;
  color: #0f1939;
  cursor: pointer;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  height: 65px;
  line-height: 21px;
  padding: 15px 17px;
  padding-right: 45px;
  transition: all 0.2s ease;
  width: 100%;
  -moz-appearance: none !important;
  -webkit-appearance: none !important;
}

.custom-select select::-ms-expand {
  display: none;
}

.custom-select select:focus {
  border-color: #451eb3;
  box-shadow: 0 0 0 4px rgba(69, 30, 179, 0.1);
  outline: none;
}

.custom-select select:hover {
  border-color: #451eb3;
}

.custom-select select option {
  background: #ffffff;
  color: #0f1939;
  font-size: 14px;
  padding: 12px;
}

.custom-select select option:checked {
  background: #f8f8ff;
  color: #451eb3;
}

/* Dropdown Label */
.dropdown-label {
  align-items: center;
  color: #0f1939;
  display: flex;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  gap: 10px;
  line-height: 20px;
  margin-bottom: 10px;
}

.dropdown-container {
  background: #fefefe;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 22px 9px;
  width: 100%;
}

.dropdown-info-icon {
  align-items: center;
  color: #0f1939;
  display: flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

/* ==========================================================================
   TAX OPTIONS SYSTEM (Step 26)
   ========================================================================== */

/* Dual Tax Container */
.dual-tax {
  margin-top: 24px;
}

.dual-tax-label {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
}

.tax-options {
  display: flex;
  gap: 12px;
}

.tax-option {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  color: #333;
  cursor: pointer;
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  transition: all 0.2s ease;
}

.tax-option:hover {
  background: #f8f8ff;
  border-color: #8a7ff9;
}

.tax-option.selected {
  background: #f8f8ff;
  border-color: #8a7ff9;
  color: #000;
}

/* ==========================================================================
   LICENSE CARD SYSTEM
   ========================================================================== */

/* License Card Container */
.license-card-container {
  height: 220px;
  margin: 30px auto;
  max-width: 340px;
  perspective: 1000px;
  width: 100%;
}

.license-card {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  width: 100%;
}

.license-card.is-flipped {
  transform: rotateY(180deg);
}

.license-card-face {
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: absolute;
  width: 100%;
}

.license-card-face img {
  flex: 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.license-card-front {
  transform: rotateY(0deg);
}

.license-card-back {
  transform: rotateY(180deg);
}

.license-card-label {
  background-color: #fefefe;
  color: #666;
  font-size: 14px;
  margin: 0;
  padding: 8px;
  text-align: center;
}

/* License Preview (Alternative Style) */
.license-preview {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-top: 20px;
  overflow: hidden;
}

.license-preview img {
  display: block;
  width: 100%;
}

.preview-label {
  background-color: #fefefe;
  color: #666;
  font-size: 14px;
  margin: 0;
  padding: 8px;
  text-align: center;
}

/* ==========================================================================
   W8-BEN FORM SYSTEM (Step 29)
   ========================================================================== */

/* W8-BEN Header */
.form-step[data-step="29"] .w8ben-header {
  border-bottom: 1px solid #000;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2px;
  padding-bottom: 2px;
  width: 100%;
}

.form-step[data-step="29"] .w8ben-header-left {
  border-right: 1px solid #000;
  padding-right: 4px;
  width: 20%;
}

.form-step[data-step="29"] .form-label {
  display: block;
  font-size: 6px;
}

.form-step[data-step="29"] .form-number {
  display: block;
  font-size: 10px;
  font-weight: bold;
}

.form-step[data-step="29"] .form-subtitle,
.form-step[data-step="29"] .form-department {
  font-size: 6px;
  line-height: revert;
  margin: 1px 0;
}

.form-step[data-step="29"] .w8ben-header-center {
  padding: 0 3px;
  text-align: center;
  width: 60%;
}

.form-step[data-step="29"] .w8ben-header-center h3 {
  font-size: 8px !important;
  font-weight: bold;
  line-height: 1.2 !important;
  margin: 2px 0;
}

.form-step[data-step="29"] .w8ben-header-center p {
  font-size: 6px !important;
  margin: 2px 0;
}

.form-step[data-step="29"] .w8ben-header-right {
  font-size: 6px !important;
  padding-left: 2px;
  text-align: right;
  width: 20%;
}

.form-step[data-step="29"] .w8ben-header-right p {
  font-size: 6px !important;
  line-height: 1.1 !important;
  margin: 1px 0 !important;
}

/* W8-BEN Instructions */
.form-step[data-step="29"] .w8ben-instructions {
  border-bottom: 1px solid #000;
  margin-bottom: 3px;
  padding-bottom: 2px;
  width: 100%;
}

.form-step[data-step="29"] .instruction-row {
  display: flex;
  font-size: 6px;
  justify-content: space-between;
  line-height: 1.2;
}

.form-step[data-step="29"] .instruction-left {
  width: 75%;
}

.form-step[data-step="29"] .instruction-right {
  text-align: right;
  width: 25%;
}

/* W8-BEN Parts */
.form-step[data-step="29"] .w8ben-part {
  align-items: center;
  background-color: #f8f8ff;
  display: flex;
  margin: 2px 0;
  width: 100%;
}

.form-step[data-step="29"] .part-header {
  background-color: #000;
  color: #fff;
  font-size: 6px !important;
  font-weight: bold;
  padding: 1px 3px;
}

.form-step[data-step="29"] .part-title {
  font-size: 6px !important;
  font-weight: bold;
  padding-left: 4px;
}

/* W8-BEN Fields */
.form-step[data-step="29"] .w8ben-fields {
  margin-bottom: 3px;
  width: 100%;
}

.form-step[data-step="29"] .field-row {
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  padding: 1px 0;
}

.form-step[data-step="29"] .field-number {
  font-size: 6px !important;
  font-weight: bold;
  padding: 1px;
  width: 12px;
}

.form-step[data-step="29"] .field-content {
  flex: 1;
  min-height: 18px;
  padding: 1px;
}

.form-step[data-step="29"] .field-content.full-width {
  width: 100%;
}

.form-step[data-step="29"] .field-label {
  color: #666;
  font-size: 6px !important;
  margin-bottom: 1px !important;
}

.form-step[data-step="29"] .field-value {
  color: #000;
  font-size: 7px !important;
  font-weight: bold;
  line-height: 1.3;
  padding: 2px 0;
}

/* W8-BEN Certification */
.form-step[data-step="29"] .w8ben-certification {
  font-size: 5px !important;
  line-height: 1.2 !important;
  margin: 2px 0 !important;
  padding: 0 3px !important;
  width: 100%;
}

.form-step[data-step="29"] .w8ben-certification p {
  font-size: 5px !important;
  margin: 2px 0 !important;
}

.form-step[data-step="29"] .w8ben-certification ul {
  list-style-type: none !important;
  margin: 3px 0 3px 7px !important;
  padding-left: 7px !important;
}

.form-step[data-step="29"] .w8ben-certification li {
  font-size: 6px !important;
  line-height: 1.3 !important;
  margin: 3px 0 !important;
  padding-left: 5px !important;
  position: relative !important;
}

.form-step[data-step="29"] .w8ben-certification li:before {
  content: "•" !important;
  font-size: 6px !important;
  left: -5px !important;
  position: absolute !important;
  top: 0 !important;
}

/* W8-BEN Signature */
.form-step[data-step="29"] .w8ben-signature {
  align-items: flex-end;
  border-top: 1px solid #e0e0e0;
  display: flex;
  margin-top: 3px !important;
  padding-top: 2px !important;
  width: 100%;
}

.form-step[data-step="29"] .signature-label {
  align-self: center;
  font-size: 6px !important;
  font-weight: bold;
  padding-right: 6px !important;
}

.form-step[data-step="29"] .signature-field {
  align-items: flex-end;
  border-bottom: 1px solid #000;
  display: flex;
  flex: 1;
  font-size: 6px !important;
  height: 12px !important;
  margin-right: 6px !important;
}

.form-step[data-step="29"] .signature-date {
  align-items: flex-end;
  border-bottom: 1px solid #000;
  display: flex;
  font-size: 6px !important;
  height: 12px !important;
  width: 45px !important;
}

/* W8-BEN Signer */
.form-step[data-step="29"] .w8ben-signer {
  border-top: 0.5px solid #e0e0e0 !important;
  display: flex !important;
  flex-direction: column !important;
  margin-top: 3px !important;
  padding-top: 2px !important;
  width: 100%;
}

.form-step[data-step="29"] .signature-name {
  border-bottom: 0.5px solid #000 !important;
  font-size: 6px !important;
  height: 10px !important;
  margin-bottom: 2px !important;
}

.form-step[data-step="29"] .signature-title {
  color: #666 !important;
  font-size: 5px !important;
}

/* W8-BEN Instructions */
.form-step[data-step="29"] .signature-instructions {
  align-items: flex-start;
  background: #fefefe;
  border-radius: 8px;
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
}

.form-step[data-step="29"] .signature-icon {
  color: #000;
  flex-shrink: 0;
  margin-top: 0;
  transform: scale(0.9);
}

.form-step[data-step="29"] .signature-instructions p {
  color: #666;
  font-size: 12px;
  line-height: 1.3;
  margin: 0;
}

.form-step[data-step="29"] .subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 8px !important;
}

/* W8-BEN Container */
.form-step[data-step="29"] .w8ben-container {
  aspect-ratio: 210 / 297; /* A4 Paper aspect ratio */
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 0 -8px;
  max-width: 100%;
  overflow: hidden;
}

.form-step[data-step="29"] .w8ben-form {
  aspect-ratio: 210 / 297; /* A4 Paper aspect ratio */
  color: #333;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 8px;
  line-height: 1.3;
  max-height: 430px;
  max-width: none;
  overflow-y: auto;
  padding: 8px;
  position: relative;
  transform: scale(0.95) !important;
  transform-origin: top center;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.form-step[data-step="29"] .w8ben-form::-webkit-scrollbar {
  width: 5px;
}

.form-step[data-step="29"] .w8ben-form::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.form-step[data-step="29"] .w8ben-form::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

/* ==========================================================================
   HELP CENTER SYSTEM (Step 32)
   ========================================================================== */

/* Help Center Container */
.form-step[data-step="32"] .help-center {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding: 16px;
}

.form-step[data-step="32"] .help-question {
  align-items: center;
  border-radius: 6px;
  color: #333;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 500;
  justify-content: space-between;
  padding: 8px 12px;
  transition: background-color 0.2s;
}

.form-step[data-step="32"] .help-question:hover {
  background-color: #f0f0f0;
}

.form-step[data-step="32"] .help-question::after {
  color: #888;
  content: "→";
  font-size: 16px;
  margin-left: 8px;
}

/* Email Banner */
.form-step[data-step="32"] .email-banner {
  margin: 24px 0;
  text-align: center;
}

.form-step[data-step="32"] .email-banner img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: auto;
  margin-bottom: 16px;
  max-width: 100%;
}

.form-step[data-step="32"] .email-button {
  background-color: #2d7af1;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: white;
  display: inline-block;
  font-weight: 600;
  margin-top: 12px;
  padding: 12px 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.form-step[data-step="32"] .email-button:hover {
  background-color: #1b68e3;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Progress Steps */
.form-step[data-step="32"] .progress-steps {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 24px 0 36px;
  position: relative;
}

.form-step[data-step="32"] .progress-steps::before {
  background-color: #e0e0e0;
  content: "";
  height: 2px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 12px;
  z-index: 1;
}

.form-step[data-step="32"] .progress-step {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 48%;
  z-index: 2;
}

.form-step[data-step="32"] .progress-icon {
  align-items: center;
  background-color: white;
  display: flex;
  height: 28px;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  width: 28px;
}

.form-step[data-step="32"] .progress-step.completed .progress-icon svg {
  filter: drop-shadow(0 2px 3px rgba(255, 215, 0, 0.3));
}

.form-step[data-step="32"] .progress-step.current .progress-icon {
  border: 2px solid #2d7af1;
  border-radius: 50%;
}

.form-step[data-step="32"] .progress-label {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.form-step[data-step="32"] .progress-step.completed .progress-label {
  color: #000;
}

.form-step[data-step="32"] .progress-step.current .progress-label {
  color: #2d7af1;
  font-weight: 600;
}

/* Application Received Header */
.form-step[data-step="32"] .app-received-header {
  margin-bottom: 16px;
  text-align: center;
}

.form-step[data-step="32"] .app-received-header p {
  color: #666;
  font-size: 15px;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 90%;
}

/* ==========================================================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ========================================================================== */

/* Desktop Styles (1025px+) */
@media (min-width: 1025px) {
  .mobile-demo-frame {
    height: 90vh;
    width: 800px;
  }

  .confirmation-overlay {
    height: 100%;
    margin: auto !important;
    position: relative;
    width: 800px;
  }

  .content-parent,
  .content-area row {
    height: 100vh;
    margin-top: 0;
  }

  .content-area {
    margin-top: 0 !important;
  }

  .form-step {
    padding: 32px;
  }

  .account-options {
    gap: 24px;
  }
}

/* Tablet Styles (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .mobile-demo-frame {
    height: 90vh;
    width: 650px;
  }

  .confirmation-overlay {
    height: 100%;
    margin: auto !important;
    position: relative;
    width: 80%;
  }

  .content-area {
    bottom: 0;
    height: 100%;
    left: 0;
    margin-top: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
  }

  .content-parent,
  .content-area row {
    height: 100vh;
    margin-top: 0;
  }

  .form-step {
    padding: 24px;
  }

  .account-options {
    gap: 20px;
  }

  .main-content {
    background: #fff;
    overflow-y: hidden;
  }

  /* ID Options Responsive */
  .id-options {
    gap: 12px;
  }

  .id-option {
    padding: 16px;
  }

  .id-option p {
    font-size: 15px;
  }

  /* Public Role Options Responsive */
  .public-role-options {
    flex-direction: column;
    gap: 8px;
  }

  .public-role-option {
    font-size: 15px;
    padding: 12px;
  }

  /* Currency Options Responsive */
  .currency-options {
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
    padding: 0 12px;
  }

  .currency-option {
    min-height: 80px;
    padding: 10px;
  }

  .currency-option .currency-flag-small {
    height: 32px;
    margin-bottom: 6px;
    width: 32px;
  }

  /* SMSF Responsive */
  .smsf-checklist-horizontal {
    gap: 15px !important;
    padding: 0 10px !important;
  }

  .smsf-checklist-icon {
    height: 50px !important;
    width: 50px !important;
  }

  .smsf-checklist-text {
    font-size: 13px !important;
  }
}

/* Extra Small Mobile (480px and below) */
@media (max-width: 480px) {
  .currency-options {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* SMSF Slider Responsive */
@media (max-width: 600px) {
  .slider-container input[type="range"]::-webkit-slider-thumb,
  .slider-container input[type="range"]::-moz-range-thumb,
  .slider-container input[type="range"]::-ms-thumb {
    height: 20px;
    width: 20px;
  }
}

/* Mobile Styles (768px and below) */
@media (max-width: 768px) {
  /* Mobile Header Padding */
  header {
    padding: 15px 34px 15px 10px;
  }

  .mobile-demo-frame {
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: 90vh;
    margin: 1rem auto;
    min-width: 375px;
    width: 100%;
  }

  .confirmation-overlay {
    height: 100%;
    margin: auto !important;
    min-width: 400px;
    position: relative;
    width: 100;
  }

  html,
  body {
    background: #fff !important;
    overflow-y: hidden;
  }

  .content-parent,
  .content-area row {
    background: #fff !important;
    height: 100vh;
    margin-top: 0;
  }

  .content-area {
    bottom: 0;
    height: 100%;
    left: 0;
    margin-top: 0;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
  }

  .form-step {
    padding: 16px;
  }

  .account-options {
    gap: 16px;
  }

  /* Mobile Option Responsiveness */
  .citizenship-options,
  .hin-options,
  .tax-options {
    flex-direction: column;
    gap: 8px;
  }

  .citizenship-option,
  .hin-option,
  .tax-option {
    font-size: 15px;
    padding: 12px;
  }

  .selection-options,
  .employment-options,
  .gender-options {
    gap: 12px;
  }

  .selection-option,
  .employment-option,
  .gender-option {
    padding: 16px;
  }

  .selection-option p,
  .employment-option p,
  .gender-option p {
    font-size: 15px;
  }
}

/* ==========================================================================
   HEADER & MAIN CONTENT
   ========================================================================== */

.header {
  display: none;
}

.main-content {
  background-color: #f8f7f5 !important;
}

#btnSaveCopy {
  display: none;
}

.loading-text {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-left: 10px;
}

/* ==========================================================================
   TERMS AND CONDITIONS
   ========================================================================== */

.terms-and-conditions-container {
  max-height: 60vh;
  overflow-y: auto;
  padding-bottom: 25px;
}

.terms-and-conditions-container a {
  color: var(--color-text-link) !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.terms-and-conditions-container a:hover {
  color: #451eb3 !important;
  text-decoration: underline !important;
}

/* ==========================================================================
   EMAIL CHECK SYSTEM
   ========================================================================== */

.email-check-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.check-email-button {
  align-items: center;
  background-color: #f8f8ff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: #333;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 500;
  gap: 8px;
  justify-content: center;
  padding: 12px 20px;
  transition: all 0.2s ease;
}

.check-email-button:hover {
  background-color: #f8f8ff;
  border-color: #8a7ff9;
}

.check-email-button svg {
  flex-shrink: 0;
}

/* ==========================================================================
   TREATY INFO CARD SYSTEM
   ========================================================================== */

.treaty-info-card {
  align-items: flex-start;
  background: #fefefe;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  margin: 24px 0;
  padding: 24px;
}

.info-content h3 {
  font-size: 18px;
  margin: 0 0 8px 0;
}

.info-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   UPLOAD SYSTEM
   ========================================================================== */

/* Upload Info */
.upload-info {
  background: #f8f8ff;
  border-radius: 12px;
  margin: 16px 0;
  padding: 16px;
}

.upload-info p {
  color: #666;
  font-size: 13px;
  line-height: 1.3;
  margin: 0;
}

/* Upload Items */
.upload-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.upload-item {
  align-items: center;
  background: white;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  padding: 12px;
  position: relative;
  transition: all 0.2s;
}

.upload-item:hover {
  background-color: #fafffe;
  border-color: #075e54;
}

.upload-item.has-file {
  border-color: #075e54;
  border-width: 1px;
}

.upload-icon {
  flex-shrink: 0;
  height: 24px;
  margin-right: 12px;
  width: 24px;
}

.upload-content {
  flex-grow: 1;
  min-width: 0;
}

.upload-label {
  color: #333;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.upload-description {
  color: #666;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-status {
  color: #999;
  font-size: 12px;
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-status.uploaded {
  color: #075e54;
  font-weight: 500;
}

.file-input {
  cursor: pointer;
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* ==========================================================================
   ACCOUNT SUMMARY SYSTEM
   ========================================================================== */

.account-summary {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
  padding: 14px;
}

.account-summary h3 {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.summary-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.summary-row {
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  padding: 4px 0;
}

.summary-label {
  color: #666;
  flex-shrink: 0;
}

.summary-value {
  align-items: center;
  color: #333;
  display: flex;
  font-weight: 500;
  gap: 4px;
  justify-content: flex-end;
  text-align: right;
}

/* ==========================================================================
   FILE REQUEST SYSTEM
   ========================================================================== */

.form-variable-file-request {
  align-items: center;
  background: #5b5cff !important;
  border-color: #5b5cff !important;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgb(107 108 255);
  color: #fff !important;
  cursor: pointer;
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 6px;
}

.form-variable-file-request:hover {
  background: #4b4cff !important;
  border-color: #4b4cff !important;
  box-shadow: 0 2px 4px rgba(107, 108, 255, 0.3);
}

/* ==========================================================================
   CONFIRMATION OVERLAY SYSTEM
   ========================================================================== */

.confirmation-overlay {
  display: none !important;
}

.confirmation-overlay.active {
  display: block !important;
  margin: auto;
  visibility: visible !important;
}

body.confirmation-view-active .mobile-demo-frame {
  display: none !important;
}

#id_main_object_customFormContainer_object_signature {
  display: flex;
  font-size: 1.5em;
  justify-content: center;
  margin: auto;
  margin-top: 10px;
  padding: 10px;
  text-align: center;
  width: 100%;
}

.confirmation-container {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 20px 16px;
}

.confirmation-header {
  margin-bottom: 12px;
  text-align: center;
}

.confirmation-header p {
  color: #666;
  font-size: 13px;
  line-height: 1.3;
  margin: 0;
}

/* Confirmation Progress */
.confirmation-progress {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.progress-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 40%;
}

.progress-line {
  background-color: #e0e0e0;
  flex: 1;
  height: 1px;
  margin: 0 8px;
}

.progress-icon {
  margin-bottom: 4px;
}

.progress-icon svg {
  height: 20px;
  width: 20px;
}

.progress-label {
  color: #666;
  font-size: 11px;
  font-weight: 500;
}

.progress-item.completed .progress-label {
  color: #000;
}

.progress-item.current .progress-label {
  color: #000;
  font-weight: 600;
}

/* Email Card */
.email-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 12px;
  overflow: hidden;
}

.email-banner-img {
  display: block;
  height: auto;
  max-height: 120px;
  object-fit: cover;
  width: 100%;
}

.email-card-text {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
}

.email-card-text p {
  font-size: 12px;
  font-weight: 500;
  margin: 0;
}

.email-button {
  background-color: #000;
  border-radius: 14px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  text-decoration: none;
  white-space: nowrap;
}

/* Confirmation Message */
.confirmation-message {
  margin-bottom: 12px;
  text-align: center;
}

.confirmation-message p {
  color: #666;
  font-size: 13px;
  margin: 0;
}

/* Help Options */
.help-options {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-top: auto;
  padding: 12px;
}

.help-options h3 {
  color: #333;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.help-item {
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
}

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

.help-item span {
  color: #333;
  font-size: 12px;
}

/* ==========================================================================
   ERROR HANDLING & VALIDATION SYSTEM
   ========================================================================== */

/* Error Toast - Small Floating Banner */
.error-toast {
  animation: slideDown 0.3s ease-out forwards,
    fadeOut 0.3s ease-out 3.5s forwards !important;
  background: #f39395 !important;
  border: none !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  color: white !important;
  display: block !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  height: auto !important;
  left: 50% !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  max-height: 40px !important;
  max-width: calc(100% - 32px) !important;
  min-height: auto !important;
  overflow: hidden !important;
  padding: 8px 16px !important;
  pointer-events: auto !important;
  position: fixed !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  top: 16px !important;
  transform: translateX(-50%) !important;
  white-space: nowrap !important;
  width: auto !important;
  z-index: 10000 !important;
}

.error-toast::before {
  content: "";
  font-size: 0;
  margin-right: 0;
}

.error-toast p {
  margin: 0 0 8px 0;
  padding: 0;
}

.error-toast p:last-child {
  margin-bottom: 0;
}

/* Validation States - REMOVED */

/* ==========================================================================
   HIN ACCOUNT SYSTEM
   ========================================================================== */

.hin-account-section {
  margin-top: 32px;
}

.hin-account-section > p {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 16px;
}

.hin-options {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.hin-option {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  cursor: pointer;
  flex: 1;
  padding: 12px 24px;
  text-align: center;
  transition: all 0.2s ease;
}

.hin-option:hover {
  background: #f8f8ff;
  border-color: #8a7ff9;
}

.hin-option.selected {
  background: #f8f8ff;
  border-color: #8a7ff9;
  color: #000;
}

.hin-option span {
  font-size: 16px;
  font-weight: 500;
}

.hin-warning {
  background-color: #fff8e1;
  border: 1px solid #ffcc02;
  border-radius: 8px;
  margin-top: 16px;
  padding: 16px;
}

.hin-warning p {
  color: #8b4513;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
}

.hin-warning em {
  font-style: normal;
}

/* ==========================================================================
   UNIVERSAL SELECTION SYSTEM
   ========================================================================== */

/* Base Selection Option Styles */
.selection-option,
.account-option,
.employment-option,
.gender-option,
.citizenship-option,
.tax-option,
.hin-option,
.id-option,
.public-role-option {
  background-color: var(--color-bg-selection);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-medium);
  cursor: pointer;
  padding: var(--spacing-medium);
  transition: all 0.2s ease;
}

/* Hover States */
.selection-option:hover,
.account-option:hover,
.employment-option:hover,
.gender-option:hover,
.citizenship-option:hover,
.tax-option:hover,
.hin-option:hover,
.id-option:hover,
.public-role-option:hover {
  background-color: var(--color-bg-input);
  border-color: var(--color-accent-light);
  box-shadow: 0 2px 4px rgba(138, 127, 249, 0.1);
}

/* Selected States */
.selection-option.selected,
.account-option.selected,
.employment-option.selected,
.gender-option.selected,
.citizenship-option.selected,
.tax-option.selected,
.hin-option.selected,
.id-option.selected,
.public-role-option.selected,
.option.selected {
  background-color: var(--color-bg-selection);
  border: 3px solid var(--color-primary);
  box-shadow: 0 4px 8px rgba(69, 30, 179, 0.15);
  color: var(--color-primary);
}

/* ==========================================================================
   YES/NO SELECTION OPTIONS (Horizontal Layout)
   ========================================================================== */

.citizenship-options,
.hin-options,
.tax-options {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 1.5rem;
}

.citizenship-option,
.hin-option,
.tax-option {
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: var(--accent--primary-2, #0f1939);
  cursor: pointer;
  flex: 1;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 14px;
  text-align: center;
  transition: all 0.2s ease;
}

.citizenship-option:hover,
.hin-option:hover,
.tax-option:hover {
  background-color: rgb(255, 255, 255);
  border-color: var(--accent--primary-3, #ff7f65);
  box-shadow: 0 2px 4px rgba(255, 127, 101, 0.1);
  color: var(--accent--primary-3, #000000);
}

.citizenship-option.selected,
.hin-option.selected,
.tax-option.selected {
  background: var(--accent--primary-1, #451eb3);
  border: none;
  box-shadow: 0 2px 4px rgba(69, 30, 179, 0.2);
  color: #fafdff;
  font-weight: 600;
}

.citizenship-option:focus,
.hin-option:focus,
.tax-option:focus {
  box-shadow: 0 0 0 2px rgba(69, 30, 179, 0.2);
  outline: none;
}

/* ==========================================================================
   ID DOCUMENT OPTIONS SYSTEM
   ========================================================================== */

/* ID Document Options Container */
.id-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 1.5rem;
  margin-top: 16px;
}

.id-option {
  background-color: #f8f8ff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  color: var(--accent--primary-2, #0f1939);
  cursor: pointer;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-weight: 500;
  padding: 20px;
  text-align: left;
  transition: all 0.2s ease;
  width: 100%;
}

.id-option:hover {
  background-color: rgb(255, 255, 255);
  border-color: var(--accent--primary-3, #ff7f65);
  box-shadow: 0 2px 4px rgba(255, 127, 101, 0.1);
  color: var(--accent--primary-3, #000000);
}

.id-option.selected {
  background-color: #f8f8ff;
  border: 3px solid var(--accent--primary-1, #451eb3);
  box-shadow: 0 4px 8px rgba(69, 30, 179, 0.15);
  color: var(--accent--primary-1, #451eb3);
}

.id-option.selected:hover {
  background-color: rgb(255, 255, 255);
  border-color: var(--accent--primary-3, #ff7f65);
  box-shadow: 0 4px 12px rgba(255, 127, 101, 0.2);
  color: var(--accent--primary-3, #000000);
}

.id-option p {
  color: inherit;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   PUBLIC ROLE OPTIONS SYSTEM
   ========================================================================== */

/* Public Role Options Container */
.public-role-options {
  display: flex;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.public-role-option {
  background-color: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  color: var(--accent--primary-2, #0f1939);
  flex: 1;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 14px;
  text-align: center;
}

.public-role-option:hover {
  background-color: rgb(255, 255, 255);
  border-color: var(--accent--primary-3, #ff7f65);
  color: var(--accent--primary-3, #000000);
}

.public-role-option.selected {
  background: var(--accent--primary-1, #451eb3);
  border: none;
  box-shadow: 0 2px 4px rgba(69, 30, 179, 0.2);
  color: #fafdff;
  font-weight: 600;
}

.public-role-option:focus {
  box-shadow: 0 0 0 2px rgba(69, 30, 179, 0.2);
  outline: none;
}

/* ==========================================================================
   STEP-SPECIFIC STYLING
   ========================================================================== */

/* Step 24 - Public Role Check Question */
.form-step[data-step="24"] > p {
  color: #333333;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 16px;
}

/* Step 108 - SMSF Input Group Labels */
.form-step[data-step="108"] .input-group label {
  background-color: transparent;
  color: #888;
  display: block;
  font-size: 0.9em;
  font-weight: 500;
  left: auto;
  margin-bottom: 0.25em;
  padding: 0;
  position: relative;
  top: auto;
  z-index: auto;
}

.form-step[data-step="108"] .input-group input[readonly] {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #333;
  cursor: default;
  font-size: 1.1em;
  padding: 12px 16px;
}

/* ==========================================================================
   CAROUSEL SYSTEM
   ========================================================================== */

/* CSS Variables for Carousel Configuration */
:root {
  --carousel-control-size: 40px;
  --carousel-height: 700px;
  --carousel-indicator-size: 12px;
  --carousel-min-height: 650px;
  --carousel-slide-padding: 2rem 5rem 4rem 5rem !important;
  --carousel-slide-padding-mobile: 1.5rem 4rem 3rem 4rem !important;
  --slide-transition: 0.5s ease;
  --slide-transition-duration: 0.5s;
}

/* Base Carousel Container */
.carousel {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: var(--carousel-height);
  list-style: none;
  margin: 20px 0;
  min-height: var(--carousel-min-height);
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: center;
  width: 100%;
}

/* Carousel Activators (Hidden Radio Buttons) */
.carousel__activator {
  display: none;
}

/* Carousel Slide Base Styles */
.carousel__slide {
  -webkit-overflow-scrolling: touch;
  align-items: stretch;
  background: #fff;
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
  list-style-type: none;
  overflow-x: hidden;
  overflow-y: auto;
  padding: var(--carousel-slide-padding);
  position: relative;
  scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.1);
  scrollbar-width: thin;
  width: 100%;
}

/* Carousel Slide Scrollbar Styling */
.carousel__slide::-webkit-scrollbar {
  width: 6px;
}

.carousel__slide::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.carousel__slide::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.carousel__slide::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Carousel Track System */
.carousel__track {
  bottom: 0;
  display: flex;
  left: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform var(--slide-transition-duration) ease;
  width: calc(var(--_number-of-slides) * 100%);
}

.carousel__track > .carousel__slide_wrapper {
  box-sizing: border-box;
  flex: 0 0 calc(100% / var(--_number-of-slides));
  max-width: 100%;
  min-width: 0;
  padding: 0 5px;
  position: relative;
  width: 100%;
}

/* Carousel Activator States */
.carousel__activator:nth-of-type(1):checked ~ .carousel__track {
  transform: translateX(0%);
}

.carousel__activator:nth-of-type(2):checked ~ .carousel__track {
  transform: translateX(-100%);
}

.carousel__activator:nth-of-type(3):checked ~ .carousel__track {
  transform: translateX(-200%);
}

.carousel__activator:nth-of-type(4):checked ~ .carousel__track {
  transform: translateX(-300%);
}

.carousel__activator:nth-of-type(5):checked ~ .carousel__track {
  transform: translateX(-400%);
}

/* Carousel Controls System */
.carousel__controls {
  align-items: center;
  box-sizing: border-box;
  display: none;
  justify-content: space-between;
  left: 0;
  padding: 0 1rem;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 3;
}

.carousel__control {
  align-items: center;
  background-color: rgba(255, 255, 255, 0.95);
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  height: var(--carousel-control-size);
  justify-content: center;
  pointer-events: auto;
  position: relative;
  transition: all 0.3s ease;
  width: var(--carousel-control-size);
}

.carousel__control:hover {
  background-color: #fff;
  border-color: #451eb3;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.carousel__control::before {
  border-color: #666;
  border-style: solid;
  border-width: 2px 2px 0 0;
  content: "";
  display: inline-block;
  height: 12px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 12px;
}

.carousel__control--backward::before {
  transform: translate(-25%, -50%) rotate(-135deg);
}

.carousel__control--forward::before {
  transform: translate(-75%, -50%) rotate(45deg);
}

/* Carousel Indicators System */
.carousel__indicators {
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 2;
}

.carousel__indicator {
  background: #ddd;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  height: var(--carousel-indicator-size);
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
  width: var(--carousel-indicator-size);
}

.carousel__indicator:hover {
  background: #bbb;
  transform: scale(1.1);
}

.carousel__indicator.active {
  background: #451eb3;
  transform: scale(1.2);
}

/* Carousel Activator Control States */
.carousel__activator:nth-of-type(1):checked
  ~ .carousel__controls:nth-of-type(1),
.carousel__activator:nth-of-type(2):checked
  ~ .carousel__controls:nth-of-type(2),
.carousel__activator:nth-of-type(3):checked
  ~ .carousel__controls:nth-of-type(3),
.carousel__activator:nth-of-type(4):checked
  ~ .carousel__controls:nth-of-type(4),
.carousel__activator:nth-of-type(5):checked
  ~ .carousel__controls:nth-of-type(5) {
  display: flex;
}

/* Carousel Activator Indicator States */
.carousel__activator:nth-of-type(1):checked
  ~ .carousel__indicators
  .carousel__indicator:nth-of-type(1),
.carousel__activator:nth-of-type(2):checked
  ~ .carousel__indicators
  .carousel__indicator:nth-of-type(2),
.carousel__activator:nth-of-type(3):checked
  ~ .carousel__indicators
  .carousel__indicator:nth-of-type(3),
.carousel__activator:nth-of-type(4):checked
  ~ .carousel__indicators
  .carousel__indicator:nth-of-type(4),
.carousel__activator:nth-of-type(5):checked
  ~ .carousel__indicators
  .carousel__indicator:nth-of-type(5) {
  background-color: #333;
  opacity: 1;
  transform: scale(1.1);
}

/* ==========================================================================
   CAROUSEL CARD COMPONENTS
   ========================================================================== */

/* Add Director Card Container */
.add-director-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Static Add Director Card */
#addDirectorCardStatic {
  background-color: #f9f9f9;
  border: 2px dashed #e0e0e0;
  border-radius: 12px;
  color: #555;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex: 0 0 85%;
  justify-content: center;
  max-width: 320px;
  min-height: 200px;
  min-width: 280px;
  padding: 20px;
  transition: all 0.2s ease-in-out;
  align-items: center;
}

#addDirectorCardStatic:hover {
  background-color: #f0f0f0;
  border-color: #333;
}

#addDirectorCardStatic .plus-icon {
  color: #aaa;
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 8px;
}

#addDirectorCardStatic p {
  font-weight: 500;
  margin: 0;
}

/* Carousel Input Group Styling */
.carousel__slide .input-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.carousel__slide .input-group:last-of-type {
  margin-bottom: 2rem;
}

.carousel__slide .input-group input,
.carousel__slide .input-group select {
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  box-sizing: border-box;
  color: #0f1939;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  height: 56px;
  padding: 16px;
  transition: all 0.2s ease;
  width: 100%;
}

.carousel__slide .input-group input:focus,
.carousel__slide .input-group select:focus {
  border: 1px solid #451eb3;
  box-shadow: 0 0 0 4px rgba(69, 30, 179, 0.1);
  outline: none;
}

.carousel__slide .input-group label {
  background: transparent;
  color: #666666;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  left: 16px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.carousel__slide .input-group input:focus + label,
.carousel__slide .input-group input:not(:placeholder-shown) + label,
.carousel__slide .input-group select:focus + label,
.carousel__slide .input-group select:valid + label {
  background: #ffffff;
  color: #451eb3;
  font-size: 12px;
  padding: 0 4px;
  top: 0;
  transform: translateY(-50%);
}

.carousel__slide .tick-icon {
  color: #451eb3;
  font-size: 18px;
  opacity: 0;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.2s ease;
}

.carousel__slide .input-group input:focus ~ .tick-icon,
.carousel__slide .input-group input:not(:placeholder-shown) ~ .tick-icon,
.carousel__slide .input-group select:focus ~ .tick-icon,
.carousel__slide .input-group select:valid ~ .tick-icon {
  opacity: 1;
}

/* Carousel Select Dropdown Styling */
.carousel__slide .input-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='%23666' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 12px;
  padding-right: 40px;
}

.carousel__slide .input-group input::placeholder {
  color: transparent;
}

/* Step 114 Dropdown Styling */
.form-step[data-step="114"] .input-group select {
  background-position: right 50px center;
  padding-right: 70px;
}

.form-step[data-step="114"] .input-group select:not([value=""]) ~ .tick-icon {
  opacity: 1;
  transform: translateY(-50%);
}

/* Carousel Card Headers */
.carousel__slide .director-card-header,
.carousel__slide .trustee-card-header,
.carousel__slide .shareholder-card-header {
  align-items: center;
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  position: relative;
  width: 100%;
}

.carousel__slide .director-card-header h3,
.carousel__slide .trustee-card-header h3,
.carousel__slide .shareholder-card-header h3 {
  color: #333;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin: 0;
}

.director-card-header .consent-item {
  align-items: center;
  display: flex;
}

.director-card-header .consent-item label {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #0f1939;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 32px;
  margin-right: 10px;
}

.director-card-header .consent-item input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #451eb3;
  cursor: pointer;
}

.carousel__slide .date-input-group label {
  color: #333;
  font-size: 0.75em;
  top: -10px;
}

.carousel__slide .consent-item {
  align-items: center;
  display: flex;
  margin-top: 1.5rem;
}

.carousel__slide .consent-item input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #451eb3;
}

.carousel__slide .consent-item label {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #0f1939;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 32px;
  padding: 0;
  position: static;
  transform: none;
}

/* ==========================================================================
   CAROUSEL TRANSLATE SYSTEM
   ========================================================================== */

/* Carousel Translate Configuration */
.carousel--translate .carousel__track {
  bottom: 0;
  display: flex;
  left: 0;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: transform var(--slide-transition);
}

.carousel__slide {
  box-sizing: border-box;
  display: block;
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  opacity: 1;
  padding: 2rem !important;
  width: 100%;
}

/* ==========================================================================
   CAROUSEL ADD CARDS SYSTEM
   ========================================================================== */

/* Add Director Card */
.add-director-card {
  align-items: center;
  background-color: #f0f2f5;
  border-radius: 12px;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 3rem;
  transition: background-color 0.3s ease;
}

.add-director-card:hover {
  background-color: #e4e6e9;
}

.add-director-card .plus-icon {
  color: #0f1939;
  font-size: 80px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1rem;
}

.add-director-card p {
  color: #0f1939;
  font-size: 22px;
  font-weight: 500;
  margin-top: 1rem;
}

/* Add Trustee Card */
.add-trustee-card {
  align-items: center;
  background: #f8f8f8;
  border: 2px dashed #ccc;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 2em;
  text-align: center;
  transition: all 0.3s ease;
}

.add-trustee-card:hover {
  background: #f0f0f0;
}

.add-trustee-card .plus-icon {
  color: #666;
  font-size: 2em;
  margin-bottom: 0.5em;
}

.add-trustee-card p {
  color: #666;
  margin: 0;
}

/* ==========================================================================
   CAROUSEL STEP-SPECIFIC CONFIGURATIONS
   ========================================================================== */

/* Steps with Carousel Layout */
.form-step[data-step="110"].active,
.form-step[data-step="111"].active,
.form-step[data-step="113"].active {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* padding: 0 !important; - Justin: removed this because it unaligned the text - Not sure why this was here?*/
}

.form-step[data-step="111"].active {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Shareholder Details (Step 111) */
.form-step[data-step="111"] #shareholderDetailsIncorrect {
  margin-right: 12px;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #451eb3;
}

.form-step[data-step="111"] label[for="shareholderDetailsIncorrect"] {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #0f1939;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 32px;
}

.form-label-outside {
  color: #6c757d;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Ensure outside labels inside input-group do not float over controls */
.input-group > label.form-label-outside {
  position: static;
  transform: none;
  left: auto;
  top: auto;
  pointer-events: auto;
  display: block;
  margin-bottom: 8px;
}

/* Ensure select fills container and prevents text overlap with label */
.form-step[data-step="113"] #trusteeCountSelect {
  width: 100%;
  display: block;
}

.form-step[data-step="113"] .input-group select {
  width: 100%;
}

/* Step 112 - LEI Number */
.form-step[data-step="112"] #noLeiNumber {
  margin-right: 12px;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #451eb3;
}

.form-step[data-step="112"] label[for="noLeiNumber"] {
  background: transparent;
  border: none;
  border-radius: 0;
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #0f1939;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
  margin-bottom: 32px;
}

.slider-container {
  margin-top: 1rem;
  position: relative;
}

#sliderOutput {
  color: #333;
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 0.5rem;
  text-align: center;
}

/* Trustee Details (Step 113) */
.form-step[data-step="113"] .carousel__slide {
  background: white;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.form-step[data-step="113"] .carousel__slide::-webkit-scrollbar {
  width: 6px;
}

.form-step[data-step="113"] .carousel__slide::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}

.form-step[data-step="113"] .carousel__slide::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.form-step[data-step="113"] .carousel__slide::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

.form-step[data-step="113"] .trustee-card-header,
.form-step[data-step="113"] .director-card-header {
  align-items: center;
  border-bottom: 2px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  position: relative;
  width: 100%;
}

.form-step[data-step="113"] .trustee-card-header h3,
.form-step[data-step="113"] .director-card-header h3 {
  color: #333;
  font-size: 1.5em;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin: 0;
}

.form-step[data-step="113"] .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 1.5rem;
  width: 100%;
}

.form-step[data-step="113"] .form-row:last-child {
  margin-bottom: 2rem;
}

.form-step[data-step="113"] .form-row .input-group {
  flex: 1;
  min-width: 0;
}

.form-step[data-step="113"] .form-row .input-group:has(#trusteeTitle1) {
  flex-grow: 0;
  min-width: 120px;
}

.form-step[data-step="113"] .compact-question {
  background-color: #f9f9f9;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  flex: 1;
  padding: 8px;
}

.form-step[data-step="113"] .compact-question .form-helper-text {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-step[data-step="113"] .compact-question .citizenship-options {
  gap: 8px;
  justify-content: flex-start;
}

.form-step[data-step="113"] .compact-question .citizenship-option {
  font-size: 14px;
  padding: 6px 12px;
}

/* ==========================================================================
   CAROUSEL CARD MANAGEMENT SYSTEM
   ========================================================================== */

/* Director Card Management */
.director-card.add-card:hover {
  background-color: #d0d0d0;
}

.director-card.add-card .plus-icon {
  font-size: 3em;
  font-weight: 300;
  line-height: 1;
}

.director-card.add-card p {
  font-size: 0.9em;
  margin-top: 5px;
}

.director-card .remove-card-btn {
  background: none;
  border: none;
  color: #f44336;
  cursor: pointer;
  display: none;
  font-size: 1.5em;
  position: absolute;
  right: 8px;
  top: 8px;
}

.director-card.active-card .remove-card-btn {
  display: block;
}

.director-card.removing {
  opacity: 0 !important;
  transform: translateY(-200px) !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.no-select {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

.director-card.delete-staged .delete-background {
  opacity: 1;
  pointer-events: all;
}

.delete-background svg {
  height: 30px;
  pointer-events: none;
  width: 30px;
}

.director-card .card-content {
  align-items: center;
  background-color: #fff;
  display: flex;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
  z-index: 2;
}

.director-card .card-content.removing {
  opacity: 0 !important;
  transform: translateY(-200px) !important;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   CAROUSEL MOBILE RESPONSIVE SYSTEM
   ========================================================================== */

/* Mobile Carousel Card Content */
@media (max-width: 768px) {
  /* Carousel Card Form Rows */
  .carousel__slide .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .carousel__slide .form-row .input-group {
    flex: none;
    width: 100%;
  }

  /* Carousel Card Headers */
  .carousel__slide .director-card-header,
  .carousel__slide .trustee-card-header,
  .carousel__slide .shareholder-card-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Carousel Card Padding */
  .carousel__slide {
    padding: 1.5rem 1rem 2rem 1rem !important;
  }

  /* Carousel Card Consent Items */
  .carousel__slide .consent-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .carousel__slide .consent-item input[type="checkbox"] {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* Small Mobile Carousel Adjustments */
@media (max-width: 480px) {
  .carousel__slide {
    padding: 1rem 0.75rem 1.5rem 0.75rem !important;
  }

  .carousel__slide .input-group {
    margin-bottom: 1rem;
  }

  .carousel__slide .director-card-header h3,
  .carousel__slide .trustee-card-header h3,
  .carousel__slide .shareholder-card-header h3 {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   CONFIRMATION SYSTEM
   ========================================================================== */

/* Confirmation Fields */
.confirmation-fields {
  border: 1px solid #eee;
  border-radius: 8px;
  margin: 20px 0;
  padding: 10px;
}

.confirmation-row {
  align-items: flex-start;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  padding: 15px 10px;
}

.confirmation-row:last-child {
  border-bottom: none;
}

.confirmation-label {
  color: #555;
  flex-shrink: 0;
  font-weight: 500;
  width: 120px;
}

.confirmation-value {
  color: #222;
  flex-grow: 1;
  font-size: 0.9em;
  font-weight: 600;
  padding-left: 15px;
  text-align: left;
}

.confirmation-row .edit-btn {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  margin-left: 15px;
  padding: 5px;
}

/* ==========================================================================
   MISCELLANEOUS COMPONENTS
   ========================================================================== */

/* Milestone Screen */
.milestone-screen {
  padding-top: 40px;
  text-align: left;
}

/* Ensure all text elements in milestone screens are left-aligned */
.milestone-screen * {
  text-align: left !important;
}

/* Exception: Keep verification success container centered for icon */
.milestone-screen .verification-success {
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* Exception: Keep verification icon centered - more specific to override general rule */
.milestone-screen .verification-icon,
.milestone-screen .verification-icon * {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

/* Exception: Keep screen title centered (handled by header styles) */
.milestone-screen ~ header #screenTitle {
  text-align: center !important;
}

.form-step .form-row .input-group:only-child {
  flex-basis: 100%;
}

body.no-select {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

/* HIN Question */
.hin-question {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

/* ==========================================================================
   TOOLTIP SYSTEM
   ========================================================================== */

/* General Tooltip Container */
.tooltip-container {
  display: inline-block;
  position: relative;
}

.info-icon {
  align-items: center;
  border: 2px solid #451eb3;
  border-radius: 50%;
  color: #451eb3;
  cursor: pointer;
  display: flex;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-weight: bold;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.tooltip {
  /* Hide by default */
  visibility: hidden;
  opacity: 0;

  /* Positioning - fixed for Dialog platform compatibility */
  position: fixed !important;
  z-index: 999999 !important;

  /* Appearance */
  background-color: #000 !important;
  border: 3px solid #ff0000 !important;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
  color: #fff !important;

  /* Typography */
  font-size: 14px !important;
  line-height: 1.4;
  text-align: center;
  white-space: normal;

  /* Size */
  width: 280px;
  max-width: 400px;
  padding: 15px !important;

  /* Animation */
  transition: all 0.2s ease;
  pointer-events: none;
  box-sizing: border-box;
}

/* Show tooltip on hover/focus */
.tooltip-container:hover .tooltip,
.tooltip-container:focus-within .tooltip,
.tooltip.show,
.tooltip.visible {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.tooltip::after {
  border: 8px solid transparent;
  border-top-color: #000;
  content: "";
  left: 50%;
  position: absolute;
  top: 100%;
  transform: translateX(-50%);
}

/* Mobile responsive for general tooltips */
@media (max-width: 768px) {
  .tooltip {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: calc(100vw - 50px) !important;
    max-width: 350px !important;
  }

  .tooltip::after {
    display: none !important;
  }
}

/* ==========================================================================
   CURRENCY OPTIONS SYSTEM
   ========================================================================== */

/* Currency Options Grid */
.currency-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  max-width: 720px;
}

.currency-option {
  align-items: center;
  background-color: #f5f5f5;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90px;
  padding: 12px;
  position: relative;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

.currency-option:hover {
  border-color: #956afa;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.currency-option.selected {
  background-color: #956afa;
  border-color: #956afa;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.currency-option.selected .currency-code {
  color: #ffffff;
}

.currency-option input[type="radio"] {
  height: 0;
  opacity: 0;
  position: absolute;
  width: 0;
}

.currency-option label {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.currency-option .currency-flag-small {
  border-radius: 50%;
  height: 36px;
  margin-bottom: 8px;
  object-fit: cover;
  width: 36px;
}

.currency-option .currency-code {
  font-size: 1.05em;
  font-weight: 600;
  margin-bottom: 2px;
}

.currency-option .currency-name {
  color: #666;
  font-size: 0.85em;
  line-height: 1.3;
}

.currency-option.selected .currency-name {
  color: rgba(255, 255, 255, 0.8);
}

/* ==========================================================================
   STEP 29 - W8-BEN FORM SYSTEM
   ========================================================================== */

.form-step[data-step="29"] {
  height: auto;
  overflow-y: auto;
}

.login-link {
  font-size: 14px;
  text-align: center;
}

.form-step[data-step="29"] .mobile_w8ben-container {
  aspect-ratio: 210 / 297;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 0 -8px;
  max-width: 100%;
  overflow: hidden;
}

.mobile_w8ben-form {
  color: #333;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 8px;
  height: 100%;
  line-height: 1.3;
  padding: 8px;
  position: relative;
  transform: scale(0.95);
  transform-origin: top center;
  width: 100%;
}

.form-step[data-step="29"] .field-value {
  color: #000 !important;
  font-size: 7px !important;
  font-weight: bold;
  line-height: 1.3;
  padding: 2px 0;
}

/* ==========================================================================
   SMSF REQUIREMENTS SYSTEM
   ========================================================================== */

/* SMSF Requirements Horizontal Layout */
.milestone-screen .smsf-requirements {
  align-items: left !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 1rem !important;
  justify-content: space-around !important;
  margin: 2em auto !important;
  max-width: 600px !important;
  text-align: left !important;
  width: 100% !important;
}

.milestone-screen .smsf-requirement {
  align-items: center !important;
  display: flex !important;
  flex: 1 !important;
  flex-direction: column !important;
  min-width: 0 !important;
  text-align: left !important;
}

.milestone-screen .smsf-icon {
  filter: brightness(0.6) saturate(1.2) !important;
  flex-shrink: 0 !important;
  height: 40px !important;
  margin-bottom: 0.6em !important;
  opacity: 0.8 !important;
  width: 40px !important;
  text-align: left !important;
}

.milestone-screen .smsf-text {
  color: #333 !important;
  font-size: 0.85em !important;
  font-weight: 500 !important;
  hyphens: auto !important;
  letter-spacing: 0.01em !important;
  line-height: 1.2 !important;
  text-align: left !important;
  word-wrap: break-word !important;
}

/* SMSF Custom Layout */
.smsf-custom-layout {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  justify-content: center !important;
  padding: 24px !important;
  position: relative !important;
  text-align: center !important;
}

.smsf-custom-layout h2 {
  color: #000 !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif !important;
  font-size: 40px !important;
  font-weight: 300 !important;
  line-height: inherit !important;
  margin-bottom: 24px !important;
  margin-top: 20px !important;
  text-align: left !important;
}

.smsf-custom-layout .smsf-checklist-horizontal {
  align-items: flex-start !important;
  border: 2px solid red !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 15px !important;
  justify-content: space-around !important;
  margin: 30px 0 !important;
  max-width: 100% !important;
  min-height: auto !important;
  overflow: visible !important;
  padding: 0 10px !important;
  width: 100% !important;
}

.smsf-checklist-item {
  align-items: flex-start !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex: 1 1 33.33% !important;
  flex-direction: column !important;
  max-width: 33.33% !important;
  min-width: 0 !important;
  text-align: left !important;
  width: 33.33% !important;
}

.smsf-checklist-icon {
  flex-shrink: 0 !important;
  height: 60px !important;
  margin-bottom: 12px !important;
  object-fit: contain !important;
  width: 60px !important;
}

.smsf-checklist-text {
  color: #333 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  margin: 0 !important;
  padding: 0 5px !important;
  text-align: left !important;
  word-wrap: break-word !important;
}

/* ==========================================================================
   VISUALLY HIDDEN ELEMENTS
   ========================================================================== */

.visually-hidden,
input[type="radio"].visually-hidden,
.account-option input[type="radio"].visually-hidden,
#smsfAccount-fundDetails-smsfSubtype\.company,
#smsfAccount-fundDetails-smsfSubtype\.individual {
  display: none !important;
  left: -9999px !important;
  opacity: 0 !important;
  position: absolute !important;
  visibility: hidden !important;
}

/* ==========================================================================
   SMSF SLIDER SYSTEM (CONTINUED)
   ========================================================================== */

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(
    135deg,
    var(--color-primary-action, #6c47ff) 0%,
    #7b7cff 100%
  );
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(91, 92, 255, 0.15);
  cursor: pointer;
  height: 24px;
  transition: background 0.2s, box-shadow 0.2s;
  width: 24px;
}

.slider-container input[type="range"]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px rgba(91, 92, 255, 0.12);
}

.slider-container input[type="range"]::-moz-range-thumb {
  background: linear-gradient(
    135deg,
    var(--color-primary-action, #6c47ff) 0%,
    #7b7cff 100%
  );
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(91, 92, 255, 0.15);
  cursor: pointer;
  height: 24px;
  transition: background 0.2s, box-shadow 0.2s;
  width: 24px;
}

.slider-container input[type="range"]:focus::-moz-range-thumb {
  box-shadow: 0 0 0 4px rgba(91, 92, 255, 0.12);
}

.slider-container input[type="range"]::-ms-thumb {
  background: linear-gradient(
    135deg,
    var(--color-primary-action, #6c47ff) 0%,
    #7b7cff 100%
  );
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(91, 92, 255, 0.15);
  cursor: pointer;
  height: 24px;
  transition: background 0.2s, box-shadow 0.2s;
  width: 24px;
}

.slider-container input[type="range"]::-ms-fill-lower {
  background: #e8e8ed;
  border-radius: 3px;
}

.slider-container input[type="range"]::-ms-fill-upper {
  background: #e8e8ed;
  border-radius: 3px;
}

.slider-container input[type="range"]:focus::-ms-fill-lower {
  background: linear-gradient(
    90deg,
    var(--color-primary-action, #6c47ff) 0%,
    #e8e8ed 100%
  );
}

.slider-container input[type="range"]:focus::-ms-fill-upper {
  background: linear-gradient(
    90deg,
    var(--color-primary-action, #6c47ff) 0%,
    #e8e8ed 100%
  );
}

.slider-container input[type="range"]::-ms-tooltip {
  display: none;
}

/* SMSF Value Input */
.smsf-value-input {
  background: #fafbfc;
  border: 1.5px solid #e8e8ed;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(15, 25, 57, 0.04);
  color: #222;
  font-size: 1.25rem;
  margin-bottom: 0.5em;
  margin-top: 1.2em;
  padding: 0.75em 1em;
  transition: border 0.2s, box-shadow 0.2s;
  width: 100%;
}

.smsf-value-input:focus {
  background: #fff;
  border-color: var(--color-primary-action, #6c47ff);
  box-shadow: 0 0 0 3px rgba(91, 92, 255, 0.1);
  outline: none;
}

.smsf-value-input::-webkit-outer-spin-button,
.smsf-value-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.smsf-value-input[type="number"] {
  -moz-appearance: textfield;
}

/* ==========================================================================
     SMSF CHECKLIST SYSTEM
     ========================================================================== */

/* SMSF Checklist Horizontal */
.smsf-checklist-horizontal {
  list-style: none;
  margin: 32px auto;
  max-width: 500px;
  padding: 0;
}

.smsf-checklist-horizontal ul {
  list-style-type: disc;
  margin: 0;
  padding-left: 20px;
}

.smsf-checklist-horizontal li {
  color: #333;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Hide Complex SMSF Styling */
.smsf-checklist-item {
  display: none;
}

.smsf-checklist-icon {
  display: none;
}

.smsf-checklist-text {
  display: none;
}

/* Step 102 Milestone Screen - SMSF Checklist */
.milestone-screen[data-step="102"] .smsf-checklist-horizontal ul {
  list-style-type: disc;
  margin: 0;
  padding-left: 20px;
}

.milestone-screen[data-step="102"] .smsf-checklist-horizontal li {
  color: #333;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 12px;
}

.milestone-screen[data-step="102"] {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.milestone-screen[data-step="102"] .milestone-description {
  color: rgba(0, 0, 0, 0.5);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin: 2em 0;
  max-width: 600px;
  text-align: left !important;
}

.milestone-screen[data-step="102"] .smsf-checklist-horizontal {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  max-width: 600px;
  text-align: left;
  width: 100%;
}

.milestone-screen[data-step="102"] .smsf-checklist-item {
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0;
  padding: 16px;
  text-align: left;
}

.milestone-screen[data-step="102"] .smsf-checklist-icon {
  color: #222;
  display: inline-block;
  font-size: 18px;
  margin-right: 8px;
}

.milestone-screen[data-step="102"] .smsf-checklist-text {
  color: #222;
  display: inline-block;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
}

/* ==========================================================================
     GENERAL CHECKLIST SYSTEM
     ========================================================================== */

.checklist {
  margin: 0;
  max-width: 80%;
}

.checklist-row {
  align-items: left;
  display: flex;
  margin-bottom: 1.1rem;
}

.tickmarks {
  color: #222;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  margin-right: 1.5rem;
}

.tickmarks-text {
  color: #5c5270;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-weight: 500;
}

.tickmarks-row:last-child {
  margin-bottom: 0;
}
/* ==========================================================================
   CURRENCY OPTIONS SYSTEM - WRAPPING LAYOUT (3x2 Grid) - LARGER MOBILE
   ========================================================================== */

/* Currency Options Grid */
.currency-options {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 20px;
  max-width: 720px;
}

/* Tablet and smaller desktop */
@media (max-width: 1024px) {
  .currency-options {
    grid-template-columns: repeat(3, 1fr);
    max-width: 480px;
  }
}

/* Mobile: 3 columns, 2 rows - BIGGER */
@media (max-width: 768px) {
  .currency-options {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    max-width: 100%;
    gap: 12px;
    margin: 20px auto 0;
  }

  .currency-option {
    min-height: 110px;
    padding: 16px 12px;
    border-radius: 12px;
  }

  .currency-option .currency-flag-small {
    height: 40px;
    width: 40px;
    margin-bottom: 10px;
  }

  .currency-option .currency-code {
    font-size: 1.1em;
    font-weight: 600;
  }
}

/* Small mobile: Still 3x2 but appropriately sized */
@media (max-width: 480px) {
  .currency-options {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    margin: 20px auto 0;
    max-width: 100%;
    padding: 0 8px;
  }

  .currency-option {
    min-height: 100px;
    padding: 30px 25px;
  }

  .currency-option .currency-flag-small {
    height: 36px;
    width: 36px;
    margin-bottom: 8px;
  }

  .currency-option .currency-code {
    font-size: 1em;
    font-weight: 600;
  }
}

/* Extra small mobile: Still readable and touchable */
@media (max-width: 320px) {
  .currency-options {
    gap: 8px;
    padding: 0 4px;
  }

  .currency-option {
    min-height: 90px;
    padding: 12px 8px;
  }

  .currency-option .currency-flag-small {
    height: 32px;
    width: 32px;
    margin-bottom: 6px;
  }

  .currency-option .currency-code {
    font-size: 0.95em;
    font-weight: 600;
  }
}

/* ==========================================================================
   COMPREHENSIVE DIALOG PLATFORM ELEMENT HIDING
   ========================================================================== */

/* Hide all Dialog platform elements - comprehensive list */
.sidebar,
.sidebar-curve,
.menu,
.nav,
.navigation,
.top-nav,
.header-nav,
.platform-header,
.platform-sidebar,
.platform-menu,
.platform-nav,
.dialog-sidebar,
.dialog-menu,
.dialog-nav,
.dialog-header,
.main-nav,
.primary-nav,
.secondary-nav,
.breadcrumb,
.breadcrumbs,
.platform-breadcrumb,
.dialog-breadcrumb,
.toolbar,
.platform-toolbar,
.dialog-toolbar,
.action-bar,
.platform-action-bar,
.dialog-action-bar {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Hide any element with platform-related classes */
[class*="platform-"],
[class*="dialog-"],
[class*="sidebar"],
[class*="menu"],
[class*="nav"],
[class*="toolbar"],
[class*="breadcrumb"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Specific mobile hiding - ensure platform elements don't show on mobile */
@media (max-width: 768px) {
  .sidebar,
  .sidebar-curve,
  .menu,
  .nav,
  .navigation,
  .top-nav,
  .header-nav,
  .platform-header,
  .platform-sidebar,
  .platform-menu,
  .platform-nav,
  .dialog-sidebar,
  .dialog-menu,
  .dialog-nav,
  .dialog-header,
  .main-nav,
  .primary-nav,
  .secondary-nav,
  .breadcrumb,
  .breadcrumbs,
  .platform-breadcrumb,
  .dialog-breadcrumb,
  .toolbar,
  .platform-toolbar,
  .dialog-toolbar,
  .action-bar,
  .platform-action-bar,
  .dialog-action-bar {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Hide any element with platform-related classes on mobile */
  [class*="platform-"],
  [class*="dialog-"],
  [class*="sidebar"],
  [class*="menu"],
  [class*="nav"],
  [class*="toolbar"],
  [class*="breadcrumb"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* iOS Mobile Bottom Cutoff Fix - Simple Solution */
@media only screen and (max-width: 768px) {
  .mobile-demo-frame {
    padding-bottom: 80px !important;
  }

  #app {
    padding-bottom: 80px !important;
  }

  .form-step {
    padding-bottom: 80px !important;
  }

  footer {
    margin-bottom: 80px !important;
  }
}

/* ==========================================================================
   MINIMAL MOBILE FIXES - TARGETED APPROACH
   ========================================================================== */

@media (max-width: 768px) {
  /* Fix phone number input stacking */
  .phone-input-group {
    flex-direction: column;
    gap: 12px;
  }

  .country-code {
    width: 100%;
  }

  .phone-input-wrapper {
    width: 100%;
  }

  /* Make carousel controls visible on mobile */
  .carousel__controls {
    display: flex !important;
  }

  .carousel__control {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    height: 40px;
    width: 40px;
  }

  .carousel__control:hover {
    background: #fff;
    border-color: #451eb3;
  }

  /* Prevent double scrollbars in carousel */
  .carousel__slide::-webkit-scrollbar {
    width: 6px;
  }

  .carousel__slide::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  .carousel__slide::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
  }

  /* Fix shareholder page cutting off */
  .carousel__slide {
    padding: 16px;
  }

  /* Ensure inputs are touch-friendly */
  .input-group input,
  .input-group select {
    font-size: 16px; /* Prevent iOS zoom */
    min-height: 44px;
  }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
  .carousel__control {
    height: 36px;
    width: 36px;
  }
}

.input-group input:focus ~ .tick-icon,
.input-group input:not(:placeholder-shown) ~ .tick-icon {
  opacity: 1;
  transform: translateY(-50%);
}

/* Remove checkmarks from select dropdowns */
.input-group select:focus ~ .tick-icon,
.input-group select:valid ~ .tick-icon {
  opacity: 0 !important;
}

/* ... existing code ... */

.carousel__slide .input-group input:focus ~ .tick-icon,
.carousel__slide .input-group input:not(:placeholder-shown) ~ .tick-icon {
  opacity: 1;
  transform: translateY(-50%);
}

/* Remove checkmarks from carousel select dropdowns */
.carousel__slide .input-group select:focus ~ .tick-icon,
.carousel__slide .input-group select:valid ~ .tick-icon {
  opacity: 0 !important;
}

/* ... existing code ... */

/* Remove checkmarks from step 114 select dropdowns */
.form-step[data-step="114"] .input-group select:not([value=""]) ~ .tick-icon {
  opacity: 0 !important;
}

section.milestone-screen.form-step.active {
  align-items: left !important;
  text-align: left !important;
}

@media (max-width: 768px) {
  .carousel__controls {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .carousel__slide {
    padding: 8px 0 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
  }
  .input-group input,
  .input-group select {
    padding: 12px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 768px) {
  .carousel__indicators {
    display: flex !important;
  }
}

/* ==========================================================================
   PRINT MEDIA STYLES - COMPREHENSIVE FORM PRINTING
   ========================================================================== */

@media print {
  /* Basic page setup */
  @page {
    size: A4 portrait;
    margin: 2cm;
  }

  /* Reset and base print styles */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Ensure body background is white and remove all height constraints */
  html,
  body,
  body.submission-complete,
  body.confirmation-view-active {
    background: white !important;
    overflow: visible !important;
    font-size: 12pt !important;
    line-height: 1.4 !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide all non-essential UI elements and submission screens */
  .t-loader-overlay,
  .success-overlay,
  #successOverlay,
  .loading-overlay,
  #submissionLoadingOverlay,
  #initial-loader,
  #formLoadingScreen,
  .t-loader-card,
  .t-loader-container,
  .t-loader-words,
  .t-loader-word,
  .t-wave-container,
  .t-wave-item,
  .loading-text,
  .loader,
  .loader-text,
  .spinner,
  .loading-spinner,
  .loading-message,
  .loading-content,
  .smsf-loader,
  .acn-loader,
  #smsfLoader,
  #acnLoader,
  /* Hide specific loading screen steps */
  .form-step[data-step="103.5"],
  .form-step[data-step="106.5"],
  section[data-step="103.5"],
  section[data-step="106.5"],
  header,
  footer,
  #backBtn,
  #continueBtn,
  .success-message,
  .add-entry-btn,
  .remove-entry-btn,
  .error-toast,
  .carousel__controls,
  .carousel__indicators,
  .edit-btn,
  .clear-btn,
  .help-options,
  .email-card,
  .confirmation-progress,
  .progress-steps,
  .tooltip,
  .info-icon,
  button:not(.print-show),
  input[type="button"]:not(.print-show),
  input[type="submit"]:not(.print-show) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }

  /* Completely remove mobile frame constraints for print */
  .mobile-demo-frame {
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    background: white !important;
    position: static !important;
    box-shadow: none !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: none !important;
    flex: none !important;
    flex-direction: initial !important;
  }

  /* Override submission-complete body behavior for printing */
  body.submission-complete .mobile-demo-frame,
  body.confirmation-view-active .mobile-demo-frame {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.submission-complete .success-overlay,
  body.confirmation-view-active .success-overlay {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }

  /* Force show the main form content structure */
  #app,
  main {
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex: none !important;
    overflow: visible !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: none !important;
    min-height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: white !important;
    flex-direction: initial !important;
  }

  /* Ensure all form content is visible */
  #app * {
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* But still hide the specific UI elements we don't want */
  #app header,
  #app footer,
  #app #backBtn,
  #app #continueBtn,
  #app .add-entry-btn,
  #app .remove-entry-btn,
  #app .tick-icon,
  #app button:not(.print-show),
  #app input[type="button"]:not(.print-show),
  #app input[type="submit"]:not(.print-show) {
    display: none !important;
    visibility: hidden !important;
  }

  /* Critical override: Remove any container height limits that could cut off content */
  .content-area,
  .content-parent,
  .main-content,
  .container {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
  }

  /* CRITICAL: Show all form steps when printing */
  .form-step {
    display: block !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    margin-bottom: 30pt !important;
    padding: 20pt !important;
    border: 1pt solid #ccc !important;
    border-radius: 0 !important;
    background: white !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: column !important;
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* Override any JavaScript-set inline styles */
  .form-step[style*="display: none"] {
    display: block !important;
  }

  .form-step[style*="display:none"] {
    display: block !important;
  }

  /* Force all form steps to be visible regardless of active state */
  .form-step.active,
  .form-step:not(.active) {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: auto !important;
  }

  /* Critical: Ensure all form steps flow naturally like regular document content */
  .form-step[data-step] {
    display: block !important;
    position: static !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Don't page break the first step */
  .form-step:first-of-type {
    page-break-before: auto;
  }

  /* Form step headers - preserve original colors */
  .form-step h2 {
    font-size: 18pt !important;
    font-weight: bold !important;
    margin-bottom: 12pt !important;
    page-break-after: avoid;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .form-step p {
    font-size: 12pt !important;
    margin-bottom: 12pt !important;
    line-height: 1.4 !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* Add print header for the document */
  body::before {
    content: "Totality Onboarding Form - Complete Application";
    display: block !important;
    font-size: 18pt !important;
    font-weight: bold !important;
    text-align: center !important;
    margin-bottom: 20pt !important;
    padding: 15pt !important;
    border-bottom: 2pt solid #000 !important;
    page-break-after: avoid !important;
  }

  /* Input groups and form controls - enhanced page break controls */
  .input-group {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* Selection options - enhanced page break controls */
  .account-options,
  .selection-options,
  .employment-options,
  .gender-options,
  .id-options,
  .currency-options {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .account-option,
  .selection-option,
  .employment-option,
  .gender-option,
  .id-option,
  .currency-option {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .account-option.selected::after {
    content: " ✓ SELECTED";
  }

  /* Checkbox and radio inputs */
  input[type="checkbox"],
  input[type="radio"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    margin-right: 8pt !important;
  }

  input[type="radio"] {
    -webkit-appearance: radio !important;
    -moz-appearance: radio !important;
    appearance: radio !important;
  }

  /* Consent items and labels */
  .consent-item,
  .checkbox-label {
    display: block !important;
    margin: 8pt 0 !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .consent-item label,
  .checkbox-label {
    color: black !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
  }

  /* Milestone screens and special sections */
  .milestone-screen {
    display: block !important;
    padding: 20pt !important;
    text-align: left !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .milestone-screen * {
    text-align: left !important;
  }

  .milestone-screen .verification-success {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .milestone-screen .verification-icon,
  .milestone-screen .verification-icon * {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }

  .verification-success {
    display: block !important;
    text-align: left !important;
    padding: 12pt !important;
  }

  /* Address confirmation and special fields - enhanced page break controls */
  .address-confirmation,
  .confirmation-fields {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .confirmation-row,
  .address-fields .input-group {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* Upload sections - enhanced page break controls */
  .upload-items,
  .upload-item {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* Account summary - enhanced page break controls */
  .account-summary {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .summary-row {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* Carousel content */
  .carousel {
    display: block !important;
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
    overflow: visible !important;
  }

  .carousel__track {
    display: block !important;
    position: static !important;
    transform: none !important;
    width: 100% !important;
  }

  .carousel__slide {
    display: block !important;
    width: 100% !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    overflow: visible !important;
    height: auto !important;
    flex: none !important;
  }

  /* W8-BEN form specific - enhanced page break controls */
  .w8ben-container,
  .mobile_w8ben-container {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .w8ben-form,
  .mobile_w8ben-form {
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* Currency options grid fix - enhanced page break controls */
  .currency-options {
    grid-template-columns: none !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* Step titles for easy navigation in print */
  .form-step::before {
    content: "Step " attr(data-step) ": " attr(data-title);
    display: block !important;
    font-size: 14pt !important;
    font-weight: bold !important;
    color: #333 !important;
    margin-bottom: 12pt !important;
    padding-bottom: 8pt !important;
    border-bottom: 1pt solid #333 !important;
  }

  /* Ensure proper spacing between form elements */
  .form-step > * {
    margin-bottom: 8pt !important;
  }

  /* Hide decorative elements and any remaining loaders - but keep SVGs and icons */
  .t-wave-container,
  .t-wave-item,
  .loading-spinner,
     /* Catch-all for any loader text or elements */
   [class*="loader"],
   [class*="loading"],
   [id*="loader"],
   [id*="loading"],
   [class*="smsf-loader"],
   [class*="acn-loader"],
   [id*="smsf"],
   [id*="acn"],
   /* Hide any loading steps with decimal numbers */
   [data-step="103.5"],
   [data-step="106.5"],
   *:contains("Looking up"),
   *:contains("Loading"),
   *:contains("Please wait"),
   *:contains("SMSF"),
   *:contains("ACN") {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }

  /* Print-specific utility classes */
  .print-only {
    display: block !important;
  }

  .screen-only {
    display: none !important;
  }

  /* Force visibility of all form content */
  .form-section,
  .card,
  .subsection,
  .form-group {
    display: block !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* Avoid breaking inside important sections */
  .input-group,
  .account-option,
  .selection-option,
  .consent-item,
  .upload-item,
  .summary-row,
  .confirmation-row {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  /* SVG and image visibility with enhanced controls */
  svg,
  img {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* SVG path elements fix - critical for verification icons */
  svg path {
    fill: currentColor !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* Specific verification icon colors */
  .verification-icon svg path {
    fill: #4caf50 !important;
    stroke: #4caf50 !important;
  }

  /* Account/gender/ID icon paths */
  .account-icon svg path,
  .gender-icon svg path,
  .id-icon svg path {
    fill: white !important;
    stroke: white !important;
  }

  /* Force page breaks before major sections if needed */
  .form-step[data-step="0"]::before,
  .form-step[data-step="10"]::before,
  .form-step[data-step="20"]::before,
  .form-step[data-step="30"]::before {
    page-break-before: always;
  }
}

/* Print helper classes for developers */
.print-show {
  display: none;
}

@media print {
  .print-show {
    display: block !important;
  }

  .print-hide {
    display: none !important;
  }
}

/* ========================================================================== 
   TOOLTIP SYSTEM - Centered Modal Style
   ========================================================================== */

/* Tooltip Containers */
.tfn-tooltip-container,
.hin-tooltip-container {
  display: inline-block;
  position: relative;
}

/* Info Icons - Clickable */
.tfn-info-icon,
.hin-info-icon {
  cursor: pointer;
  transition: opacity 0.2s;
}

.tfn-info-icon:active,
.hin-info-icon:active {
  opacity: 0.6;
}

/* Tooltip Content - ALWAYS CENTERED */
.tfn-tooltip-text,
.hin-tooltip-text {
  /* Hidden by default */
  display: none;

  /* FIXED CENTER POSITION */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;

  /* Appearance */
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);

  /* Typography */
  font-size: 15px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;

  /* Size */
  width: 90%;
  max-width: 420px;
  max-height: 80vh;
  overflow-y: auto;
}

/* Show tooltip when active */
.tfn-tooltip-text.active,
.hin-tooltip-text.active {
  display: block;
}

/* TFN Tooltip Styling */
.tfn-tooltip-text {
  background: #222;
  color: #fff;
}

/* HIN Tooltip Styling */
.hin-tooltip-text {
  background: #fff;
  color: #222;
}

/* Tooltip Close Button */
.tooltip-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  z-index: 1;
}

/* Close button in TFN tooltip (dark background) */
.tfn-tooltip-text .tooltip-close {
  color: #fff;
}

.tfn-tooltip-text .tooltip-close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.1);
}

/* Close button in HIN tooltip (light background) */
.hin-tooltip-text .tooltip-close {
  color: #222;
}

.hin-tooltip-text .tooltip-close:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: scale(1.1);
}

.tooltip-close:active {
  transform: scale(0.95);
}

/* Backdrop removed - tooltips work without it */

*::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0px;
  height: 0px;
  background: transparent;
  display: none;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background: transparent;
}

.transfer-cost-header {
  margin-bottom: var(--spacing-small);
}

.transfer-cost-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.transfer-cost-intro {
  font-size: 14px !important;
  color: var(--color-text-muted);
  line-height: 1.5 !important;
  margin: 0;
}

/* Transfer Cost Icon */
.transfer-cost-header span {
  vertical-align: middle;
  display: inline-block;
  margin-right: 8px;
}

.transfer-cost-header img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

.milestone-screen .verification-success {
  align-items: center !important;
  justify-content: center !important;
  text-align: centered !important;
}

.milestone-screen .verification-icon {
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}

#toast-container > .toast {
  display: none !important;
}

/* Hide the entire toast system */
#toast-container,
#toast-container .toast {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

/* ==========================================================================
   SEND FORMS TO DIRECTORS/TRUSTEES SECTION
   ========================================================================== */

.send-forms-list {
  width: 100%;
}

.send-form-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  margin-bottom: 8px;
  background: #f7f7f9;
  border-radius: 6px;
  border: 1px solid #e2e2ee;
}

.send-form-info {
  flex: 1;
  min-width: 0;
}

.send-form-name {
  font-weight: 600;
  font-size: 15px;
  color: #000;
  margin-bottom: 4px;
}

.send-form-email {
  font-size: 14px;
  color: #666;
  word-break: break-all;
}

.send-form-btn {
  background-color: #451eb3;
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  transition: all 0.2s ease;
  white-space: nowrap;
  margin-left: 16px;
  flex-shrink: 0;
}

.send-form-btn:hover:not(:disabled) {
  background-color: #3a1a9a;
}

.send-form-btn:active:not(:disabled) {
  background-color: #3a1a9a;
}

.send-form-btn:disabled {
  background-color: #aaaaaa;
  color: #ffffff;
  cursor: not-allowed;
}

.send-form-btn.sent {
  background-color: #28a745;
  cursor: default;
}

.send-form-btn.sent:hover {
  background-color: #28a745;
}

.send-form-btn.sent::after {
  content: " ✓";
}

.send-form-btn.sending {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.send-form-btn.sending::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

@media (max-width: 480px) {
  .send-form-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .send-form-btn {
    width: 100%;
    margin-left: 0;
    margin-top: 12px;
  }
}
