.career-form {
  position: relative;
  max-width: 100%;
  background: #fff7f0;
  overflow: hidden;
}

.career-form__container {
  max-width: 84.4rem;
  margin: 0 auto;
}

.career-form__inner {
  position: relative;
  display: flex;
  padding: 3rem;
  border-radius: 1rem;
  background: #99835e;
  z-index: 2;
  overflow: hidden;
}

.career-form__inner-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  z-index: 0;
  pointer-events: none;
}

.career-form__form-wrapper {
  position: relative;
  width: 43.875rem;
  flex-shrink: 0;
}

.career-form__form-title {
  position: relative;
  color: #fff;
  font-kerning: none;
  font-family: SVN-Optima;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  letter-spacing: -0.1rem;
  margin-bottom: 1.5rem;
}

.career-form__form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.career-form__fields {
  width: 100%;
  z-index: 1;
}

.career-form__field-wrapper {
  width: 100%;
  margin-bottom: 0.75rem;
}

.career-form__field-wrapper:last-child {
  margin-bottom: 0;
}

.career-form__field {
  display: flex;
  align-items: center;
  width: 100%;
  height: 3.5rem;
  padding: 0 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #eee;
  background: #fafaf7;
  transition: border-color 0.3s ease;
}

.career-form__field-label {
  width: 100%;
  display: flex;
  align-items: center;
}

.career-form__field--note {
  align-items: center;
}

.career-form__field-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.career-form__field-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.career-form__field-input {
  margin-left: 0.75rem;
  flex: 1;
  color: #3a3026;
  font-family: SVN-Optima;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  border: none;
  outline: none;
  background: transparent;
  resize: none;
}

.career-form__field-input::placeholder {
  color: #3a3026;
  font-family: "SVN-Optima";
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.career-form__field-input--textarea {
  min-height: auto;
}

.career-form__upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 0.75rem;
  height: 5.5625rem;
  border-radius: 0.75rem;
  border: 1px solid #eee;
  background: #fafaf7;
}

.career-form__upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.career-form__upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.career-form__upload-icon svg {
  width: 100%;
  height: 100%;
}

.career-form__upload-text {
  color: rgba(58, 48, 38, 0.8);
  text-align: center;
  font-family: SVN-Optima;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-top: 0.75rem;
}

.career-form__submit-btn {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 0.5rem 0 1.5rem;
  border-radius: 0.75rem;
  background: #2d6635;
  flex-shrink: 0;
  width: 100%;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.career-form__submit-btn p {
  color: #fff;
  font-family: SVN-Optima;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;
  letter-spacing: -0.03rem;
  text-transform: uppercase;
  text-align: left;
  flex: 1;
}

.career-form__submit-btn span {
  margin-left: 0.75rem;
  position: relative;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform: translateZ(0);
  backface-visibility: hidden;
  overflow: hidden;
  will-change: transform, background;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: #f0fbf2;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hiệu ứng hình tròn nở */
.career-form__submit-btn span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  /* màu khi hover */
  background: #b98951;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.career-form__submit-btn:hover {
  /*box-shadow: 0 4px 35.2px 0 rgba(232, 203, 130, 0.39);*/
}

.career-form__submit-btn:hover span::before {
  width: 4rem;
  height: 4rem;
  background: #7fc828;
  opacity: 1;
}

.career-form__submit-btn:active span {
  transform: scale(0.95);
  transition-duration: 0.1s;
}

/* Icon styling */
.career-form__submit-btn span img {
  position: relative;
  z-index: 1;
  width: 50%;
  height: 50%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Change icon color to white on hover */
.career-form__submit-btn:hover span img {
  filter: brightness(0) invert(1);
}

.career-form__submit-btn span img {
  width: 45%;
  height: 45%;
  object-fit: contain;
  transform: translateX(0.094rem);
}

.career-form__submit-wrapper {
  flex-basis: 100%;
  width: 100%;
  display: flex;
  z-index: 1;
}

.career-form__field-error {
  color: #f14f32;
  font-family: SVN-Optima;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 150%;
  margin-left: auto;
  white-space: nowrap;
  display: none;
}

.career-form__field-error.show {
  display: block;
}

.career-form__info {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  flex: 1;
  padding-top: 0.75rem;
  margin-left: 2.5rem;
  max-width: 27.0625rem;
  height: 24.125rem;
}

.career-form__info-list {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.career-form__info-item {
  display: flex;
  align-items: center;
}

.career-form__info-item {
  margin-bottom: 0.875rem;
}

.career-form__info-item:last-child {
  margin-bottom: 0;
  margin-top: 0.25rem;
}

.career-form__info-item--address {
  display: flex;
  flex-direction: column;
}

.career-form__info-item--address-span {
  display: flex;
}

.career-form__info-item__address {
  display: flex;
}

.career-form__info-item--address a {
  align-self: flex-start;
  margin-top: 0.5rem;
  margin-left: 2.221rem;
  color: #e5e5e5;
  font-family: SVN-Optima;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 500;
  line-height: 120%;

  /* text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font; */
}

.career-form__info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.596rem;
  height: 1.596rem;
  flex-shrink: 0;
}

.career-form__info-icon:last-child {
  width: 1.5rem;
  height: 1.5rem;
}

.career-form__info-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.career-form__info-text {
  margin-left: 0.625rem;
  color: #fff;
  font-kerning: none;
  font-feature-settings: "salt" on;
  font-family: SVN-Optima;
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: -0.02rem;
}

.career-form__socials {
  display: flex;
  flex-direction: column;
  /*   margin-top: 2rem; */
}

.career-form__socials-title {
  color: #f7f9fb;
  font-family: SVN-Optima;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 100%;
  letter-spacing: -0.025rem;
}

.career-form__socials-list {
  margin-top: 1.125rem;
  display: flex;
  align-items: center;
}

.career-form__social {
  display: flex;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.80344rem 0.80406rem 0.75056rem 0.75rem;
  justify-content: center;
  align-items: center;
  border-radius: 0.625rem;
  border: 1px solid rgba(107, 65, 15, 0.25);
  background: #eaeaea;
}

.career-form__social:nth-child(n + 2) {
  margin-left: 0.625rem;
}

.career-form__social-icon {
  width: 0.94594rem;
  height: 0.94594rem;
  flex-shrink: 0;
  object-fit: contain;
}

.career-form__form-decor {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  width: 21.93288rem;
  height: auto;
  flex-shrink: 0;
  pointer-events: none;
  order: 3;
}

.career-form__form-decor img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 639.98px) {
  .career-form {
    padding-top: 2.5rem;
  }

  .career-form__inner {
    margin: 0 1rem;
    flex-direction: column;
    max-width: 100%;
    padding: 0.75rem 0.75rem 10rem;
  }

  .career-form__form-wrapper {
    width: 100%;
  }

  .career-form__form-title {
    text-align: center;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.0275rem;
    margin-bottom: 0.875rem;
  }

  .career-form__field-wrapper {
    margin-bottom: 0.625rem;
  }

  .career-form__field {
    /*height: 2.625rem;*/
    height: auto;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 0.838px solid #eee;
    flex-wrap: wrap;
  }

  .career-form__field-icon {
    width: 1.125rem;
    height: 1.125rem;
  }

  .career-form__field-input {
    margin-left: 0.5rem;
    font-weight: 400;
  }

  .career-form__field-input::placeholder {
    color: #3a3026;
    font-size: 0.75rem;
  }

  .career-form__upload {
    /*height: 5.5125rem;*/
    height: auto;
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
  }

  .career-form__upload-label {
    width: 100%;
    position: static;
    transform: none;
  }

  .career-form__upload-icon {
    width: 1.25rem;
    height: 1.25rem;
  }

  .career-form__upload-text {
    color: #3a3026;
    font-size: 0.75rem;
  }

  .career-form__submit-btn {
    height: 2.625rem;
    padding: 0 0.25rem 0 0.75rem;
    margin-top: 0.875rem;
    border-radius: 0.5rem;
    background: #2d6635;
    box-shadow: 0 3.06px 26.928px 0 rgba(232, 203, 130, 0.39);
  }

  .career-form__submit-btn p {
    font-size: 0.765rem;
    letter-spacing: -0.02294rem;
  }

  .career-form__submit-btn span {
    width: 2.00806rem;
    height: 1.96031rem;
    border-radius: 0.57rem;
    box-shadow: 0 3.06px 9.486px rgba(0, 0, 0, 0.25);
  }

  /* Form Validation Styles */
  .career-form__field-error {
    font-size: 0.625rem;
    margin-left: 0;
    margin-top: 0.375rem;
  }

  .career-form__info {
    padding-top: 0;
    margin-top: 1.75rem;
    margin-left: 0;
    max-width: 100%;
    height: 14.25rem;
  }

  .career-form__info-list {
    margin-bottom: 1.5rem;
  }

  .career-form__info-item {
    margin-bottom: 0.75rem;
  }

  .career-form__info-item:last-child {
    margin-top: 0;
  }

  .career-form__info-item--address a {
    margin-left: 1.75rem;
    font-size: 0.625rem;
    line-height: 120%;
  }

  .career-form__info-icon {
    width: 1.125rem;
    height: 1.125rem;
  }

  .career-form__info-icon:last-child {
    width: 1.125rem;
    height: 1.125rem;
  }

  .career-form__info-text {
    font-size: 0.75rem;
    line-height: 120%;
    letter-spacing: -0.015rem;
  }

  .career-form__socials-title {
    font-size: 0.875rem;
    line-height: 100%;
    letter-spacing: -0.0175rem;
  }

  .career-form__socials-list {
    margin-top: 0.875rem;
  }

  .career-form__social {
    width: 1.75rem;
    height: 1.75rem;
    padding: 0.56238rem 0.56288rem 0.52544rem 0.52494rem;
  }

  .career-form__social:not(:first-child) {
    margin-left: 0.5rem;
  }

  .career-form__social-icon {
    width: 0.66219rem;
    height: 0.66219rem;
  }

  .career-form__form-decor {
    width: 17.40788rem;
  }
}
