.explanation {
  width: fit-content;
  margin-inline: auto;
  background-color: #f0f0f0;
  padding: 1.5rem 1rem;
  font-size: 0.875rem;
  @media (min-width: 48rem) {
    width: 45rem;
  }
}

.job-info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.75rem;
  width: 100%;
  gap: 1rem;
  @media (min-width: 48rem) {
    flex-direction: row;
    gap: 0;
  }
}

.job-title {
  text-align: center;
  margin-bottom: 0.75rem;
  text-align: left;
}

.job-card {
  background: linear-gradient(
    180deg,
    rgba(177, 225, 209, 1) 0%,
    rgba(255, 255, 255, 1) 2%
  );
  width: fit-content;
  margin-inline: auto;
  border: 0.0625rem solid #ccc;
  padding: 0.75rem 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  @media (min-width: 48rem) {
    width: 45rem;
  }
}

.job-info {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  align-items: stretch;
  gap: 0.5rem;
}

.job-dt {
  background-color: #e1f5ee;
  font-weight: bold;
  width: 23%;
  text-align: center;
  padding: 0.75rem 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.job-dd {
  width: 71%;
  padding: 0.375rem 0;
  display: flex;
  align-items: center;
}

.deadline {
  color: #ff8989;
  text-align: right;
}

.job-apply-button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #51b996;
  text-decoration: none;
  width: 11rem;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  border-radius: 0.5rem;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  border: 0.0625rem solid #51b996;
  margin-inline: auto;
  &:hover {
    background-color: #e1f5ee;
    color: #51b996;
  }
}

.description {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.pagination-li {
  border: 0.0625rem solid #ccc;
}

.page-link {
  display: block;
  width: 2rem;
  padding: 0.375rem 0;
  text-align: center;
  font-weight: bold;
}

.page-current {
  background-color: #ccc;
  color: #fff;
  font-weight: normal;
}

.page-prev,
.page-next {
  padding: 0.375rem 0.75rem;
}

.job-count {
  text-align: center;
  margin-inline: auto;
  margin-bottom: 2.25rem;
  font-weight: bold;
  width: 10rem;
  border-bottom: 0.125rem solid #333;
  position: relative;
  &:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 1rem 1rem 0 1rem;
    border-color: #000000 transparent transparent;
    translate: -50% 100%;
  }
  &:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 0.875rem 0.875rem 0 0.875rem;
    border-color: #fff transparent transparent;
    translate: -50% 100%;
  }
}

.job-active-number {
  color: #ff8989;
  font-size: 2rem;
}

.job-header-area {
  width: 98%;
  margin-inline: auto;
  background-color: #eff9f5;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  @media (min-width: 48rem) {
    width: 45rem;
    flex-direction: row;
    gap: 4.25rem;
    padding: 1.5rem 1rem 0;
  }
  margin-bottom: 1rem;
}

.job-header-area-right {
  @media (min-width: 48rem) {
    order: 2;
    width: 25rem;
  }
}

.job-header-area-left {
  text-align: center;
  @media (min-width: 48rem) {
    order: 1;
    text-align: left;
  }
}

.job-header-area-subheading {
  color: #51b996;
}

.job-header-area-heading {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.form-area {
  width: fit-content;
  margin-inline: auto;
  background-color: #eff9f5;
  padding: 3rem 0.5rem;
  @media (min-width: 48rem) {
    width: 45rem;
    padding: 3rem 1rem;
  }
}

.applicant-dl {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 95%;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  align-items: center;
  @media (min-width: 48rem) {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1%;
    width: 85%;
  }
}

.applicant-dt {
  width: 100%;
  margin-bottom: 0.375rem;
  @media (min-width: 48rem) {
    width: 25%;
    text-align: right;
  }
}

.applicant-dd {
  width: 100%;
  margin-bottom: 0.375rem;
  @media (min-width: 48rem) {
    width: 74%;
  }
}

.applicant-input {
  width: 95%;
  padding: 0.375rem 0.25rem;
  border: 0.0625rem solid #ccc;
  border-radius: 0.375rem;
  font-size: 1rem;
  @media (min-width: 48rem) {
    width: 100%;
  }
}

.applicant-textarea {
  width: 95%;
  height: 10rem;
  padding: 0.375rem 0.25rem;
  border: 0.0625rem solid #ccc;
  border-radius: 0.375rem;
  @media (min-width: 48rem) {
    width: 100%;
  }
}

span[data-error] {
  color: #ff8989;
  font-size: 0.875rem;
  display: block;
}
