:root {
    /* 
      Updated to a subtle but noticeable yellow theme.
      Adjust as you see fit (lightening background, etc.)
    */
    --primary-color: #EDE34B;       /* main accent color */
    --background-color: #fdfcea;   /* subtle background hint */
    --text-color: #1e293b;
    --border-color: #e2e8f0;
    --hover-background: #fefdc2;   /* slightly lighter shade on hover */
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    background: var(--background-color);
    color: var(--text-color);
    padding: 20px;
  }
  
  .container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .step {
    display: none;
  }
  
  .step.active {
    display: block;
  }
  
  .options {
    display: grid;
    gap: 1rem;
    margin: 1.5rem 0;
  }
  
  .option {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .option:hover {
    border-color: var(--primary-color);
    background: var(--hover-background);
  }
  
  .option.selected {
    border-color: var(--primary-color);
    background: var(--hover-background);
  }
  
  .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
  }
  
  button {
    background: var(--primary-color);
    color: black; /* Better contrast with yellow than white */
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
  }
  
  button:disabled {
    background: #ccc;
    cursor: not-allowed;
  }
  
  button.back {
    background: var(--border-color);
    color: var(--text-color);
  }
  
  .progress {
    height: 4px;
    background: var(--border-color);
    margin-bottom: 2rem;
    border-radius: 2px;
  }
  
  .progress-bar {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s;
  }
  
  .result {
    text-align: center;
    padding: 2rem;
    background: var(--background-color);
    border-radius: 8px;
    margin-top: 2rem;
  }
  
  .result h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
  }
  
  h2 {
    margin-bottom: 1rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
  }
  
  .error {
    color: #FF474D;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none; /* Errors are hidden by default */
  }
  
  .step .error {
    margin-top: 1rem;
  }
  
  /* Footer styling */
  footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Modal overlay */
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  
  /* Modal content */
  .modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
  }
  
  .modal-content .flarion-logo {
    max-height: 50px;
    margin-bottom: 1rem;
  }
  
  .modal-title {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .modal-subtitle {
    margin-top: 0.25rem;
    font-size: 1rem;
    color: #555;
  }
  
  .modal-body {
    text-align: left;
    margin-top: 1rem;
  }
  
  .modal-body .error-message {
    background-color: #ffe5e6;
    border: 1px solid #ff474d;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
  }
  
  .modal-footer {
    text-align: right;
    margin-top: 1rem;
  }
  
  .close-modal {
    background: var(--border-color);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
  }
  
  .logo-header {
    text-align: center;
    margin-bottom: 30px;
}

.flarion-logo {
    width: 5vw;
    height: 5vw;
    object-fit: contain;
}

.main-title {
    margin: 20px 0 10px;
    color: var(--text-color);
}

.main-subtitle {
    margin: 0 0 30px;
    color: #666;
    font-weight: normal;
}

.text-input {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 6px;
  width: 100%;
  margin: 1.5rem 0;
  transition: all 0.2s;
}
  