/* =========================================================
   APPLY PAGE
========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: #ffffff;
  color: #111111;
  font-family: Arial, Helvetica, sans-serif;
}

.application-page {
  width: 100%;
}

/* =========================================================
   MAIN CONTAINER
========================================================= */

.application-container {
  width: min(1010px, 92%);

  margin: 0 auto;

  padding: 10px 0 45px;
}

.application-container > h1 {
  margin: 0;

  color: #222222;

  font-size: 42px;
  font-weight: 400;

  line-height: 1.2;
}

.application-divider {
  width: 100%;
  height: 2px;

  margin: 25px 0 30px;

  background: #111111;
}

/* =========================================================
   FORM
========================================================= */

.job-application-form {
  width: 100%;
}

/* =========================================================
   GRIDS
========================================================= */

.form-grid {
  width: 100%;

  display: grid;

  gap: 22px 27px;

  margin-bottom: 26px;
}

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* =========================================================
   FORM GROUP
========================================================= */

.form-group {
  min-width: 0;
}

.full-width {
  width: 100%;

  margin-bottom: 26px;
}

/* =========================================================
   LABEL
========================================================= */

.form-group label,
.file-field label {
  display: block;

  margin-bottom: 6px;

  color: #222222;

  font-size: 11px;
  font-weight: 500;

  line-height: 1.2;
}

/* =========================================================
   INPUTS
========================================================= */

.form-group input,
.form-group select {
  display: block;

  width: 100%;
  height: 40px;

  padding: 0 10px;

  border: 1px solid #111111;
  border-radius: 3px;

  background: #ffffff;

  color: #111111;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;

  outline: none;
}

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

.form-group input:focus,
.form-group select:focus {
  border-color: #0879d1;
}

/* =========================================================
   FILE INPUT
========================================================= */

.file-field {
  margin-bottom: 28px;
}

.file-field input[type="file"] {
  display: block;

  width: auto;

  color: #333333;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.file-field input[type="file"]::file-selector-button {
  height: 36px;

  margin-right: 10px;

  padding: 0 14px;

  border: 0;

  background: #ff0000;
  color: #ffffff;

  cursor: pointer;

  font-size: 12px;
  font-weight: 600;
}

.file-field input[type="file"]::file-selector-button:hover {
  background: #d90000;
}

/* =========================================================
   SECTION TITLES
========================================================= */

.form-section-title {
  margin: 38px 0 28px;

  color: #222222;

  font-size: 18px;
  font-weight: 700;

  line-height: 1.2;
}

/* =========================================================
   REFERENCE
========================================================= */

.reference-title {
  margin: 35px 0 30px;

  color: #075dcc;

  text-align: center;

  font-size: 22px;
  font-weight: 700;
}

.reference-warning {
  margin: 0 0 48px;

  color: #ff0000;

  font-size: 14px;
  font-weight: 700;
}

/* =========================================================
   PAYMENT
========================================================= */

.payment-title {
  margin: 38px 0 25px;

  color: #0000ff;

  text-align: center;

  font-size: 14px;
  font-weight: 700;
}

.payment-qr {
  width: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  margin: 0 0 35px;
}

.payment-qr img {
  display: block;

  width: 270px;
  height: auto;

  object-fit: contain;
}

.payment-note {
  margin: 10px 0 35px;

  color: #ff0000;

  font-size: 14px;
  font-weight: 700;
}

/* =========================================================
   RESUME
========================================================= */

.resume-upload {
  margin-top: 35px;
}

/* =========================================================
   SUBMIT
========================================================= */

.submit-wrapper {
  margin-top: 20px;
}

.submit-button {
  width: 90px;
  height: 36px;

  padding: 0;

  border: 0;

  background: #ff0000;
  color: #ffffff;

  font-family: Arial, Helvetica, sans-serif;

  font-size: 13px;
  font-weight: 600;

  cursor: pointer;
}

.submit-button:hover {
  background: #d90000;
}

/* =========================================================
   BOTTOM NAVIGATION
========================================================= */

.application-bottom-nav {
  width: 100%;

  margin-top: 38px;

  display: flex;

  align-items: flex-end;
  justify-content: space-between;
}

.application-bottom-nav > div {
  display: flex;

  flex-direction: column;

  align-items: flex-start;

  gap: 8px;
}

.application-bottom-nav span {
  color: #333333;

  font-size: 11px;
}

.application-bottom-nav a {
  display: flex;

  align-items: center;
  justify-content: center;

  min-width: 168px;
  height: 38px;

  padding: 0 15px;

  background: #0870e8;
  color: #ffffff;

  border: 2px solid #000000;
  border-radius: 11px;

  text-decoration: none;

  font-size: 13px;
  font-weight: 700;
}

.application-bottom-nav a:hover {
  background: #0756c2;
}

.application-bottom-nav .bottom-right-button {
  min-width: 165px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
  .application-container {
    width: 92%;
  }

  .application-container > h1 {
    font-size: 36px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .application-container {
    width: 92%;

    padding-top: 20px;
  }

  .application-container > h1 {
    font-size: 30px;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }

  .form-grid {
    gap: 18px;

    margin-bottom: 20px;
  }

  .form-group input,
  .form-group select {
    height: 42px;
  }

  .payment-qr img {
    width: 240px;
  }

  .application-bottom-nav {
    flex-direction: column;

    align-items: stretch;

    gap: 25px;
  }

  .application-bottom-nav .bottom-right-button {
    align-self: flex-end;
  }
}

/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {
  .application-container > h1 {
    font-size: 25px;
  }

  .form-section-title {
    font-size: 17px;
  }

  .reference-title {
    font-size: 20px;
  }

  .reference-warning {
    font-size: 12px;
  }

  .payment-title {
    font-size: 12px;
  }

  .payment-qr img {
    width: 220px;
  }

  .application-bottom-nav .bottom-right-button {
    align-self: stretch;
  }

  .application-bottom-nav a {
    min-width: 150px;
  }
}
