:root {
  --primary-blue: #007BFF;
  --primary-dark-blue: #0056b3;
  --primary-yellow: #FFC107;
  --primary-dark-yellow: #e0a800;
  --light: #f8f9fa;
  --dark: #343a40;
  --gray: #6c757d;
  --success: #28a745;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f1f5f9;
  color: var(--dark);
  line-height: 1.6;
  padding: 20px;
}

.form-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h1 {
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--gray);
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.required::after {
  content: " *";
  color: var(--primary-yellow);
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.option-card {
  border: 1px solid #ced4da;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.option-card:hover {
  border-color: var(--primary-blue);
}

.option-card.selected {
  border-color: var(--primary-blue);
  background-color: rgba(0, 123, 255, 0.05);
}

.btn-submit {
  background: var(--primary-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: var(--primary-dark-blue);
}

.success-message {
  text-align: center;
  padding: 2rem;
  display: none;
}

.success-icon {
  color: var(--primary-yellow);
  font-size: 3rem;
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .form-container {
    padding: 1.5rem;
  }
  
  .option-grid {
    grid-template-columns: 1fr;
  }
}