body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #0a0f0d;
  margin: 0;
  padding: 20px;
  line-height: 1.6;
}

.container {
  max-width: 650px;
  margin: 0 auto;
  padding: 30px;
  background-color: #1a1f1a;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2a3a2a;
}

h1 {
  text-align: center;
  color: #4ade80;
  margin-bottom: 10px;
  font-size: 28px;
}

p {
  text-align: center;
  color: #9ca3af;
  margin-bottom: 30px;
  font-size: 16px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

label {
  font-weight: 600;
  margin-bottom: 5px;
  color: #d1d5db;
}

input, select, textarea {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #2a3a2a;
  border-radius: 8px;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: inherit;
  background-color: #2a2f2a;
  color: #e5e5e5;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}

input::placeholder, textarea::placeholder {
  color: #6b7280;
}

input[type="radio"], input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  transform: scale(1.05);
  accent-color: #4ade80;
}

fieldset {
  border: 1px solid #2a3a2a;
  border-radius: 8px;
  padding: 15px;
  margin: 5px 0;
  background-color: #1a1f1a;
}

legend {
  font-weight: 600;
  padding: 0 10px;
  color: #4ade80;
}

fieldset label {
  font-weight: normal;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  color: #d1d5db;
}

fieldset label:last-child {
  margin-bottom: 0;
}

fieldset label:hover {
  color: #4ade80;
}

button {
  padding: 14px;
  font-size: 18px;
  font-weight: 600;
  background-color: #22c55e;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  margin-top: 10px;
}

button:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
}

button:active {
  transform: translateY(0);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* Responsive Design */
@media (max-width: 600px) {
  .container {
    padding: 20px;
    margin: 10px;
  }
  
  h1 {
    font-size: 24px;
  }
  
  input, select, textarea, button {
    font-size: 14px;
  }
  
  fieldset {
    padding: 12px;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1f1a;
}

::-webkit-scrollbar-thumb {
  background: #22c55e;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #16a34a;
}