@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

:root {
  --color-bg-black: #000;
  --color-bg-black-secondary: #28282a;
  --color-gray: #454545;
  --color-gray-light: #c8c8c8;
  --color-bg-orange: #ff5f00;
  --color-bg-orange-dark: #c52e00;
  --color-white: #fff;
}

.bg-form-hire {
  background: rgb(226, 64, 15);
  background: linear-gradient(
    90deg,
    rgba(226, 64, 15, 1) 35%,
    rgba(255, 121, 80, 1) 100%
  );
  padding: 36px;
  border-radius: 20px;
  -webkit-box-shadow: 7px 10px 25px -7px rgba(197, 46, 0, 0.86);
  -moz-box-shadow: 7px 10px 25px -7px rgba(197, 46, 0, 0.86);
  box-shadow: 7px 10px 25px -7px rgba(197, 46, 0, 0.86);
  animation: modal-slide-in 0.3s ease;
}

/* animação de troca de formulário */

@keyframes modal-slide-in {
  0% {
    transform: translateX(100%);
    filter: blur(8px);
    opacity: 0;
  }
  50% {
    filter: blur(5px);
  }
  100% {
    transform: translateX(0);
    filter: blur(0);
    opacity: 1;
  }
}

.form-title {
  text-transform: uppercase;
  color: var(--color-white);
}

.apply-title {
  text-transform: uppercase;
  color: var(--color-bg-orange);
}

.form-subtitle {
  color: var(--color-gray);
}

.form-hire-text {
  color: #fff;
}

.form-btn {
  color: var(--color-bg-orange-dark) !important;
  background: #fff !important;
  font-weight: 700;
  border: 3px solid var(--color-bg-orange-dark) !important;
  cursor: pointer;
  transition: 0.3s ease;
}
.form-btn:before,
.form-btn:hover {
  background: var(--color-bg-orange-dark) !important;
  color: #fff !important;
  transform: scale(1.1);
}

.input-hire {
  background: var(--color-bg-orange-dark);
  border: none;
  color: #fff !important;
}
.input-hire:focus {
  background: var(--color-bg-orange-dark);
  border: none;
  box-shadow: 0 0 0 0.2rem rgb(108 5 0 / 25%);
}

.input-hire::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.form-group input::placeholder {
  color: #ffefefb5;
}

.agreement-select {
  color: #fff;
  background: var(--color-bg-orange-dark) !important;
  border: var(--color-bg-orange-dark) !important;
  border-color: var(--color-bg-orange-dark) !important;
}
.agreement-select:focus {
  background: var(--color-bg-orange-dark);
  border: none;
  box-shadow: 0 0 0 0.2rem rgb(108 5 0 / 25%);
}

.error {
  color: red;
}
.hidden {
  display: none;
}

.back-btn:hover,
.back-btn:before {
  transform: scale(1.1);
  transition: 0.3s ease;
}

.form-alert {
  margin-bottom: 0;
  margin-top: 40px;
  color: #ffd600;
}

.form-detail {
  content: "";
  position: absolute;
  z-index: -1;
  max-width: 800px;
  width: 100%;
  border-radius: 20px;
  border: 2px solid var(--color-bg-orange-dark);
  left: 30px;
  top: 5px;
  animation-name: detail-animation;
  animation-duration: 10s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.form-detail-1 {
  height: 228px;
  max-width: 720px;
}
.form-detail-2 {
  height: 400px;
}

.form-detail-3 {
  height: 435px;
}

@media screen and (max-width: 425px) {
  .form-detail-1 {
    height: 267px;
    max-width: 359px;
  }

  .form-detail-2 {
    height: 340px;
    max-width: 320px;
  }
  .form-detail-3 {
    height: 380px;
    max-width: 320px;
  }
}
@media screen and (max-width: 375px) {
  .form-detail-1 {
    display: none;
  }

  .form-detail-2 {
    display: none;
  }
  .form-detail-3 {
    display: none;
  }
}

@keyframes detail-animation {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(20px, -20px);
  }
  75% {
    transform: translate(15px, 15px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.partner-title {
  font-size: 40px;
  text-align: center;
  color: var(--color-bg-orange);
}

@media screen and (max-width: 425px) {
  .bg-form-hire {
    padding: 16px;
  }

  .form-row {
    display: flex;
    flex-direction: column !important;
    gap: 8px;
  }
  .form-hire-title {
    font-size: 1.5rem;
  }

  #nextBtn {
    padding: 9px 30px;
  }
  #backBtn {
    padding: 9px 30px;
  }

  .form-detail-2 {
    height: 340px;
    max-width: 320px;
  }
}

/* formulário de envio de curriculo - form-apply */

.form-apply {
  display: flex;
  justify-content: center;
}
.upload-files-container {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex-direction: column;
}
.drag-file-area {
  border: 2px dashed var(--color-bg-orange);
  border-radius: 20px;
  margin: 10px 0 15px;
  padding: 8px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.drag-file-area .upload-icon {
  font-size: 50px;
  color: var(--color-bg-orange);
}
.drag-file-area h3 {
  font-size: 26px;
  margin: 15px 0;
}
.drag-file-area label {
  font-size: 19px;
}
.drag-file-area label .browse-files-text {
  color: var(--color-bg-orange);
  font-weight: bolder;
  cursor: pointer;
}

.browse-files-text-span {
  color: var(--color-gray-light);
}

.dynamic-message {
  color: var(--color-gray);
}

.label {
  color: #cdcdcd;
}

.browse-files span {
  position: relative;
  top: -25px;
}
.default-file-input {
  opacity: 0;
}
.cannot-upload-message {
  background-color: #ffc6c4;
  font-size: 17px;
  display: flex;
  align-items: center;
  margin: 5px 0;
  padding: 5px 10px 5px 30px;
  border-radius: 5px;
  color: #bb0000;
  display: none;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.cannot-upload-message span,
.upload-button-icon {
  padding-right: 10px;
}
.cannot-upload-message span:last-child {
  padding-left: 20px;
  cursor: pointer;
}
.file-block {
  color: #f7fff7;
  background-color: var(--color-bg-orange);
  transition: all 1s;
  max-width: 390px;
  width: 100%;
  position: relative;
  display: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0 15px;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
}
.file-info {
  display: flex;
  align-items: center;
  font-size: 14px;
}
.file-icon {
  margin-right: 10px;
}
.file-name,
.file-size {
  padding: 0 3px;
}
.remove-file-icon {
  cursor: pointer;
}
.progress-bar {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 4.5%;
  max-width: 360px;
  width: 0;
  height: 5px;
  border-radius: 25px;
  background-color: #4bb543;
}
.upload-button {
  background-color: var(--color-bg-orange);
  color: #f7fff7;
  display: flex;
  align-items: center;
  font-size: 18px;
  border: none;
  border-radius: 30px;
  margin: 10px;
  padding: 7.5px 50px;
  cursor: pointer;
  transition: 0.6s ease;
}
.upload-button:hover {
  transform: scale(1.1);
}
