@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  height: 100%;
}

body {
  background-color: #f6f8fc;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: #444444;
}

.space-t-24 {
  margin-top: 24px;
}

/* HEADER */
.header-block {
  background-color: #ffffff;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.06);
  padding: 6px 0px;
}
.brand img {
  display: block;
  width: 88px;
}
.info-link {
  display: flex;
  align-items: center;
  gap: 8px;

  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  text-decoration: none;
  color: #888888;
}
.info-link:hover {
  color: #444444;
}

/* ------------------------------------
            MAIN CONTENT
------------------------------------ */
.page-heading-wrap {
  padding: 20px 0;
  border-bottom: 1px solid #d3d9de;
}

.page-heading h1 {
  font-weight: 700;
  font-size: 24px;
  line-height: 40px;
  color: #000000;
  margin-bottom: 0;
}

.back-to-page {
  border-right: 1px solid #d3d9de;
  padding: 8px 12px 8px 0px;
  margin-right: 16px;
}

.form-block {
  margin-bottom: 40px;
}

.btn {
  padding: 13px 23px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  min-width: 185px;
}

.btn-primary {
  background: #ed1c24;
  border-color: #ed1c24;
  box-shadow: 0px 8px 18px rgba(237, 28, 36, 0.2);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
:not(.btn-check) + .btn:active {
  background: #d20f15;
  border-color: #d20f15;
  box-shadow: none;
}

.form-control {
  background-color: #ffffff;
  border: 1px solid #d3d9de;
  border-radius: 8px;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  padding: 15px 23px;
  margin-bottom: 16px;
  color: #444444;
}

.form-control:focus {
  color: #444444;
  border-color: #969696;
  box-shadow: 0 0 0 4px rgba(150, 150, 150, 0.25);
}

.form-control::placeholder {
  color: rgba(68, 68, 68, 0.5);
}

.form-control:last-child {
  margin-bottom: 0;
}

.form-group {
  position: relative;
}

.form-group .field-icon {
  position: absolute;
  top: 19px;
  right: 24px;
}

.small-container {
  max-width: 480px;
}

/* RADIO DESIGN */
.custom-radio {
  display: block;
  position: relative;
  background-color: #ffffff;
  border: 1px solid #d3d9de;
  border-radius: 8px;
  padding: 15px 23px 15px 53px;
  cursor: pointer;
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: #444444;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.custom-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-radio .checkmark {
  background: #ffffff;
  border: 1px solid #d3d9de;
  border-radius: 9999px;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 18px;
  left: 16px;
}

.custom-radio:hover input ~ .checkmark {
  border-color: #ed1c24;
}

.custom-radio input:checked ~ .checkmark {
  background-color: #ed1c24;
  border-color: #ed1c24;
}

.custom-radio .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-radio input:checked ~ .checkmark:after {
  display: block;
}

.custom-radio .checkmark:after {
  background-image: url("../images/icon-checked.svg");
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  top: 3px;
  left: 3px;
}

.label-heading {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #000000;
  margin-bottom: 16px;
}

.field-item {
  padding: 40px 0px;
}

.field-item:not(:first-child) {
  border-top: 1px solid #d3d9de;
}

.licence-block {
  background: #ffffff;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 20px;
  max-width: 928px;
}

.licence-content p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.licence-content p strong {
  font-weight: 700;
  color: #000000;
}

.licence-content h5 {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  margin-bottom: 12px;
}

.licence-total {
  border-top: 1px solid #d3d9de;
  margin-top: 24px;
  padding-top: 12px;
}

.licence-thumbnail {
  background-color: #f6f8fc;
  padding: 4px;
}

/* Range */
.custom-range {
  appearance: none;
  background-color: transparent;
}

.custom-range:focus {
  outline: none;
}

.custom-range::-moz-focus-outer {
  border: 0;
}

.custom-range::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 1px solid #d3d9de;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12);
  border-radius: 9999px;
  appearance: none;
  margin-top: -6px;
}

.custom-range::-webkit-slider-runnable-track {
  width: 440px;
  height: 12px;
  color: transparent;
  /* cursor: ; */
  background-color: #eff1f3;
  border-color: transparent;
  border-radius: 12px;
  margin-top: 6px;
}

.custom-range::-ms-fill-lower {
  background-color: #ed1c24;
}

.custom-range::-ms-fill-upper {
  background-color: #000000;
}

.range-box {
  background-color: #ffffff;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

.range-box span {
  display: block;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #444444;
}

/* Select Loan */
.loan-item {
  width: 218px;
}

.loan-box {
  display: block;
  position: relative;
  cursor: pointer;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.loan-box img {
  width: 64px;
  margin: 0 auto;
}

.loan-box span {
  display: block;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #444444;
}

.loan-box input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.loan-box .checkmark {
  background-color: transparent;
  border: 2px solid transparent;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.loan-box:hover input ~ .checkmark {
  border-color: #ed1c24;
}

.loan-box input:checked ~ .checkmark {
  border-color: #ed1c24;
  box-shadow: 0px 2px 6px rgba(237, 28, 36, 0.24),
    0px 1px 3px rgba(0, 0, 0, 0.12);
}

.loan-box .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.loan-box input:checked ~ .checkmark:after {
  display: block;
}

.upload-box {
  position: relative;
  background-color: #ffffff;
  border: 1px solid #d3d9de;
  border-radius: 8px;
  padding: 15px 23px;
  text-align: center;
}

.upload-box h6 {
  display: block;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  color: #444444;
  margin-bottom: 4px;
}

.upload-box h6 span {
  display: inline-block;
  text-decoration: none;
  color: rgba(68, 68, 68, 0.5);
}

.upload-box p {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: rgba(68, 68, 68, 0.5);
  margin-bottom: 0;
}

.upload-box input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
}

.upload-notes h6 {
  font-weight: 600;
  font-size: 14px;
  line-height: 24px;
  color: #444444;
}

.upload-notes ul {
  padding-left: 20px;
}

.upload-notes li {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #444444;
}

/* ALERT */
.alert-message-box {
  text-align: center;
  max-width: 540px;
  margin: 0 auto;
}

.alert-message-box img {
  margin-bottom: 40px;
}

.alert-message-box h5 {
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  color: #000000;
  margin-bottom: 24px;
}

.alert-message-box p {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #999999;
  margin-bottom: 24px;
}

.alert-message-box p a {
  color: #999999;
}

/* FOOTER */
.footer-block {
  background-color: #ffffff;
  border-top: 1px solid #e8edf2;
  padding: 10px 20px;
  text-align: center;
}
.footer-block p {
  font-weight: 600;
  font-size: 12px;
  line-height: 15px;
  color: #999999;
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .btn {
    width: 100%;
  }
  .form-control {
    font-size: 16px;
    line-height: 24px;
    padding: 12px 16px;
  }
  .info-link {
    border: 1px solid #d3d9de;
    border-radius: 100%;
    padding: 0.5rem;
  }
  .info-link span {
    display: none;
  }
  .page-heading-wrap {
    padding: 16px 0px;
  }
  .page-heading-wrap h1 {
    font-size: 16px;
    line-height: 24px;
  }
  .field-item {
    padding: 24px 0px;
  }
  .label-heading {
    font-size: 16px;
    line-height: 24px;
  }

  .custom-radio {
    padding: 10px 16px 10px 40px;
    font-size: 16px;
    line-height: 24px;
  }
  .custom-radio .checkmark {
    width: 20px;
    height: 20px;
    top: 12px;
    left: 12px;
  }
  .custom-radio .checkmark:after {
    top: 1px;
    left: 1px;
  }

  .licence-thumbnail {
    margin-top: 24px;
  }

  .loan-item {
    width: 138px;
  }
  .loan-box img {
    width: 48px;
  }
  .loan-box span {
    font-size: 14px;
    line-height: 18px;
  }
  .alert-message-box img {
    margin-bottom: 20px;
  }
  .alert-message-box h5{
    font-size: 20px;
    line-height: 24px;
  }
}
