    * {
      box-sizing: border-box;
    }
    body {
      font-family: 'Segoe UI', sans-serif;
      margin: 0;
      background-color: #f5f5f7;
      height: 100vh;             /* Full viewport height */
      overflow-y: scroll;        /* Always show vertical scroll */
      overflow-x: hidden;        /* Hide horizontal scroll (optional) */
    }
    .container {
      display: flex;
      flex-direction: row;
      min-height: 100vh;
    }
    .sidebar {
      width: 260px;
      background: #ffffff;
      padding: 40px 20px;
      border-right: 1px solid #ddd;
    }
    .steps {
      list-style: none;
      padding: 0;
    }
    .steps li {
      margin-bottom: 20px;
      color: #999;
      font-size: 16px;
      display: flex;
      align-items: center;
    }
    .steps li.active {
      color: #172982;
      font-weight: 600;
    }
    .steps li::before {
      content: "\25CF";
      color: #ccc;
      margin-right: 10px;
    }
    .steps li.active::before {
      color: #172982;
    }
    .content {
      flex: 1;
      padding: 40px;
      background: #fff;
    }
    h2 {
      font-size: 26px;
      color: #172982;
      margin-bottom: 30px;
    }
    .form-section {
      display: none;
      flex-direction: column;
      gap: 20px;
    }
    .form-section.active {
      display: flex;
    }
    .form-group {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
    }
    .form-field {
      flex: 1 1 300px;
      display: flex;
      flex-direction: column;
    }
    .form-field label {
      font-weight: 600;
      margin-bottom: 6px;
    }
    .form-field input,
    .form-field select {
      padding: 10px;
      font-size: 16px;
      border-radius: 6px;
      border: 1px solid #ccc;
    }
    .btn-container {
      display: flex;
      gap: 10px;
      margin-top: 20px;
    }
    .btn {
      background-color: #3b55e6;
      color: white;
      padding: 10px 25px;
      border: none;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
    }
    .btn:hover {
      background-color: #293ab2;
    }

    /* Base style for form labels and inputs */
label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

/* Container for consistent spacing */
.select-container {
  width: 300px;
  position: relative;
  font-family: 'Segoe UI', sans-serif;
}

/* Styling the <select> element */
.select-container select {
  width: 100%;
  padding: 10px 35px 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: white;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

/* Overlay background */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Spinner */
.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body.loading {
  overflow: hidden; /* disable scroll while loading */
}


/* Arrow icon using pseudo-element */
.select-container::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #666;
  transform: translateY(-50%);
}

textarea {
  width: 100%;
  padding: 8px;
  font-size: 1rem;
  resize: vertical; /* or none, both, horizontal */
  border-color: #999;
  border-radius: 6px;
}

