#job-application-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.application-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin-top: 50px;
  padding: 20px;
}
.application-form label {
  color: white !important;
}
.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
label {
  margin-bottom: 5px;
}
.required::after {
  content: " *";
  color: red;
}
input, select, textarea {
  background: #333;
  color: white;
  border: 1px solid gray;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: white;
}
.hidden {
  display: none;
}
.error {
  border: 2px solid red;
}
button {
  background-color: white;
  color: black;
  padding: 10px;
  border: none;
  cursor: pointer;
  width: 100%;
  font-size: 18px;
  border-radius: 5px;
}
@media (max-width: 600px) {
  .application-form {
    width: 90%;
  }
}


/* Spinner inside button */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 2px solid #fff;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Optional: style the disabled button */
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
