.form-container {
  padding: 10px;
  border: 1px solid #ffe4c4;
  width: 100%;
  max-width: 500px;
  margin-top: 10px;
  color: rgb(63, 62, 62);
}

.form-container h2 {  
text-align: center;
margin-bottom: 8px;
}
.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
}

.form-group span {
  color: red;
  font-weight: 400;
}

.form-group .optional {
  color: blueviolet;
  font-weight: 400;
}

label {
  font-size: 12px;
  font-weight: 600;
  color: rgb(5, 43, 126);
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea,
select {
  width: 80%;
  padding: 12px 16px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 12px;
  color: #031b4e;
  background-color: rgb(220, 247, 220);
  transition: all 0.4s ease;
  outline: none;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #007bff;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

#result {
  padding: 12px;
  margin: 0.2rem;
  border-radius: 4px;
  text-align: center;
}

#result.sending {
  background-color: #dcf7dc;
  color: #7b1bd5;
}

#result.success {
  background-color: #d4edda;
  color: #1b7e32;
}

#result.error {
  background-color: #f8d7da;
  color: #f05363;
}

.h-captcha {
  margin:  0 2rem;
}

/* Submit Button */
.submit-button {
  text-align: center;
  width: auto;
  padding: 0.8rem 2rem;
  margin:  0.2rem 2rem;
  color: white;  
  background-color: #0056b3;
  border: 2px solid gray;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.26);
}

.submit-button:hover {
  color: #0000ff;  
  background-color: #ffe4c4;
  box-shadow: 5px 6px 8px rgba(0, 0, 0, 0.26);
}

.submit-button:active {
    background-color: #004085;
}

.submit-box {
  display: flex;
  justify-content: center;
}

.submit-box a {
  text-decoration: none;
}

