/* Unified card styling for details panels */
details.details-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 0.5rem 0.75rem 0.75rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  margin: 12px 0;
}

.auto-language-note {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef2ff;
  color: #2d2d2d;
  font-size: 0.9rem;
  line-height: 1.4;
}

details.details-card[open] {
  padding-bottom: 1rem;
}

details.details-card .details-summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  padding: 0.25rem 0.25rem 0.5rem;
  margin: 0 -0.25rem 0.5rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

/* Rows inside details */
.more-details .details-row,
.timestamps p,
.additional-actions-div p {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  align-items: start;
  margin: 8px 0;
}

.more-details .details-row span:first-child,
.timestamps p span:first-child {
  color: #3b3b3b;
  font-weight: 600;
}

.more-details .details-row .value,
.timestamps p .value {
  color: #1f1f1f;
}

/* Lists inside details */
.details-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.details-list li {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.details-list li:last-child {
  border-bottom: none;
}

.translation-checklist {
  margin: 12px 0 18px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.45;
}

.translation-checklist .checklist-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.translation-checklist .checklist-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 16px rgba(99, 102, 241, 0.25);
}

.translation-checklist .checklist-title {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.translation-checklist .checklist-subtitle {
  margin: 2px 0 0;
  color: #475569;
  font-size: 0.88rem;
}

.translation-checklist .checklist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.translation-checklist .checklist-list li label:not(:where(.account-terms-check)) {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
  color: #1f2937;
}

.translation-checklist .checklist-list input:not(:where(.account-terms-checkbox))[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #6366f1;
  border-radius: 6px;
}

.translation-checklist .checklist-list span {
  flex: 1;
  line-height: 1.4;
}

.translation-checklist .checklist-footnote {
  margin: 14px 0 0;
  font-size: 0.85rem;
  color: #475569;
  font-weight: 500;
}

.client-professional-board-info-box {
  width: calc(100% - 24px);
  max-width: 560px;
  box-sizing: border-box;
  margin: 12px auto 14px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-left: 3px solid #6366f1;
  background: #f8fafc;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  color: #334155;
  text-align: left !important;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.client-professional-board-info-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.client-professional-board-info-box__title {
  min-width: 0;
  margin: 0 !important;
  color: #1e293b !important;
  font-size: 0.92rem !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

.client-professional-board-info-box__badge {
  flex: 0 1 auto;
  max-width: 48%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.18);
  font-size: 0.66rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  overflow-wrap: anywhere;
}

.client-professional-board-info-box__section {
  margin-top: 8px;
}

.client-professional-board-info-box__section:first-of-type {
  margin-top: 0;
}

.client-professional-board-info-box__section-title {
  margin: 0 0 6px;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.3;
  font-weight: 700;
}

.client-professional-board-info-box__text {
  margin: 6px 0 !important;
  color: #475569 !important;
  font-size: 0.84rem !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  text-align: left !important;
}

.client-professional-board-info-box__emphasis {
  color: #3730a3;
  font-weight: 800;
  background: rgba(224, 231, 255, 0.9);
  border-radius: 4px;
  padding: 0 3px;
}

.client-professional-board-info-box__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 8px;
}

.client-professional-board-info-box__link {
  color: #4f46e5 !important;
  font-size: 0.82rem !important;
  line-height: 1.35;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.client-professional-board-info-box__link:hover {
  color: #312e81 !important;
  text-decoration: none;
}

.files-details ol,
.notarized-files-details ol {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  counter-reset: file-counter;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.files-details ol li,
.notarized-files-details ol li {
  counter-increment: file-counter;
  position: relative;
  padding: 14px 18px 14px 54px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.92), #ffffff);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.files-details ol li::before,
.notarized-files-details ol li::before {
  content: counter(file-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(99, 102, 241, 0.3);
}

.files-details ol li a,
.notarized-files-details ol li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #0f172a;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.files-details ol li a::after,
.notarized-files-details ol li a::after {
  content: '↗';
  font-size: 1rem;
  color: #6366f1;
  transition: transform 0.2s ease;
}

.files-details ol li:hover,
.notarized-files-details ol li:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 16px 36px rgba(99, 102, 241, 0.18);
}

.files-details ol li:hover a::after,
.notarized-files-details ol li:hover a::after {
  transform: translateX(4px);
}

@media (max-width: 540px) {

  .files-details ol li,
  .notarized-files-details ol li {
    padding: 12px 14px 12px 46px;
  }

  .files-details ol li::before,
  .notarized-files-details ol li::before {
    left: 12px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    font-size: 0.8rem;
  }

  .files-details ol li a,
  .notarized-files-details ol li a {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .translation-checklist {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .translation-checklist .checklist-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .client-professional-board-info-box {
    width: calc(100% - 12px);
    padding: 11px 12px;
    font-size: 0.84rem;
  }

  .client-professional-board-info-box__header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .client-professional-board-info-box__badge {
    max-width: 100%;
  }
}

.discount-list {
  color: #667085;
  text-align: center;
}

.payment-list {
  text-align: center;
}

/* Responsive tweak */
@media (max-width: 560px) {

  .more-details .details-row,
  .timestamps p,
  .additional-actions-div p {
    grid-template-columns: 1fr;
  }
}

/* Section dividers inside More details */
.more-details .details-row.section-start {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px dashed rgba(0, 0, 0, 0.12);
}

/* Icons for key labels (emoji-based for simplicity) */
.more-details .row-country span:first-child::before {
  content: "🌎 ";
}

.more-details .row-location span:first-child::before {
  content: "📍 ";
}

.more-details .row-wordcount span:first-child::before {
  content: "📝 ";
}

.more-details .row-languages span:first-child::before {
  content: "💬 ";
}

.more-details .row-pages span:first-child::before {
  content: "📄 ";
}

.more-details .row-confidence-lang span:first-child::before {
  content: "📊 ";
}

.more-details .row-translation-cost span:first-child::before,
.more-details .row-price-per-page span:first-child::before,
.more-details .row-price-per-word span:first-child::before,
.more-details .row-price-diff span:first-child::before,
.more-details .row-price-with-notary span:first-child::before,
.more-details .row-total-cost span:first-child::before {
  content: "💵 ";
}

.more-details .row-notary-count span:first-child::before {
  content: "🖋️ ";
}

.more-details .row-order-id span:first-child::before {
  content: "# ";
  font-weight: 700;
}

/* Icon for all timestamp labels */
.timestamps p span:first-child::before {
  content: "🕒 ";
}

/* Specific timestamp icons */
.timestamps .ts-submitted span:first-child::before {
  content: "📤 ";
}

.timestamps .ts-invoice-created span:first-child::before {
  content: "🧾 ";
}

.timestamps .ts-payment span:first-child::before {
  content: "💳 ";
}

.timestamps .ts-completed span:first-child::before {
  content: "✅ ";
}

.timestamps .ts-corrections-requested span:first-child::before {
  content: "✍️ ";
}

.timestamps .ts-corrected span:first-child::before {
  content: "🛠️ ";
}

.timestamps .ts-corrections-approved span:first-child::before {
  content: "✔️ ";
}

.timestamps .ts-digitally-notarized span:first-child::before {
  content: "🖥️ ";
}

.timestamps .ts-ink-notarized span:first-child::before {
  content: "🖊️ ";
}

.timestamps .ts-shipping span:first-child::before {
  content: "📦 ";
}

.timestamps .ts-eval-completed span:first-child::before {
  content: "📚 ";
}

.timestamps .ts-eval-corrected span:first-child::before {
  content: "🔁 ";
}

.timestamps .ts-eval-approved span:first-child::before {
  content: "🏁 ";
}

/* Process description single-column readability */
details.general-instructions-details {
  display: block;
}

.general-instructions-text {
  max-width: 72ch;
  /* optimal reading width */
  line-height: 1.6;
  display: block;
  flex: unset;
  grid: unset;
  float: none;
  clear: both;
}

.general-instructions-text * {
  display: revert;
}

.general-instructions-text h2,
.general-instructions-text h3 {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}

.general-instructions-text ol,
.general-instructions-text p {
  margin: 0.5rem 0;
}

.general-instructions-text ol {
  padding-left: 1.25rem;
}

.general-instructions-text li {
  margin: 0.25rem 0;
}

.general-instructions-text a {
  text-decoration: underline;
}

/* Ensure note/value text in hidden details wraps nicely and preserves line breaks */
.hidden-details p span.value {
  white-space: pre-wrap;
  /* honor \n from textContent */
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Make hidden-details contents responsive and prevent overflow on flex items */
.hidden-details {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* let children fill width */
  width: 100%;
}

.hidden-details p {
  display: flex;
  flex-wrap: wrap;
  /* allow label/value to wrap on narrow screens */
  width: 100%;
  min-width: 0;
  /* critical: allow flex item to shrink within parent */
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Label column: responsive fixed basis; value takes the rest */
.hidden-details p>span:first-child {
  flex: 0 0 clamp(120px, 38%, 200px);
  min-width: 0;
}

.hidden-details p>.value {
  flex: 1 1 0%;
  min-width: 0;
  /* allow wrapping instead of overflow */
}

/* Tablet adjustments */
@media (min-width: 481px) and (max-width: 768px) {
  .hidden-details p {
    gap: 10px;
  }

  .hidden-details p>span:first-child {
    flex-basis: clamp(120px, 40%, 180px);
  }
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .hidden-details p {
    gap: 8px;
    display: block;
  }

  .hidden-details p>span:first-child {
    display: block;
    margin-bottom: 6px;
  }
}

/* Small tablets: if space is tight, stack as well */
@media (max-width: 640px) {
  .hidden-details p {
    display: block;
  }

  .hidden-details p>span:first-child {
    display: block;
    margin-bottom: 6px;
  }
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #2d3748;

  background-color: #d9e1ee;
  background-image: radial-gradient(circle, rgba(143, 161, 190, 0.5) 1px, transparent 1px);
  background-size: 20px 20px;
  background-attachment: fixed;

  margin: 0;
  padding: 0;
  min-height: 100vh;
}


/* Enhanced Typography with Gradient Colors */
h1:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
h2:not(.selected-prices):not(.gradient-text-purple):not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  font-style: normal;
  font-optical-sizing: auto;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

/* Hover effects for gradient headings */
h1:not(.navbar *):not(.navbar-brand *):not(.navbar-container *):hover,
h2:not(.selected-prices):not(.gradient-text-purple):not(.navbar *):not(.navbar-brand *):not(.navbar-container *):hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 50%, #f093fb 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h3:not(.confidence-level, .whats-next-title, .based-results, .payment-title):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
h4:not(.details-content h4, #confirmation-box h4, .text-center):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
h5:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
h6:not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  font-style: normal;
  font-optical-sizing: auto;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 50%, #1e3a8a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
}

/* Modern placeholder styling for all inputs and selects */
input:not(:where(.account-terms-checkbox)):not(.rememberMeCheckbox, .subject-matter-input, .quote-edit-checkbox, .credential-evaluation-agency-other-input, .rare-language-acknowledgement__checkbox),
select {
  margin: 5px 0;
  margin-bottom: 15px;
  margin-top: 20px;
  height: 56px;
  font-family: inherit;
  width: 100%;
  max-width: 320px;
  border: 2px solid rgba(148, 163, 184, 0.3);
  font-weight: 500;
  outline: 0;
  font-size: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #374151;
}

input:not(:where(.account-terms-checkbox)):focus:not(.rememberMeCheckbox, .quote-edit-checkbox, .credential-evaluation-agency-other-input, .rare-language-acknowledgement__checkbox),
select:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1),
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

input:not(:where(.account-terms-checkbox))::placeholder {
  color: rgba(107, 114, 128, 0.7);
  font-weight: 400;
  transition: all 0.3s ease;
}

input:not(:where(.account-terms-checkbox)):focus::placeholder {
  color: rgba(107, 114, 128, 0.5);
  transform: translateX(4px);
}

input:not(:where(.account-terms-checkbox)).invalid {
  background: rgba(254, 226, 226, 0.8);
  backdrop-filter: blur(10px);
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1),
    0 1px 3px rgba(239, 68, 68, 0.2);
  color: #dc2626;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 50px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

select:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(255, 255, 255, 0.8);
}

option {
  color: #374151;
  font-size: 16px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

label:not(:where(.account-terms-check)) {
  font-style: normal;
  font-optical-sizing: auto;
  text-align: left;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.025em;
  display: block;
}

a:not(:where(.account-terms-link)) {
  color: #6366f1;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

a:not(:where(.account-terms-link))::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  transition: width 0.3s ease;
  border-radius: 1px;
}

a:not(:where(.account-terms-link)):hover {
  color: #4f46e5;
  transform: translateY(-1px);
}

a:not(:where(.account-terms-link)):hover::after {
  width: 100%;
}

textarea {
  font-size: 16px;
  box-sizing: border-box;
  width: 100%;
  min-height: 120px;
  border: 2px solid rgba(148, 163, 184, 0.3);
  border-radius: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  resize: vertical;
  font-family: inherit;
  color: #374151;
}

textarea:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1),
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

details:not(#quote details, .files-details, .notarized-files-details, .additional-details-notary) {
  max-width: 600px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  overflow: hidden;
  margin: 20px auto;
  padding: 20px;
}

details:hover:not(#quote details, .files-details, .notarized-files-details, .additional-details-notary) {
  cursor: pointer;
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.06);
}

details summary:not(#quote details summary, .files-summary, .files-summary-2, .files-details summary, .notarized-files-summary) {
  font-weight: 500;
  color: #374151;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px 16px 0 0;
}

details[open] summary:not(#quote details summary, .files-details summary, .notarized-files-summary) {
  border-radius: 16px 16px 0 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(148, 163, 184, 0.3) 20%,
      rgba(148, 163, 184, 0.6) 50%,
      rgba(148, 163, 184, 0.3) 80%,
      transparent 100%);
  margin: 32px 0;
  border-radius: 1px;
}



button:not(:where(.account-terms-button)):not(.correction-learn-more-button,
  .subject-matter-chip, .subject-matter-selected-chip,
  .lang-suggestion-btn, .lang-proceed-btn, .navbar-loyalty,
  .list-item-button, .target-chip-btn, .loyalty-toggle-btn, .modal-close,
  .document-image-deleter-1, .navbar-toggle, #whats-next-toggle, .chip,
  .fg-close, .fg-nav, .view-files-button, .psb-close, .lang-filter-btn, .lang-collapse-btn, .chips-toggle,
  #confirm-with-rep-button, .card-button, .download-all-button,
  .show-quote-btn, .saved-file-div-button-close, .same-file-div-button-close,
  .read-more-btn-2, #cancel-rep-question, .show-more-button, .btn.btn-secondary, .chat-button,
  .client-profile-ai-chat__launcher, .client-profile-ai-chat__close, .client-profile-ai-chat__send,
  .client-profile-ai-chat-trigger, .client-profile-ai-chat-quote-entry__button, .close-editor-mobile,
  .certified-purpose-chip, .certified-purpose-toggle, .certified-purpose-requirements-toggle) {
  border: none;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 140px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

button:not(:where(.account-terms-button)):not(.correction-learn-more-button,
  .modal-close, .subject-matter-chip, .subject-matter-selected-chip,
  .list-item-button, .target-chip-btn, .lang-proceed-btn, .navbar-loyalty,
  .lang-suggestion-btn, .lang-proceed-btn, .navbar-loyalty, .loyalty-toggle-btn,
  .document-image-deleter-1, #whats-next-toggle, .chip, .chips-toggle,
  .fg-close, .fg-nav, .view-files-button, .psb-close, .lang-filter-btn, .lang-collapse-btn,
  #confirm-with-rep-button, .card-button, .download-all-button,
  .navbar-toggle, .saved-file-div-button-close, .same-file-div-button-close, .read-more-btn-2,
  #cancel-rep-question, .show-more-button, .btn.btn-secondary, .chat-button,
  .client-profile-ai-chat__launcher, .client-profile-ai-chat__close, .client-profile-ai-chat__send,
  .client-profile-ai-chat-trigger, .client-profile-ai-chat-quote-entry__button, .close-editor-mobile,
  .certified-purpose-chip, .certified-purpose-toggle, .certified-purpose-requirements-toggle):hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(118, 75, 162, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

button:not(:where(.account-terms-button)):not(.correction-learn-more-button,
  .list-item-button, .target-chip-btn, .navbar-loyalty, .modal-close, .subject-matter-chip, .subject-matter-selected-chip,
  .lang-suggestion-btn, .lang-proceed-btn, .loyalty-toggle-btn,
  .document-image-deleter-1, .psb-close, .chip, .chips-toggle,
  #whats-next-toggle, .fg-close, .fg-nav, .view-files-button, .lang-filter-btn, .lang-collapse-btn,
  #confirm-with-rep-button, .card-button, .download-all-button,
  .navbar-toggle, .saved-file-div-button-close, .same-file-div-button-close, .read-more-btn-2,
  #cancel-rep-question, .show-more-button, .btn.btn-secondary, .chat-button,
  .client-profile-ai-chat__launcher, .client-profile-ai-chat__close, .client-profile-ai-chat__send,
  .client-profile-ai-chat-trigger, .client-profile-ai-chat-quote-entry__button, .close-editor-mobile,
  .certified-purpose-chip, .certified-purpose-toggle, .certified-purpose-requirements-toggle):active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(17, 153, 142, 0.3);
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Large Desktop Screens (1440px and up) */
@media (min-width: 1440px) {

  h1:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h2:not(.selected-prices):not(.gradient-text-purple):not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 48px;
  }

  h3:not(.confidence-level, .based-results, .payment-title):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h4:not(.details-content h4, #confirmation-box h4, .text-center):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h5:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h6:not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 36px;
  }

  input:not(:where(.account-terms-checkbox)),
  select {
    max-width: 380px;
    height: 60px;
    font-size: 18px;
    padding: 18px 24px;
  }

  textarea {
    min-height: 140px;
    padding: 20px 24px;
    font-size: 18px;
  }

  button:not(:where(.account-terms-button)):not(.correction-learn-more-button,
    .list-item-button, .target-chip-btn, .navbar-loyalty, .modal-close, .subject-matter-chip, .subject-matter-selected-chip,
    .lang-suggestion-btn, .lang-proceed-btn, .loyalty-toggle-btn,
    .document-image-deleter-1, .lang-collapse-btn, .chip, .chips-toggle,
    .navbar-toggle, #confirm-with-rep-button, .card-button, .download-all-button,
    .show-quote-btn, .saved-file-div-button-close, .same-file-div-button-close, .psb-close,
    .lang-filter-btn,
    .read-more-btn-2, #cancel-rep-question, .show-more-button, .btn.btn-secondary, .chat-button,
    .client-profile-ai-chat__launcher, .client-profile-ai-chat__close, .client-profile-ai-chat__send,
    .client-profile-ai-chat-trigger, .client-profile-ai-chat-quote-entry__button, .close-editor-mobile) {
    padding: 18px 36px;
    font-size: 18px;
    min-width: 160px;
  }

  details:not(#quote details, .files-details, .notarized-files-details, .additional-details-notary) {
    max-width: 700px;
    padding: 24px;
  }
}

/* Desktop Screens (1025px to 1439px) */
@media (min-width: 1025px) and (max-width: 1439px) {

  h1:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h2:not(.selected-prices):not(.gradient-text-purple):not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 42px;
  }

  h3:not(.confidence-level, .based-results, .payment-title):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h4:not(.details-content h4, #confirmation-box h4, .text-center):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h5:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h6:not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 32px;
  }

  input:not(:where(.account-terms-checkbox)),
  select {
    max-width: 350px;
    height: 58px;
    font-size: 17px;
    padding: 17px 22px;
  }

  textarea {
    min-height: 130px;
    padding: 18px 22px;
    font-size: 17px;
  }

  button:not(:where(.account-terms-button)):not(.correction-learn-more-button, .list-item-button, .target-chip-btn, .navbar-loyalty, .modal-close, .subject-matter-chip, .subject-matter-selected-chip,
    .lang-suggestion-btn, .lang-proceed-btn, .loyalty-toggle-btn,
    .document-image-deleter-1, .lang-collapse-btn, .chip, .chips-toggle,
    .navbar-toggle, #confirm-with-rep-button, .lang-filter-btn,
    .show-quote-btn, .saved-file-div-button-close, .same-file-div-button-close, .psb-close,
    .read-more-btn-2, #cancel-rep-question, .show-more-button, .btn.btn-secondary, .chat-button,
    .client-profile-ai-chat__launcher, .client-profile-ai-chat__close, .client-profile-ai-chat__send,
    .client-profile-ai-chat-trigger, .client-profile-ai-chat-quote-entry__button, .close-editor-mobile,
    .certified-purpose-chip, .certified-purpose-toggle, .certified-purpose-requirements-toggle) {
    padding: 17px 34px;
    font-size: 17px;
    min-width: 150px;
  }

  details:not(#quote details, .files-details, .notarized-files-details, .additional-details-notary) {
    max-width: 650px;
    padding: 22px;
  }
}

/* Large Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {

  h1:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h2:not(.selected-prices):not(.gradient-text-purple):not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 36px;
  }

  h3:not(.confidence-level, .based-results, .payment-title):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h4:not(.details-content h4, #confirmation-box h4, .text-center):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h5:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h6:not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 26px;
  }

  input:not(:where(.account-terms-checkbox)),
  select {
    max-width: 100%;
    width: 100%;
    height: 54px;
    font-size: 16px;
    padding: 15px 18px;
    margin: 8px 0;
  }

  textarea {
    width: 100%;
    min-height: 110px;
    padding: 16px 18px;
    font-size: 16px;
  }

  button:not(:where(.account-terms-button)):not(.correction-learn-more-button, .list-item-button, .target-chip-btn, .navbar-loyalty, .subject-matter-chip, .subject-matter-selected-chip,
    .lang-suggestion-btn, .lang-proceed-btn, .loyalty-toggle-btn, .modal-close,
    .document-image-deleter-1, .lang-collapse-btn, .chip, .chips-toggle,
    .navbar-toggle, #confirm-with-rep-button, .lang-filter-btn,
    .show-quote-btn, .saved-file-div-button-close, .same-file-div-button-close, .psb-close,
    .read-more-btn-2, #cancel-rep-question, .show-more-button, .btn.btn-secondary, .chat-button,
    .client-profile-ai-chat__launcher, .client-profile-ai-chat__close, .client-profile-ai-chat__send,
    .client-profile-ai-chat-trigger, .client-profile-ai-chat-quote-entry__button, .close-editor-mobile,
    .certified-purpose-chip, .certified-purpose-toggle, .certified-purpose-requirements-toggle) {
    padding: 15px 28px;
    font-size: 16px;
    min-width: 130px;
    width: auto;
  }

  details:not(#quote details, .files-details, .notarized-files-details, .additional-details-notary) {
    max-width: 90%;
    margin: 16px auto;
    padding: 18px;
  }

  label:not(:where(.account-terms-check)) {
    font-size: 15px;
    margin-bottom: 6px;
  }
}

/* Small Tablets and Large Mobile (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {

  h1:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h2:not(.selected-prices):not(.gradient-text-purple):not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 32px;
    line-height: 1.3;
  }

  h3:not(.confidence-level, .based-results, .payment-title):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h4:not(.details-content h4, #confirmation-box h4, .text-center):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h5:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h6:not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 22px;
    line-height: 1.4;
  }

  input:not(:where(.account-terms-checkbox)),
  select {
    max-width: 100%;
    width: 100%;
    height: 50px;
    font-size: 16px;
    padding: 14px 16px;
    margin: 6px 0;
    border-radius: 12px;
    /* Prevent zoom on iOS */
    -webkit-text-size-adjust: 100%;
  }

  select {
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 40px;
  }

  textarea {
    width: 100%;
    min-height: 100px;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
    /* Prevent zoom on iOS */
    -webkit-text-size-adjust: 100%;
  }

  button:not(:where(.account-terms-button)):not(.correction-learn-more-button, .modal-close, .subject-matter-chip, .subject-matter-selected-chip,
    .list-item-button, .target-chip-btn, .lang-suggestion-btn, .lang-proceed-btn,
    .document-image-deleter-1, .lang-collapse-btn, .chip, .chips-toggle, .navbar-loyalty,
    .navbar-toggle, #confirm-with-rep-button, .lang-filter-btn, .loyalty-toggle-btn,
    .show-quote-btn, .saved-file-div-button-close, .same-file-div-button-close, .psb-close,
    .read-more-btn-2, #cancel-rep-question, .show-more-button, .btn.btn-secondary, .chat-button,
    .client-profile-ai-chat__launcher, .client-profile-ai-chat__close, .client-profile-ai-chat__send,
    .client-profile-ai-chat-trigger, .client-profile-ai-chat-quote-entry__button, .close-editor-mobile,
    .certified-purpose-chip, .certified-purpose-toggle, .certified-purpose-requirements-toggle) {
    padding: 14px 24px;
    font-size: 15px;
    min-width: 120px;
    width: auto;
    border-radius: 10px;
  }

  details:not(#quote details, .files-details, .notarized-files-details, .additional-details-notary) {
    max-width: 95%;
    margin: 14px auto;
    padding: 16px;
    border-radius: 12px;
  }

  label:not(:where(.account-terms-check)) {
    font-size: 14px;
    margin-bottom: 6px;
  }

  a:not(:where(.account-terms-link))::after {
    height: 1.5px;
  }
}

/* Mobile Screens (320px to 480px) */
@media (max-width: 480px) {

  h1:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h2:not(.selected-prices):not(.gradient-text-purple):not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 16px;

    .general-instructions-text h2 {
      font-size: 1.15rem;
    }

    .general-instructions-text h3 {
      font-size: 1rem;
    }
  }

  h3:not(.confidence-level, .based-results, .payment-title):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h4:not(.details-content h4, #confirmation-box h4, .text-center):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h5:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h6:not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  input:not(:where(.account-terms-checkbox)),
  select {
    max-width: 100%;
    width: 100%;
    height: 48px;
    font-size: 16px;
    padding: 12px 14px;
    margin: 4px 0 12px 0;
    border-radius: 10px;
    /* Prevent zoom on iOS */
    -webkit-text-size-adjust: 100%;
    /* Improve touch targets */
    touch-action: manipulation;
  }

  select {
    background-position: right 10px center;
    background-size: 12px;
    padding-right: 35px;
  }

  textarea {
    width: 100%;
    min-height: 90px;
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 10px;
    /* Prevent zoom on iOS */
    -webkit-text-size-adjust: 100%;
    /* Improve touch targets */
    touch-action: manipulation;
  }

  button:not(:where(.account-terms-button)):not(.correction-learn-more-button, .modal-close, .subject-matter-chip, .subject-matter-selected-chip,
    .list-item-button, .target-chip-btn, .lang-suggestion-btn, .lang-proceed-btn,
    .document-image-deleter-1, .lang-collapse-btn, .chip, .chips-toggle, .navbar-loyalty,
    .navbar-toggle, #confirm-with-rep-button, .lang-filter-btn, .loyalty-toggle-btn,
    .show-quote-btn, .saved-file-div-button-close, .same-file-div-button-close, .psb-close,
    .read-more-btn-2, #cancel-rep-question, .show-more-button, .btn.btn-secondary, .chat-button,
    .client-profile-ai-chat__launcher, .client-profile-ai-chat__close, .client-profile-ai-chat__send,
    .client-profile-ai-chat-trigger, .client-profile-ai-chat-quote-entry__button, .close-editor-mobile,
    .certified-purpose-chip, .certified-purpose-toggle, .certified-purpose-requirements-toggle) {
    padding: 12px 20px;
    font-size: 14px;
    min-width: 100px;
    width: auto;
    max-width: 100%;
    border-radius: 8px;
    /* Improve touch targets */
    touch-action: manipulation;
    min-height: 44px;
  }

  details:not(#quote details, .files-details, .notarized-files-details, .additional-details-notary) {
    max-width: 100%;
    margin: 12px auto;
    padding: 14px;
    border-radius: 10px;
  }

  label:not(:where(.account-terms-check)) {
    font-size: 13px;
    margin-bottom: 4px;
    line-height: 1.4;
  }

  a:not(:where(.account-terms-link))::after {
    height: 1px;
  }

  hr {
    margin: 24px 0;
  }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {

  h1:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h2:not(.selected-prices):not(.gradient-text-purple):not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 24px;
    line-height: 1.2;
  }

  h3:not(.confidence-level, .based-results, .payment-title):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h4:not(.details-content h4, #confirmation-box h4, .text-center):not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h5:not(.navbar *):not(.navbar-brand *):not(.navbar-container *),
  h6:not(.navbar *):not(.navbar-brand *):not(.navbar-container *) {
    font-size: 18px;
    line-height: 1.3;
  }

  input:not(:where(.account-terms-checkbox)),
  select {
    height: 44px;
    font-size: 16px;
    padding: 10px 12px;
    margin: 4px 0 10px 0;
    border-radius: 8px;
  }

  select {
    background-position: right 8px center;
    background-size: 10px;
    padding-right: 30px;
    line-height: 1.2;
  }

  textarea {
    min-height: 80px;
    padding: 10px 12px;
    font-size: 16px;
    border-radius: 8px;
  }

  button:not(:where(.account-terms-button)):not(.correction-learn-more-button, .list-item-button, .lang-suggestion-btn, .lang-proceed-btn, .modal-close, .subject-matter-chip,
    .subject-matter-selected-chip, .target-chip-btn, .document-image-deleter-1, .navbar-loyalty, .loyalty-toggle-btn,
    .navbar-toggle, #confirm-with-rep-button, .lang-filter-btn, .lang-collapse-btn, .chip, .chips-toggle,
    .show-quote-btn, .saved-file-div-button-close, .same-file-div-button-close, .psb-close,
    .read-more-btn-2, #cancel-rep-question, .show-more-button, .btn.btn-secondary,
    .client-profile-ai-chat__launcher, .client-profile-ai-chat__close, .client-profile-ai-chat__send,
    .client-profile-ai-chat-trigger, .client-profile-ai-chat-quote-entry__button, .close-editor-mobile, .chat-button,
    .certified-purpose-chip, .certified-purpose-toggle, .certified-purpose-requirements-toggle) {
    padding: 10px 16px;
    font-size: 13px;
    min-width: 80px;
    border-radius: 6px;
    min-height: 40px;
  }

  details:not(#quote details, .files-details, .notarized-files-details, .additional-details-notary) {
    margin: 10px auto;
    padding: 12px;
    border-radius: 8px;
  }

  label:not(:where(.account-terms-check)) {
    font-size: 12px;
    margin-bottom: 3px;
  }

  hr {
    margin: 20px 0;
  }
}











.reusables {
  /* BUTTON COLORS */
  background-image: linear-gradient(to right, #6a11cb, #2575fc) !important;
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  background-image: linear-gradient(135deg, #f34079 40%, #fc894d);
  /* Soft green */
  background-image: linear-gradient(to right, #0d665c, #2b9e6b) !important;
  /* Soft pink */
  background-image: linear-gradient(to right, #ff758c, #ff7eb3) !important;
  /* Soft red */
  background-image: linear-gradient(to right, #8b0000, #b22222) !important;
  /* Purple linear background */
  border-radius: 20px;
  background-color: #4158D0;
  background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);

  /* TEXT COLORS */
  /* Forest Whisper */
  background: linear-gradient(to right, #005AA7, #FFFDE4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Gold */
  background: linear-gradient(to right, #BF953F, #FCF6BA);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Silver */
  background: linear-gradient(to right, #8d8783, #4e4b48);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Green */
  background: linear-gradient(to right, #11998e, #38ef7d);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Orange */
  background: linear-gradient(to right, #994711, #ef8a38);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Vibrant sunrise */
  background: linear-gradient(45deg, #FFC371, #FF5F6D);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;


  /* BACKGROUND COLORS */
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 15% auto;
  padding: 20px;
  padding-bottom: 50px;
  border: none;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: center;
  /* Body color */
  background-color: #f8fafc;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-weight: 600;
  font-style: normal;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  text-align: center;



}

/* * {
  outline: 1px solid red;
} */



/* Interactive walkthrough */
.walkthrough {
  display: none;
  /* Initially hide the walkthrough */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  /* Semi-transparent background */
  z-index: 1000;
  /* Ensure   
it's on top */
}

.walkthrough-step {
  position: absolute;
  bottom: 350px;
  left: 20px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 20px;
  border-radius: 10px;
  /* Add a relative position to allow positioning the pseudo-element */
  max-width: 300px;
  /* Adjust as needed */
  min-height: 170px;
  /* Adjust as needed */
  display: flex;
  /* Enable flexbox layout */
  flex-direction: column;
  /* Align items vertically */
  align-items: center;
  /* Center items horizontally */
  position: absolute;
  /* Position the walkthrough step */
  z-index: 1001;

}

#next-step-button {
  background-image: linear-gradient(to right, #4b79a1, #283e51) !important;
  color: #6b7280;
  text-align: center;

}

.walkthrough-step::before {
  content: "";
  position: absolute;
  top: 100%;
  /* Position the arrow at the bottom of the box */
  left: 50%;
  /* Center the arrow horizontally */
  transform: translateX(-50%);
  /* Adjust the arrow's position */
  border-width: 10px;
  /* Adjust the arrow size as needed */
  border-style: solid;
  border-color: white transparent transparent transparent;
  /* White arrow pointing upwards */
}

.walkthrough-step.arrow-top::before {
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  border-color: transparent transparent white transparent;
}

.walkthrough-step p {
  color: rgb(185, 185, 185) !important;
  /* White text color */
}


.info-box,
.processing-error-text {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border: 1px solid #7dd3fc;
  border-left: 4px solid #0284c7;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #1e293b;
  box-shadow:
    0 2px 8px rgba(2, 132, 199, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
  display: block;
  font-weight: 500;
  text-align: left;
}

.info-box:hover {
  transform: translateY(-2px);
  box-shadow:
    0 4px 16px rgba(2, 132, 199, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Add info icon before the text */
.info-box::before {
  content: 'ℹ️';
  font-size: 20px;
  margin-right: 8px;
  opacity: 0.9;
  display: inline-block;
  vertical-align: middle;
}

/* Alternative icon variants */
.info-box.with-checkmark::before {
  content: '✅';
}

.info-box.with-lightbulb::before {
  content: '💡';
}

.info-box.with-star::before {
  content: '⭐';
}

/* Color variants */
.info-box.success {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border-color: #86efac;
  border-left-color: #059669;
  box-shadow:
    0 2px 8px rgba(5, 150, 105, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-box.success:hover {
  box-shadow:
    0 4px 16px rgba(5, 150, 105, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.info-box.warning {
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border-color: #fdba74;
  border-left-color: #d97706;
  box-shadow:
    0 2px 8px rgba(217, 119, 6, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-box.warning:hover {
  box-shadow:
    0 4px 16px rgba(217, 119, 6, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.info-box.warning::before {
  content: '⚠️';
}

.info-box.error,
.processing-error-text {
  background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
  border-color: #fca5a5;
  border-left-color: #dc2626;
  box-shadow:
    0 2px 8px rgba(220, 38, 38, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.05);
}

.info-box.error:hover,
.processing-error-text:hover {
  box-shadow:
    0 4px 16px rgba(220, 38, 38, 0.15),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.info-box.error::before,
.processing-error-text::before {
  content: '❌';
}

/* Make it responsive */
@media (max-width: 768px) {
  .info-box {
    padding: 16px 18px;
    margin: 16px 0;
    font-size: 14px;
    border-radius: 10px;
  }

  .info-box::before {
    font-size: 18px;
    margin-right: 6px;
  }
}

@media (max-width: 480px) {
  .info-box {
    padding: 14px 16px;
    margin: 14px 0;
    font-size: 13px;
    border-radius: 8px;
  }

  .info-box::before {
    font-size: 16px;
    margin-right: 6px;
  }
}

/* Animation when element appears */
.info-box {
  animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced focus state for accessibility */
.info-box:focus-within {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}

/* Link styling within info boxes */
.info-box a {
  color: #0284c7;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.info-box a:hover {
  color: #0369a1;
  text-decoration: none;
}

/* Subtle animation for better UX */
.info-box:active {
  transform: translateY(-1px);
  transition: transform 0.1s ease;
}

/* Special styling for info boxes with headings */
.info-box h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  display: inline;
}

.notary-stamp-shortage-info-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notary-stamp-shortage-info-box p {
  margin: 0;
}

.notary-stamp-shortage-info-box__button {
  align-self: flex-start;
  margin-top: 4px;
  border: none;
  color: #ffffff;
  padding: 12px 18px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.25;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 8px 18px rgba(234, 88, 12, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.notary-stamp-shortage-info-box__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter: saturate(1.05);
}

.notary-stamp-shortage-info-box__button:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.notary-stamp-shortage-info-box__button:focus-visible {
  outline: 2px solid rgba(234, 88, 12, 0.35);
  outline-offset: 2px;
}

/* Align icon with heading when present */
.info-box:has(h3)::before {
  vertical-align: top;
  margin-top: 1px;
}

.info-box.dmv-info-box {
  --dmv-box-border: #cbd5e1;
  --dmv-box-shadow: rgba(15, 23, 42, 0.08);
  --dmv-box-badge-bg: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  --dmv-box-badge-color: #1d4ed8;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: start;
  column-gap: 14px;
  row-gap: 6px;
  margin: 16px 0 0;
  padding: 18px 18px 18px 16px;
  border: 1px solid var(--dmv-box-border);
  border-left: none;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98)),
    linear-gradient(135deg, rgba(219, 234, 254, 0.34), rgba(255, 255, 255, 0));
  box-shadow: 0 14px 34px -22px var(--dmv-box-shadow), 0 10px 22px -24px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.info-box.dmv-info-box::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #2563eb 0%, #38bdf8 100%);
}

.info-box.dmv-info-box::before {
  content: 'DMV';
  grid-column: 1;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 16px;
  background: var(--dmv-box-badge-bg);
  color: var(--dmv-box-badge-color);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 18px -16px rgba(37, 99, 235, 0.42);
}

.info-box.dmv-info-box h3,
.info-box.dmv-info-box p {
  grid-column: 2;
}

.info-box.dmv-info-box h3 {
  margin: 0;
  display: block;
  font-size: 0.98rem;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #0f172a;
}

.info-box.dmv-info-box p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #334155;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.info-box.dmv-info-box a {
  color: #1d4ed8;
  text-decoration-thickness: 1px;
}

.info-box.dmv-info-box.dmv-info-box--requirements {
  --dmv-box-border: #bfdbfe;
  --dmv-box-shadow: rgba(37, 99, 235, 0.18);
  --dmv-box-badge-bg: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  --dmv-box-badge-color: #1d4ed8;
}

.info-box.dmv-info-box.dmv-info-box--requirements h3 {
  color: #0f3d91;
}

.info-box.dmv-info-box.dmv-info-box--license {
  --dmv-box-border: #fed7aa;
  --dmv-box-shadow: rgba(217, 119, 6, 0.18);
  --dmv-box-badge-bg: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  --dmv-box-badge-color: #c2410c;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 235, 0.98)),
    linear-gradient(135deg, rgba(255, 237, 213, 0.5), rgba(255, 255, 255, 0));
}

.info-box.dmv-info-box.dmv-info-box--license::after {
  background: linear-gradient(180deg, #f97316 0%, #f59e0b 100%);
}

.info-box.dmv-info-box.dmv-info-box--license::before {
  content: 'DL';
}

.info-box.dmv-info-box.dmv-info-box--license h3 {
  color: #9a3412;
}

.info-box.dmv-info-box.dmv-info-box--exception {
  --dmv-box-border: #bae6fd;
  --dmv-box-shadow: rgba(14, 116, 144, 0.18);
  --dmv-box-badge-bg: linear-gradient(135deg, #cffafe 0%, #bae6fd 100%);
  --dmv-box-badge-color: #0e7490;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(240, 253, 250, 0.96)),
    linear-gradient(135deg, rgba(207, 250, 254, 0.45), rgba(255, 255, 255, 0));
}

.info-box.dmv-info-box.dmv-info-box--exception::after,
.info-box.dmv-info-box.dmv-info-box--exception-additional::after {
  background: linear-gradient(180deg, #0891b2 0%, #14b8a6 100%);
}

.info-box.dmv-info-box.dmv-info-box--exception h3 {
  margin: 0;
  color: #155e75;
}

.info-box.dmv-info-box.dmv-info-box--exception p {
  margin: 0;
}

.info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-choice-group,
.info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-document-count,
.info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-note {
  grid-column: 2;
  min-width: 0;
}

.dmv-exception-choice-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.dmv-exception-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 12px 13px;
  border: 1px solid rgba(148, 163, 184, 0.48);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.42;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.dmv-exception-choice:hover {
  border-color: rgba(14, 116, 144, 0.52);
  background: rgba(236, 254, 255, 0.9);
  transform: translateY(-1px);
}

.dmv-exception-choice:has(input:not(:where(.account-terms-checkbox)):checked) {
  border-color: #0891b2;
  background: #ecfeff;
  box-shadow: 0 10px 22px -20px rgba(14, 116, 144, 0.6);
}

.dmv-exception-choice input:not(:where(.account-terms-checkbox))[type="radio"] {
  flex: 0 0 18px;
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #0891b2;
}

.dmv-exception-choice span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.dmv-exception-document-count {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(92px, 116px);
  align-items: center;
  gap: 12px;
  margin: 8px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
}

.dmv-exception-document-count span {
  min-width: 0;
}

.dmv-exception-document-count input:not(:where(.account-terms-checkbox))[type="number"] {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(100, 116, 139, 0.35);
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
}

.dmv-exception-document-count input:not(:where(.account-terms-checkbox))[type="number"]:focus {
  border-color: #0891b2;
  outline: 3px solid rgba(8, 145, 178, 0.16);
}

.dmv-exception-note {
  margin: 8px 0 0;
  padding: 10px 12px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 700;
}

.info-box.dmv-info-box.dmv-info-box--exception-additional {
  --dmv-box-border: #99f6e4;
  --dmv-box-shadow: rgba(13, 148, 136, 0.16);
  --dmv-box-badge-bg: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
  --dmv-box-badge-color: #0f766e;
}

.info-box.dmv-info-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px -24px var(--dmv-box-shadow), 0 14px 28px -28px rgba(15, 23, 42, 0.16);
}

.info-box.dmv-info-box:focus-within {
  outline: 2px solid rgba(37, 99, 235, 0.22);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .info-box.dmv-info-box {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 12px;
    margin-top: 14px;
    padding: 16px 16px 16px 14px;
    border-radius: 16px;
  }

  .info-box.dmv-info-box::before {
    width: 44px;
    min-width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 0.7rem;
  }

  .info-box.dmv-info-box h3 {
    font-size: 0.93rem;
  }

  .info-box.dmv-info-box p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .dmv-exception-choice-group {
    grid-template-columns: 1fr;
  }

  .dmv-exception-document-count {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dmv-exception-document-count input:not(:where(.account-terms-checkbox))[type="number"] {
    max-width: 140px;
  }
}

@media (max-width: 520px) {
  .info-box.dmv-info-box {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 15px 15px 16px 14px;
  }

  .info-box.dmv-info-box::before,
  .info-box.dmv-info-box h3,
  .info-box.dmv-info-box p,
  .info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-choice-group,
  .info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-document-count,
  .info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-note {
    grid-column: 1;
  }

  .info-box.dmv-info-box::before {
    grid-row: auto;
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .info-box.dmv-info-box h3 {
    font-size: 0.9rem;
  }

  .info-box.dmv-info-box p {
    font-size: 0.84rem;
  }

  .dmv-exception-choice,
  .dmv-exception-document-count {
    padding: 11px 12px;
  }
}

/* ========================================
   BUSINESS DETAILS CONTAINER STYLES
   ======================================== */

.info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-choice-group,
.info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-document-count,
.info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-note {
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

.info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-choice-group {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)) !important;
  gap: 10px !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
}

.info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-choice {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 12px 13px !important;
  border: 1px solid rgba(148, 163, 184, 0.48) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.88) !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  box-shadow: none !important;
  color: #0f172a !important;
  cursor: pointer !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.42 !important;
  text-align: left !important;
  -webkit-text-fill-color: currentColor !important;
}

.info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-choice:hover {
  border-color: rgba(14, 116, 144, 0.52) !important;
  background: rgba(236, 254, 255, 0.9) !important;
  transform: translateY(-1px) !important;
}

.info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-choice:has(input:not(:where(.account-terms-checkbox)):checked) {
  border-color: #0891b2 !important;
  background: #ecfeff !important;
  box-shadow: 0 10px 22px -20px rgba(14, 116, 144, 0.6) !important;
}

.info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-choice input:not(:where(.account-terms-checkbox))[type="radio"] {
  display: inline-block !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  accent-color: #0891b2 !important;
  appearance: auto !important;
}

.info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-choice span,
.info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-document-count span {
  display: block !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: currentColor !important;
  overflow-wrap: anywhere !important;
  text-align: left !important;
  -webkit-text-fill-color: currentColor !important;
}

.info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-document-count {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(92px, 116px) !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 8px 0 0 !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(148, 163, 184, 0.45) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.9) !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  box-shadow: none !important;
  color: #0f172a !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
  text-align: left !important;
  -webkit-text-fill-color: currentColor !important;
}

.info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-document-count input:not(:where(.account-terms-checkbox))[type="number"] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 10px !important;
  border: 1px solid rgba(100, 116, 139, 0.35) !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  -webkit-text-fill-color: currentColor !important;
}

.info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-document-count input:not(:where(.account-terms-checkbox))[type="number"]:focus {
  border-color: #0891b2 !important;
  outline: 3px solid rgba(8, 145, 178, 0.16) !important;
}

.info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-note {
  margin: 8px 0 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #fed7aa !important;
  border-radius: 12px !important;
  background: #fff7ed !important;
  color: #9a3412 !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1.45 !important;
  text-align: left !important;
  -webkit-text-fill-color: currentColor !important;
}

.info-box.dmv-info-box.dmv-info-box--exception h3,
.info-box.dmv-info-box.dmv-info-box--exception-additional h3,
.info-box.dmv-info-box.dmv-info-box--exception p,
.info-box.dmv-info-box.dmv-info-box--exception-additional p {
  text-align: left !important;
  -webkit-text-fill-color: currentColor !important;
}

@media (max-width: 768px) {
  .info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-choice-group {
    grid-template-columns: 1fr !important;
  }

  .info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-document-count {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  .info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-document-count input:not(:where(.account-terms-checkbox))[type="number"] {
    max-width: 140px !important;
  }

  .info-box.dmv-info-box.dmv-info-box--exception h3,
  .info-box.dmv-info-box.dmv-info-box--exception-additional h3 {
    font-size: 0.93rem !important;
  }

  .info-box.dmv-info-box.dmv-info-box--exception p,
  .info-box.dmv-info-box.dmv-info-box--exception-additional p {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }
}

@media (max-width: 520px) {

  .info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-choice-group,
  .info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-document-count,
  .info-box.dmv-info-box.dmv-info-box--exception .dmv-exception-note {
    grid-column: 1 !important;
  }

  .info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-choice,
  .info-box.dmv-info-box.dmv-info-box--exception label:not(:where(.account-terms-check)).dmv-exception-document-count {
    padding: 11px 12px !important;
  }

  .info-box.dmv-info-box.dmv-info-box--exception h3,
  .info-box.dmv-info-box.dmv-info-box--exception-additional h3 {
    font-size: 0.9rem !important;
  }

  .info-box.dmv-info-box.dmv-info-box--exception p,
  .info-box.dmv-info-box.dmv-info-box--exception-additional p {
    font-size: 0.84rem !important;
  }
}

.business-details-container {
  margin-top: 18px;
  width: 100%;
}

.business-details {
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 18px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(239, 246, 255, 0.95), rgba(248, 250, 252, 0.92));
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 800px;
}

.business-details summary {
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  list-style: none;
  position: relative;
  padding: 10px 30px 10px 0;
  display: grid;
  gap: 4px;
}

.business-details summary::-webkit-details-marker {
  display: none;
}

.business-details summary::after {
  content: "▾";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 1rem;
  color: #2563eb;
  transition: transform 150ms ease;
}

.business-details[open] summary::after {
  transform: rotate(180deg);
}

.business-details-content {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.business-details-intro {
  margin: 0;
  font-size: 0.95rem;
  color: #1e293b;
  line-height: 1.55;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(37, 99, 235, 0.16);
}

.business-details-section {
  padding: 14px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: visible;
  width: 100%;
}

.business-details-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.business-details-section h3 {
  margin: 0 0 12px 0;
  font-size: 1.02rem;
  color: #1e293b;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.business-details-section h3::before {
  content: '';
  width: 3px;
  height: 16px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  border-radius: 2px;
  flex-shrink: 0;
}

.business-details-subtitle {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 600;
}

.business-details-summary-title {
  font-size: 1.02rem;
  color: #0f172a;
}

.business-details-summary-subtitle {
  font-size: 0.82rem;
  color: #2563eb;
  font-weight: 600;
}

.business-details-summary-cta {
  font-size: 0.78rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Subject Matter Styles */
.subject-matter-info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 10px;
  animation: infoBoxFadeIn 0.3s ease-out;
}

@keyframes infoBoxFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.subject-matter-info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.subject-matter-info-text {
  font-size: 0.88rem;
  color: #1e40af;
  line-height: 1.5;
  font-weight: 500;
}

.subject-matter-input-wrap {
  position: relative;
  display: grid;
  gap: 8px;
}

.subject-matter-input-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1f2937;
}

.subject-matter-input {
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #fff;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.92rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.subject-matter-selected {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 2px;
}

.subject-matter-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.subject-matter-selected-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  color: #1d4ed8;
  font-size: 0.75rem;
  line-height: 1;
}

.subject-matter-input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.subject-matter-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  padding: 12px;
  display: none;
  z-index: 4;
  max-height: 360px;
}

.subject-matter-dropdown.open {
  display: block;
}

.subject-matter-chip-scroll {
  max-height: 260px;
  overflow: auto;
  padding-right: 2px;
}

.subject-matter-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subject-matter-chip {
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: rgba(255, 255, 255, 0.85);
  color: #1f2937;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  outline: none;
}

.subject-matter-chip:hover,
.subject-matter-chip:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
}

.subject-matter-chip.selected {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
}

.subject-matter-fineprint {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: #475569;
  font-weight: 400 !important;
}

/* Translator Preference & Complexity Grid Styles */
.translator-preference-grid,
.complexity-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.translator-option {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(248, 250, 252, 0.98);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background 150ms ease;
}

.translator-option-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.translator-option-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.3;
}

.translator-option-subtitle {
  font-weight: 400 !important;
  color: #64748b;
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.4;
}

.translator-option-rate {
  display: inline-block;
  width: fit-content;
  font-size: 0.72rem;
  color: #1d4ed8;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.15));
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  white-space: nowrap;
  margin-top: 4px;
}

.translator-option-desc {
  margin: 0;
  padding-top: 8px;
  margin-top: 4px;
  font-size: 0.83rem;
  color: #475569;
  line-height: 1.5;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  font-weight: 400 !important;
}

.translator-option input:not(:where(.account-terms-checkbox)),
.complexity-option input:not(:where(.account-terms-checkbox)) {
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  border: 1px solid rgba(148, 163, 184, 0.7) !important;
  background: #fff !important;
  box-shadow: none !important;
  accent-color: #2563eb;
}

.translator-option:hover,
.complexity-option:hover {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

.translator-option:has(input:not(:where(.account-terms-checkbox)):checked),
.complexity-option:has(input:not(:where(.account-terms-checkbox)):checked) {
  border-color: rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.98));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18);
}

.complexity-option {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(248, 250, 252, 0.98);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background 150ms ease;
}

.complexity-option-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.complexity-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.3;
}

.complexity-desc {
  margin: 0;
  font-size: 0.83rem;
  color: #475569;
  line-height: 1.5;
  font-weight: 400 !important;
}

/* Budget & Turnaround Grid Styles */
.budget-grid,
.turnaround-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.budget-option,
.turnaround-option {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(248, 250, 252, 0.98);
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background 150ms ease;
}

.budget-option-content,
.turnaround-option-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.budget-option input:not(:where(.account-terms-checkbox)),
.turnaround-option input:not(:where(.account-terms-checkbox)) {
  flex-shrink: 0;
  margin-top: 3px;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  border: 1px solid rgba(148, 163, 184, 0.7) !important;
  background: #fff !important;
  box-shadow: none !important;
  accent-color: #2563eb;
}

.budget-option:hover,
.turnaround-option:hover {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.14);
  transform: translateY(-1px);
}

.budget-option:has(input:not(:where(.account-terms-checkbox)):checked),
.turnaround-option:has(input:not(:where(.account-terms-checkbox)):checked) {
  border-color: rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255, 255, 255, 0.98));
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18);
}

.budget-title,
.turnaround-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.3;
}

.budget-subtitle {
  font-weight: 400 !important;
  color: #64748b;
  font-size: 0.75rem;
  font-style: italic;
  line-height: 1.4;
}

.budget-rate {
  display: inline-block;
  width: fit-content;
  font-size: 0.72rem;
  color: #1d4ed8;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.15));
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  white-space: nowrap;
  margin-top: 4px;
}

.budget-desc,
.turnaround-desc {
  margin: 0;
  padding-top: 8px;
  margin-top: 4px;
  font-size: 0.83rem;
  color: #475569;
  line-height: 1.5;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  font-weight: 400 !important;
}

.budget-input-wrap,
.turnaround-input-wrap {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.budget-input-label,
.turnaround-input-label {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 500;
}

.budget-amount-input,
.turnaround-date-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.92rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  box-sizing: border-box;
}

.budget-amount-input:focus,
.turnaround-date-input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.6);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.budget-amount-input::placeholder,
.turnaround-date-input::placeholder {
  color: #94a3b8;
  font-style: italic;
}

/* Desktop: translator/complexity options in 2 columns */
@media (min-width: 769px) {
  .business-details-content {
    grid-template-columns: 1fr;
  }

  .translator-preference-grid,
  .complexity-grid,
  .budget-grid,
  .turnaround-grid {
    grid-template-columns: 1fr 1fr;
  }

  .business-details-section {
    min-width: 0;
  }
}

/* Tablet responsiveness */
@media (max-width: 768px) {
  .business-details {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 14px 16px;
  }

  .business-details-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
  }

  .business-details-content {
    grid-template-columns: 1fr;
  }

  .business-details-section {
    padding: 14px 14px;
    width: calc(100% + 10px);
    max-width: none;
    margin-left: -5px;
    margin-right: -5px;
  }

  .subject-matter-input-wrap {
    width: 100%;
  }

  .subject-matter-input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .translator-preference-grid,
  .complexity-grid,
  .budget-grid,
  .turnaround-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .business-details {
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 12px 14px;
    border-radius: 14px;
  }

  .business-details-container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 4px;
    padding-right: 4px;
    box-sizing: border-box;
  }

  .business-details summary {
    padding: 8px 24px 8px 0;
  }

  .business-details-summary-title {
    font-size: 0.95rem;
  }

  .business-details-summary-subtitle {
    font-size: 0.78rem;
  }

  .business-details-content {
    gap: 14px;
  }

  .business-details-section {
    padding: 12px 12px;
    border-radius: 12px;
    width: calc(100% + 16px);
    max-width: none;
    margin-left: -8px;
    margin-right: -8px;
  }

  .business-details-section h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  /* Smaller placeholder font on mobile for business-details inputs */
  .business-details-container .subject-matter-input::placeholder,
  .business-details-container .budget-amount-input::placeholder,
  .business-details-container .turnaround-date-input::placeholder {
    font-size: 0.82rem !important;
  }

  .subject-matter-input-wrap {
    width: 100%;
  }

  .subject-matter-input {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  .translator-option,
  .complexity-option,
  .budget-option,
  .turnaround-option {
    padding: 12px 10px;
  }

  .subject-matter-dropdown {
    max-height: 280px;
  }

  .subject-matter-chip-scroll {
    max-height: 200px;
  }
}

/* Service expedited info-box styles */
.service-expedited-info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(251, 191, 36, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  animation: infoBoxFadeIn 0.3s ease-out;
  max-width: 600px;
}

.service-expedited-info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.service-expedited-info-text {
  font-size: 0.88rem;
  color: #92400e;
  line-height: 1.5;
  font-weight: 500;
}