.form-container {
  max-width: 1100px;
  margin: 1rem auto;
  padding: 0 0.5rem;
}

.separator {
  margin: 0 0.5rem;
  color: #ccc;
}

.simple-btn {
  background: none;
  border: none;
  color: #666;
  text-decoration: none;
  font-size: 0.8rem;
  cursor: pointer;
  margin-top: 0.5rem;
}
.simple-btn:hover {
  color: var(--primary-accent);
  text-decoration: underline;
}

.form-step {
  background: var(--background-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.2rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--primary-accent);
  padding-bottom: 0.3rem;
}

.form-group {
  margin-bottom: 0.7rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
  font-size: 0.97rem;
}
.extra-h3-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--primary-accent);
  padding-bottom: 0.3rem;
}

.form-group .hint {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 0.2rem;
}

.form-group input[type="text"],
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  line-height: 1.3;
  background-color: var(--background-light);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(0, 90, 91, 0.1);
}

.form-group textarea {
  min-height: 80px;
  resize: vertical;
}

.form-group textarea.large {
  min-height: 100px;
}

.form-actions {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 5px;
  margin: 1.2rem 0;
  padding: 1rem;
  background: var(--background-off-white);
  border-radius: 8px;
}

.custom-alert-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

button.btn-primary {
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-primary {
  background-color: var(--primary-accent);
  color: var(--background-light);
  padding: 1rem 2rem;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  margin: 0 0.5rem;
}

.btn-primary:hover {
  background-color: #004748;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-accent);
  border: 1px solid var(--primary-accent);
  padding: 1rem 2rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
}

.btn-secondary:hover {
  background-color: var(--primary-accent);
  color: var(--background-light);
}

.progress-indicator {
  background: var(--background-off-white);
  padding: 0.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: var(--primary-accent);
  width: 0%;
  transition: width 0.3s ease;
}

.step-counter {
  font-weight: 600;
  color: var(--primary-dark);
}

.required {
  color: #e74c3c;
}

.error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.error-message {
  color: #e74c3c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .form-step {
    padding: 0.7rem 0.5rem;
  }

  .form-actions {
    padding: 0.7rem;
  }

  .btn-primary,
  .btn-secondary {
    display: block;
    margin: 0.3rem auto;
    width: 100%;
    max-width: 300px;
  }
}
.extra-fields {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
  align-items: flex-end;
}
.intro {
  margin-bottom: 1rem;
  background-color: var(--background-off-white);
  border: 1px solid var(--border-color);
  padding: 0.7rem 1rem;
  border-radius: 6px;
  text-indent: 1.2rem;
}
.intro p {
  margin-bottom: 0.4rem;
  text-indent: 1.2rem;
}

/* Info Button */
.info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  background-color: var(--primary-accent);
  color: white;
  border-radius: 50%;
  border: none;
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-weight: bold;
  font-size: 0.9rem;
  margin-left: 0.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition:
    opacity 0.2s,
    transform 0.2s;
  vertical-align: middle;
}
.info-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Modal Styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
}

.modal-content {
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  animation: fadeIn 0.3s ease;
}

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

.modal-header {
  background: var(--primary-accent);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.close-modal {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
}
.close-modal:hover {
  opacity: 1;
}

.modal-body {
  padding: 1.5rem;
  color: var(--text-color);
}

.help-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.help-list li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.3rem;
}

.modal-example {
  background: #f4f4f4;
  padding: 1rem;
  border-radius: 4px;
  border-left: 3px solid var(--primary-accent);
  margin-top: 1rem;
}

.modal-example p {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.modal-example code {
  font-family: monospace;
  font-size: 0.85rem;
  color: #333;
  display: block;
  line-height: 1.4;
}
