:root {
  --primary-color: #006d5b;
  --input-border: #ccc;
  --card-bg: #fff;
  --card-radius: 12px;
  --card-shadow: rgba(0, 0, 0, 0.1);
}

.form-card {
  max-width: 600px;
  margin: 2rem auto;
  background: var(--card-bg);
  padding: 2rem;
  border-radius: var(--card-radius);
  box-shadow: 0 4px 12px 0 var(--card-shadow);
}

.form-card h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.application-form .form-group {
  margin-bottom: 1.25rem;
}

.application-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.application-form input,
.application-form textarea,
.application-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px dashed var(--input-border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.application-form input:focus,
.application-form textarea:focus,
.application-form select:focus {
  border-color: var(--primary-color);
}

.phone-group .phone-inputs {
  display: flex;
  gap: 0.5rem;
}

.phone-group select {
  flex: 1;
}

.phone-group input {
  flex: 3;
}

.submit-group {
  text-align: center;
  margin-top: 1.5rem;
}

.submit-group button {
  background: var(--primary-color);
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.submit-group button:hover {
  background: #005047;
}

.submit-group .cancel-button {
  background: #fff;
  color: #333;
  margin-left: 1rem;
  border: 2px solid var(--primary-color);
}

/* Success message styles */
#successMessage p {
  font-size: 1rem;
  margin: 1rem 0;
  color: #333;
}

#successMessage .action-link {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
}

#successMessage .action-link:hover {
  background: #005047;
}
