.employment-search {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 1.5rem;
  background: #ffffff;
}

.employment-search__form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  align-items: end;
}

.employment-search__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.employment-search__label {
  font-weight: 600;
}

.employment-search__input,
.employment-search__select,
.employment-search__button {
  min-height: 40px;
}

.employment-search__input,
.employment-search__select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  background: #ffffff;
}

.employment-search__button {
  border: 0;
  border-radius: 4px;
  padding: 0.65rem 0.95rem;
  background: #bf1e2d;
  color: #ffffff;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.employment-search__button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.employment-search__button--secondary {
  background: #bf1e2d;
  color: #ffffff;
}

.employment-search__status {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: #4f4f4f;
}

.employment-search__results {
  margin-top: 1rem;
}

.employment-search__results-list {
  display: grid;
  gap: 1rem;
}

.employment-search__result {
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  padding: 1rem;
  background: #fafafa;
}

.employment-search__result-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.3;
}

.employment-search__result-title a {
  color: #1f1f1f;
  text-decoration: none;
}

.employment-search__result-location,
.employment-search__result-link-wrap,
.employment-search__empty-state p,
.employment-search__error-state p {
  margin: 0;
}

.employment-search__result-link-wrap {
  margin-top: 0.75rem;
}

.employment-search__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.employment-search__result-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.55rem 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
}

.employment-search__result-button--primary {
  background: #bf1e2d;
  color: #ffffff;
  border: 0;
}

.employment-search__result-button--secondary {
  background: #bf1e2d;
  color: #ffffff;
  border: 0;
}

.employment-search__result-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e3e3e3;
}

.employment-search__empty-state,
.employment-search__error-state {
  padding: 1rem;
  border-radius: 6px;
  background: #f6f6f6;
}

.employment-search__error-state {
  background: #fff0f0;
}

.employment-position-details {
  margin-top: 1rem;
}

.employment-position-details__actions {
  margin-bottom: 1rem;
}

.employment-position-details__back-link {
  display: inline-flex;
}

.employment-application-form {
  margin-top: 1.5rem;
}

.employment-application-form__title {
  margin: 0 0 1rem;
}

.employment-application-form__form {
  display: grid;
  gap: 1rem;
}

.employment-application-form__section {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  background: #fafafa;
}

.employment-application-form__section-title {
  margin: 0;
}

.employment-application-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.employment-application-form__field input,
.employment-application-form__field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  background: #ffffff;
}

.employment-application-form__actions {
  margin-top: 0.5rem;
}

.employment-application-form__button {
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 4px;
  background: #bf1e2d;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

.employment-application-form__button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.employment-application-form__description {
  margin: 0;
  color: #5c5c5c;
  font-size: 0.92rem;
}

.employment-application-form__notice {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 6px;
}

.employment-application-form__notice--success {
  background: #eefaf0;
}

.employment-application-form__notice--error {
  background: #fff0f0;
}
