/* ===================================
   Theme Variables (Dark/Light Mode)
   =================================== */
:root {
    /* Base colors */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --success-color: #10b981;
    --warning-color: #eab308;
    --error-color: #ef4444;
}

/* Dark theme (default) */
:root[data-theme="dark"],
:root:not([data-theme]) {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #e2e8f0;
    --text-tertiary: #cbd5e1;
    --border-color: #334155;
    --input-bg: #1e293b;
    --input-border: #475569;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
}

/* Light theme */
:root[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #1f2937;
    --text-tertiary: #4b5563;
    --border-color: #e5e7eb;
    --input-bg: #ffffff;
    --input-border: #cbd2d9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.layout__header {
  background-color: #1a56db;
  color: #ffffff;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
}

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

.layout__brand-link {
  font-size: 1.4rem;
  font-weight: 600;
  color: inherit;
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

/* Dark mode (default) - white icon */
:root[data-theme="dark"] .theme-toggle,
:root:not([data-theme]) .theme-toggle {
  color: #ffffff;
}

/* Light mode - yellow icon with drop-shadow for contrast on blue header */
:root[data-theme="light"] .theme-toggle {
  color: #fbbf24;
  filter: drop-shadow(0 0 2px white);
}

.theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

:root[data-theme="light"] .theme-toggle:hover {
  background-color: rgba(251, 191, 36, 0.1);
  color: #fcd34d;
  filter: drop-shadow(0 0 3px white);
}

.theme-icon {
  width: 20px;
  height: 20px;
}

.theme-icon-light {
  display: none;
}

.theme-icon-dark {
  display: block;
}

:root[data-theme="light"] .theme-icon-light {
  display: block;
}

:root[data-theme="light"] .theme-icon-dark {
  display: none;
}

.layout__main {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1.5rem 3rem;
}

.flash {
  max-width: 960px;
  margin: 0 auto 1.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 6px;
  border: 1px solid transparent;
}

.flash--info {
  background-color: rgba(37, 99, 235, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.flash--error {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: var(--error-color);
  color: var(--error-color);
}

.panel {
  background-color: var(--bg-primary);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: background-color 0.3s ease;
}

.panel__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.panel__subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-tertiary);
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .form-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  font-size: 1rem;
  background-color: var(--input-bg);
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

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

.field input[type="checkbox"] {
  width: auto;
  align-self: flex-start;
}

.field input:disabled,
.field select:disabled,
.field textarea:disabled {
  background-color: var(--bg-tertiary);
  color: #9aa5b1;
  cursor: not-allowed;
  border-color: var(--border-color);
}

.field--disabled label {
  color: #9aa5b1;
}

.field--checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.field--checkbox label {
  font-weight: 500;
}

/* Radio Card Group */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.radio-card {
  position: relative;
  display: block;
  cursor: pointer;
  user-select: none;
}

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

.radio-card__content {
  background-color: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.radio-card:hover .radio-card__content {
  border-color: var(--input-border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.radio-card input[type="radio"]:checked ~ .radio-card__content {
  border-color: var(--primary-color);
  background-color: rgba(37, 99, 235, 0.08);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.radio-card input[type="radio"]:focus-visible ~ .radio-card__content {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.radio-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.radio-card__indicator {
  position: relative;
  width: 20px;
  height: 20px;
  border: 2px solid var(--input-border);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.radio-card input[type="radio"]:checked ~ .radio-card__content .radio-card__indicator {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.radio-card input[type="radio"]:checked ~ .radio-card__content .radio-card__indicator::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: var(--bg-primary);
  border-radius: 50%;
}

.radio-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.radio-card input[type="radio"]:checked ~ .radio-card__content .radio-card__title {
  color: var(--primary-color);
}

.radio-card__description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.5;
  padding-left: 2rem;
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:focus-visible {
  outline: 2px solid #1a56db;
  outline-offset: 2px;
}

.button--primary {
  background-color: #1a56db;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(26, 86, 219, 0.25);
}

.button--primary:hover {
  background-color: #164bb5;
  transform: translateY(-1px);
}

.button--secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

.button--secondary:hover {
  background-color: var(--border-color);
}

.button--ghost {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.button--ghost:hover {
  background-color: rgba(37, 99, 235, 0.08);
}

.summary {
  background-color: #0b132b;
  color: #f4f5f7;
  border-radius: 12px;
  padding: 1.75rem;
}

.summary__heading {
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.summary__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.summary__item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.summary__item-label {
  color: #9aa5b1;
}

.summary__item-value {
  font-weight: 600;
}

.summary__highlight {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 1.1rem;
}

.summary__highlight strong {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.section {
  margin-bottom: 2.5rem;
}

.section__title {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.section__description {
  margin: 0 0 1.2rem;
  color: var(--text-tertiary);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .grid--layout {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.muted {
  color: var(--text-tertiary);
  font-size: 0.9rem;
}

.form-note {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 6px;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 0.88rem;
}

.form-note--info {
  background: rgba(102, 126, 234, 0.1);
  border-left: 3px solid #667eea;
}

.form-note--warning {
  background: rgba(245, 158, 11, 0.1);
  border-left: 3px solid #f59e0b;
}

.form-note--error {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #f8b4b4;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

/* Contributions Calculator */
.contributions-calculator {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.contributions-calculator__input {
  margin-bottom: 1.5rem;
}

.field__hint {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.contributions-calculator__results {
  border-top: 2px solid #86efac;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.contributions-calculator__results-title {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #15803d;
}

.contributions-calculator__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 1rem;
}

.contribution-result {
  background-color: var(--bg-primary);
  padding: 1.25rem;
  border-radius: 8px;
  border-left: 4px solid #22c55e;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.contribution-result__label {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
}

.contribution-result__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 0.35rem;
}

.contribution-result__note {
  font-size: 0.8rem;
  color: #6b7280;
}

.contributions-calculator__disclaimer {
  margin: 1rem 0 0;
  padding: 0.75rem;
  background-color: rgba(245, 158, 11, 0.1);
  border-left: 3px solid var(--warning-color);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Deductions Info Box */
.deductions-info-box {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.deductions-info-box__title {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a56db;
}

.deductions-info-box__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.deduction-item {
  background-color: var(--bg-primary);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #1a56db;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.deduction-item strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.deduction-item p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.modal__dialog {
  position: relative;
  background-color: var(--bg-primary);
  width: min(640px, 92vw);
  max-height: 80vh;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  padding: 1.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.modal__body {
  overflow-y: auto;
  padding-right: 0.25rem;
}

.search-form {
  display: flex;
  gap: 0.75rem;
}

.search-form input[type="text"] {
  flex: 1;
}

/* IČO Autocomplete Dropdown Wrapper */
.ico-autocomplete-wrapper {
  grid-column: 1 / -1;
  margin-top: -0.4rem;
}

/* IČO Autocomplete Dropdown */
.ico-autocomplete {
  position: relative;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(209, 213, 219, 0.6);
  border-radius: 6px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  animation: slideDown 0.15s ease-out;
}

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

.ico-autocomplete__list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  max-height: 280px;
  overflow-y: auto;
}

/* Scrollbar styling */
.ico-autocomplete__list::-webkit-scrollbar {
  width: 6px;
}

.ico-autocomplete__list::-webkit-scrollbar-track {
  background: transparent;
}

.ico-autocomplete__list::-webkit-scrollbar-thumb {
  background: rgba(209, 213, 219, 0.5);
  border-radius: 3px;
}

.ico-autocomplete__list::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.7);
}

.ico-autocomplete__item {
  border-bottom: 1px solid rgba(243, 244, 246, 0.5);
}

.ico-autocomplete__item:last-child {
  border-bottom: none;
}

.ico-autocomplete__button {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(200px, 1.5fr) minmax(140px, 0.8fr) minmax(160px, 0.8fr) 40px;
  align-items: center;
  gap: 1.25rem;
  padding: 0.7rem 1.2rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: all 0.12s ease;
  position: relative;
}

.ico-autocomplete__button:hover {
  background: var(--bg-tertiary);
}

.ico-autocomplete__button:hover::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #3b82f6;
}

.ico-autocomplete__button:active {
  background: rgba(219, 234, 254, 0.8);
}

.ico-autocomplete__content {
  display: contents;
}

.ico-autocomplete__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ico-autocomplete__meta {
  display: contents;
}

.ico-autocomplete__ico,
.ico-autocomplete__dic {
  font-size: 0.87rem;
  white-space: nowrap;
}

.ico-autocomplete__ico {
  font-weight: 500;
  color: #2563eb;
}

.ico-autocomplete__ico::before {
  content: 'IČO: ';
  color: #6b7280;
  font-weight: 400;
}

.ico-autocomplete__dic {
  font-weight: 500;
  color: #6b7280;
}

.ico-autocomplete__button:hover .ico-autocomplete__name {
  color: #1e40af;
}

.ico-autocomplete__button:hover .ico-autocomplete__ico {
  color: #1d4ed8;
  font-weight: 600;
}

.ico-autocomplete__arrow {
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  flex-shrink: 0;
  transition: all 0.15s ease;
  opacity: 0.4;
}

.ico-autocomplete__button:hover .ico-autocomplete__arrow {
  color: #3b82f6;
  transform: translateX(2px);
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
  .ico-autocomplete__button {
    grid-template-columns: 1fr;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
  }

  .ico-autocomplete__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .ico-autocomplete__name {
    font-size: 0.9rem;
  }

  .ico-autocomplete__meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.83rem;
  }

  .ico-autocomplete__arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    grid-column: 1;
  }

  .ico-autocomplete__button:hover .ico-autocomplete__arrow {
    transform: translateY(-50%) translateX(2px);
  }
}

.search-empty {
  padding: 1rem;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.95rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background-color: rgba(26, 86, 219, 0.1);
  color: #1a56db;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
}

/* Wizard - Modern Minimal Design */
.wizard {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 200px);
}

.wizard__progress {
  position: relative;
  margin-bottom: 4rem;
  padding: 0 2rem;
}

.wizard__progress-line {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e5e7eb;
  z-index: 1;
}

.wizard__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #1a56db;
  transition: width 0.3s ease;
}

.wizard__steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.wizard__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.wizard__step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 2px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #9aa5b1;
  transition: all 0.2s ease;
  position: relative;
}

.wizard__step--active .wizard__step-circle {
  background-color: #1a56db;
  border-color: #1a56db;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(26, 86, 219, 0.3);
}

.wizard__step--completed .wizard__step-circle {
  background-color: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.wizard__step--warning .wizard__step-circle::after {
  content: '';
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background-color: #f59e0b;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.wizard__step-label {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  font-weight: 500;
  text-align: center;
  max-width: 120px;
}

.wizard__step--active .wizard__step-label {
  color: var(--text-primary);
  font-weight: 600;
}

.wizard__content {
  display: flex;
  gap: 2.5rem;
  flex: 1;
  align-items: flex-start;
}

@media (max-width: 960px) {
  .wizard__content {
    flex-direction: column;
  }
}

.wizard__main {
  flex: 1;
  min-width: 0;
}

.wizard__sidebar {
  position: sticky;
  top: 2rem;
  width: 320px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .wizard__sidebar {
    position: static;
    width: 100%;
  }
}

.wizard__panel {
  background-color: var(--bg-primary);
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  padding: 1.5rem;
}

.wizard__panel--main {
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.wizard__step-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
}

.wizard__step-description {
  margin: 0 0 2rem;
  font-size: 0.95rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.wizard__navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.wizard__nav-group {
  display: flex;
  gap: 1rem;
}

.wizard__result-title {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.wizard__result-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.wizard__result-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #f1f5f9;
}

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

.wizard__result-label {
  color: var(--text-tertiary);
}

.wizard__result-value {
  font-weight: 600;
  color: var(--text-primary);
}

.wizard__result-highlight {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 2px solid #e5e7eb;
}

.wizard__result-highlight .wizard__result-item {
  font-size: 1.05rem;
}

.wizard__result-highlight .wizard__result-value {
  color: #1a56db;
  font-size: 1.3rem;
}

/* Help/Tooltip System */
.field__help {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  cursor: help;
  vertical-align: middle;
}

.field__help-icon {
  width: 1rem;
  height: 1rem;
  color: #7c8898;
  transition: color 0.2s ease;
}

.field__help:hover .field__help-icon {
  color: #1a56db;
}

.field__help-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.5rem;
  padding: 0.65rem 0.85rem;
  background-color: var(--text-primary);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  white-space: normal;
  width: max-content;
  max-width: 280px;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.field__help-tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--text-primary);
}

.field__help:hover .field__help-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Mobile: Click to show tooltip */
@media (max-width: 768px) {
  .field__help-tooltip {
    position: fixed;
    bottom: auto;
    left: 1rem;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    max-width: calc(100% - 2rem);
    width: auto;
  }

  .field__help-tooltip::before {
    display: none;
  }
}

/* ===================================
   Landing Page Styles Import
   =================================== */
/* ===================================
   Landing Page Styles
   Imported from landing-page/css/styles.css
   =================================== */

/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;

    /* Neutral colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

.landing-page {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    background-color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand a {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 8px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

.nav-link-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-md);
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-link-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gray-700);
    transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

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

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.hero-note {
    margin-top: var(--spacing-lg);
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background-color: var(--primary-dark);
}

.btn-secondary {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--border-color);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ===================================
   Sections
   =================================== */
section {
    padding: var(--spacing-2xl) 0;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--gray-900);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

/* ===================================
   Features Grid
   =================================== */
.features {
    background-color: var(--gray-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.feature-card {
    background-color: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===================================
   How it Works
   =================================== */
.how-it-works {
    background-color: var(--bg-primary);
}

.steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: var(--spacing-lg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.step p {
    color: var(--gray-600);
}

/* ===================================
   News Page
   =================================== */
.news-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.news-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
}

.news-hero p {
    font-size: 1.125rem;
    opacity: 0.95;
}

.news-content {
    background-color: var(--gray-50);
    min-height: 60vh;
}

.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.news-article-card {
    background-color: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.news-article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.news-badge {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-badge-new {
    background-color: var(--success-color);
    color: #fff;
}

.news-badge-important {
    background-color: var(--error-color);
    color: #fff;
}

.article-date {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.article-tags {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.tag {
    padding: 0.25rem 0.75rem;
    background-color: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* News Sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sidebar-widget {
    background-color: var(--bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: var(--spacing-xs);
}

.sidebar-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.timeline-list {
    list-style: none;
}

.timeline-list li {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
    border-left: 2px solid var(--primary-color);
}

.timeline-list strong {
    display: block;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.timeline-list span {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.sidebar-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.sidebar-cta h3 {
    color: #fff;
}

.sidebar-cta p {
    opacity: 0.95;
    margin-bottom: var(--spacing-md);
}

/* ===================================
   Article Page
   =================================== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    color: var(--gray-600);
}

.breadcrumb .current {
    color: var(--gray-600);
}

.article-detail {
    background-color: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.article-detail .article-header {
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.article-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.article-detail .article-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.article-meta .article-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.article-body {
    line-height: 1.8;
    color: var(--gray-800);
}

.article-body h3 {
    font-size: 1.5rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--gray-900);
}

.article-body ul {
    margin: var(--spacing-md) 0;
    padding-left: var(--spacing-lg);
}

.article-body li {
    margin-bottom: var(--spacing-xs);
}

.article-body p {
    margin-bottom: var(--spacing-md);
}

.news-note {
    background-color: var(--gray-50);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
    margin: var(--spacing-md) 0;
}

.news-warning {
    background-color: #fef3c7;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--warning-color);
    color: var(--gray-800);
    margin: var(--spacing-md) 0;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--gray-200);
    flex-wrap: wrap;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--spacing-md);
    text-align: center;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .steps {
        flex-direction: column;
    }

    .news-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .article-footer {
        flex-direction: column;
    }

    .article-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--spacing-xl) 0;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .article-detail {
        padding: var(--spacing-md);
    }
}

/* Accordion component */
.accordion {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-primary);
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
}

.accordion__summary {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.2s;
  color: var(--text-primary);
}

.accordion__summary:hover {
  background-color: var(--bg-tertiary);
}

.accordion__summary::-webkit-details-marker {
  display: none;
}

.accordion__icon {
  color: #667eea;
  font-size: 0.875rem;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.accordion[open] .accordion__icon {
  transform: rotate(180deg);
}

.accordion__content {
  padding: 0 1.5rem 1.5rem;
}

/* ===================================
   Cookie Consent Banner
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 380px;
    max-width: calc(100vw - 2rem);
    background-color: rgba(31, 41, 55, 0.98);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideInRight 0.4s ease-out;
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.cookie-banner.hide {
    opacity: 0;
    transform: translateX(120%);
    pointer-events: none;
}

@keyframes slideInRight {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.cookie-banner-text {
    color: #fff;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-button {
    background-color: #2563eb;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.cookie-banner-button:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
}

.cookie-banner-button:active {
    transform: translateY(0);
}

@media (max-width: 640px) {
    .cookie-banner {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
    }
}

/* ============================================
   CONVERSATION CARDS - Conversational UI Components
   ============================================ */

.conversation-card {
  background-color: var(--bg-primary);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.conversation-card:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

/* Card types */
.conversation-card--question {
  border-left-color: #1a56db;
}

.conversation-card--success {
  border-left-color: #059669;
  background: linear-gradient(to right, rgba(16, 185, 129, 0.08), var(--bg-primary));
}

.conversation-card--warning {
  border-left-color: #f59e0b;
  background: linear-gradient(to right, rgba(245, 158, 11, 0.08), var(--bg-primary));
}

.conversation-card--info {
  border-left-color: #3b82f6;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.08), var(--bg-primary));
}

/* Card header */
.conversation-card__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.conversation-card__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.conversation-card__question {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Card body */
.conversation-card__body {
  padding-left: 2.25rem; /* Align with question text */
}

/* Card footer */
.conversation-card__footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  padding-left: 2.25rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================
   YES/NO QUESTION
   ============================================ */

.question-yn {
  margin-bottom: 1rem;
}

.question-yn__options {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.question-yn__option {
  position: relative;
  flex: 0 0 auto;
  cursor: pointer;
  user-select: none;
}

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

.question-yn__label {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background-color: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: all 0.2s ease;
  min-width: 80px;
  text-align: center;
}

.question-yn__option:hover .question-yn__label {
  border-color: #1a56db;
  background-color: var(--bg-tertiary);
}

.question-yn__option--selected .question-yn__label {
  background-color: #1a56db;
  border-color: #1a56db;
  color: #ffffff;
  font-weight: 600;
}

.question-yn__help {
  padding: 0.65rem 1rem;
  background-color: transparent;
  border: 2px dashed #cbd5e0;
  border-radius: 8px;
  color: var(--text-tertiary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.question-yn__help:hover {
  border-color: #1a56db;
  color: #1a56db;
  background-color: #e8f0fe15;
}

.question-yn__hint {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* ============================================
   CONDITIONAL SECTION
   ============================================ */

.conditional-section {
  margin-top: 1.5rem;
}

.conditional-section--animated {
  animation: conditionalSlideDown 0.3s ease-out;
}

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

/* ============================================
   RESULT CARD (Success confirmation)
   ============================================ */

.result-card {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 2px solid var(--success-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.result-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #065f46;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.result-card__amount {
  font-size: 1.8rem;
  font-weight: 700;
  color: #047857;
  margin: 0.5rem 0;
}

.result-card__note {
  font-size: 0.85rem;
  color: #065f46;
  margin: 0.5rem 0 0;
}

.result-card__actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ============================================
   CHECKBOX LIST (Multiple choice)
   ============================================ */

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-list__item {
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  background-color: #f4f5f7;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkbox-list__item:hover {
  border-color: #1a56db;
  background-color: #e8f0fe;
}

.checkbox-list__item--selected {
  background-color: #e8f0fe;
  border-color: #1a56db;
}

.checkbox-list__checkbox {
  margin-right: 0.75rem;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.checkbox-list__label {
  flex: 1;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
}

.checkbox-list__hint {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-left: 2rem;
  margin-top: 0.25rem;
}

/* ============================================
   AMOUNT INPUT (with context)
   ============================================ */

.amount-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.amount-input-group__label {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.amount-input-group__wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.amount-input-group__input {
  flex: 1;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 2px solid #cbd5e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.amount-input-group__input:focus {
  outline: none;
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

.amount-input-group__currency {
  position: absolute;
  right: 1rem;
  font-weight: 600;
  color: var(--text-tertiary);
}

.amount-input-group__limit {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  font-style: italic;
}

/* ============================================
   MOBILE RESPONSIVE - Conversation Components
   ============================================ */

@media (max-width: 640px) {
  .conversation-card {
    padding: 1.25rem;
  }
  
  .conversation-card__body {
    padding-left: 0;
  }
  
  .conversation-card__footer {
    padding-left: 0;
  }
  
  .question-yn__options {
    width: 100%;
  }
  
  .question-yn__label {
    flex: 1;
    min-width: 0;
  }
  
  .result-card__amount {
    font-size: 1.5rem;
  }
  
  .checkbox-list__item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Fix: Make sure label is fully clickable */
.question-yn__label {
  pointer-events: none; /* Let clicks pass through to parent label */
}
