.container {
  max-width: 600px;
  margin: 60px auto; 
  padding: 30px;
  background-color: #1a1a1a; 
  border-radius: 12px;
  box-sizing: border-box;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: #9995ef; 
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.required::after { content: " *"; color: #ff5252; font-weight: bold; }
.optional-label { font-size: 0.8em; color: #888; margin-left: 8px; }

input[type="text"],
input[type="email"],
select,
textarea,
.input-field {
  width: 100%;
  padding: 14px;
  background-color: #2a2a2a;
  border: 1px solid #333;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

textarea {
  resize: none;
  min-height: 150px;
  display: block;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #9995ef;
  background-color: #2f2f2f;
}

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239995ef' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

#submitBtn {
  width: 100%;
  padding: 16px;
  background-color: #9995ef;
  color: #000;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

#submitBtn:hover {
  background-color: #b1adff;
  transform: translateY(-2px);
}

#submitBtn:disabled {
  background-color: #444;
  color: #888;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 480px) {
  .container {
    margin: 30px 15px;
    padding: 20px;
  }
  h1 { font-size: 1.5rem; }
}

#status {
  margin: 10px 0;
  padding: 10px;
  border-radius: 4px;
  font-weight: bold;
  min-height: 1.5em;
  text-align: center;
  font-size: 0.95rem;
}

.thanks-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 40px 30px;
    background-color: #1a1a1a;
    border-radius: 12px;
    text-align: center;
    box-sizing: border-box;
}

.thanks-container h1 {
    color: #9995ef;
    margin-bottom: 20px;
}

.thanks-container p {
    line-height: 1.8;
    margin-bottom: 40px;
}

@media (max-width: 480px) {
    .thanks-container {
        margin: 60px 15px;
        padding: 30px 20px;
    }
}