@import url('../../../../commons/styles/loader.css');

.book-service-appointment-login {
  .bsa-login-block {
    font-family: var(--font-primary-nexa);
    background-color: var(--tertiary-light-grey);
    color: var(--primary-main);
    position: relative;
    margin-top: -16px;
    padding-top: 16px;

    .g-container {
      padding: 3rem 1.25rem;
      padding-bottom: 6rem;

      @media (min-width: 1024px) {
        padding: 4rem 3.5rem 7.5rem 3.5rem;
      }
    }

    .clip__path-outer {
      clip-path: polygon(calc(40% - 30px) 16px, calc(40% - 20px) 0px, 100% 0%, 100% 100%, 0% 100%, 0% 16px);
    }

    .heading-section {
      display: block;
      margin-bottom: 2.5rem;

      @media (min-width: 1024px) {
        display: flex;
        justify-content: space-between;
      }
    }

    .heading-section__title {

      h1,
      h2,
      h3,
      h4,
      h5,
      h6,
      p {
        font-size: var(--heading-font-6-mob);
        font-weight: var(--fw-700);
        font-family: var(--service-font-family);
        line-height: var(--heading-lh-11-mob-display);
        margin: 0 0 1.5rem 0;

        @media (min-width: 1024px) {
          font-size: var(--heading-font-5-des);
        }
      }
    }

    .heading-section__description {
      font-size: var(--body-font-size-xxs);
      font-weight: var(--fw-300);
      line-height: 1.25rem;
      margin: 0 0 1.5rem 0;

      @media (min-width: 1024px) {
        max-width: 400px;
        font-size: var(--body-font-size-xs);
      }
    }

    .form__section {
      @media (min-width: 1024px) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
      }
    }

    .form__image {
      width: 99.88%;

      img {
        display: block;
        height: auto;
        width: 100%;
        object-fit: cover;

        @media (min-width: 1024px) {
          height: 100%;
        }
      }
    }

    .modal-heading {
      display: none;
    }

    .clip__path-inner {
      background-color: var(--tertiary-white);
      margin-top: -11px;
      clip-path: polygon(calc(62% - 28px) 12px, calc(62% - 20px) 0px, 100% 0%, 100% 100%, 0% 100%, 0% 12px);
      height: 12px;

      @media (min-width: 1024px) {
        clip-path: polygon(calc(62% - 34px) 24px, calc(62% - 20px) 0px, 100% 0%, 100% 100%, 0% 100%, 0% 24px);
        margin-top: -24px;
        height: 24px;
      }
    }

    .form__wrapper {
      padding-bottom: 3rem;
      background-color: var(--tertiary-white);

      @media (min-width: 1024px) {
        padding-bottom: 0;
      }

      input[type='text'],
      input[type='tel'] {
        background: none;
        width: 100%;
        border: none;
        border-bottom: 1px solid var(--dark-grey-shade-7);
        font-size: var(--body-font-size-xxs);
        line-height: 1.25rem;
        padding: var(--space-4px) 0;
        font-family: var(--body-font-family);

        &:focus {
          outline: none;
        }

        @media (min-width: 1024px) {
          padding: var(--space-8px) 0;
          font-size: var(--body-font-size-xs);
          font-family: var(--font-primary-nexa);
        }
      }

      .dropdown-container {
        width: 100%;

        @media (width >=1024px) {
          width: auto;
        }

        label {
          width: 100%;

          @media (width >=1024px) {
            width: auto;
          }
        }

        .label {
          font-size: var(--heading-font-8-mob);
          line-height: var(--heading-lh-19-mob-text-small);
          margin-bottom: 8px;
        }
      }

      .custom-select {
        position: relative;
        display: block;

        &::after {
          content: '';
          position: absolute;
          right: 0;
          top: 5px;
          height: 1.5rem;
          width: 1.5rem;
          background: url(/icons/select_down.svg) no-repeat center/contain;
          pointer-events: none;
        }

        .custom-select__selected {
          width: 100%;
          padding: 8px 24px 8px 0;
          border: none;
          border-bottom: 1px solid var(--tertiary-deep-Grey);
          display: flex;
          justify-content: space-between;
          color: var(--primary-main);
          font-size: var(--heading-font-8-mob);
          line-height: var(--heading-lh-19-mob-text-small);
          font-family: var(--font-primary-nexa);
          cursor: pointer;
          background: none;
          white-space: nowrap;
          text-overflow: ellipsis;
          overflow: hidden;

          &:focus {
            outline: none;
          }
        }

        .custom-select__options {
          position: absolute;
          overflow-y: auto;
          max-height: 200px;
          width: 100%;
          display: flex;
          flex-direction: column;
          box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.06);
          background: var(--tertiary-white);
          z-index: 10;
        }

        .custom-option {
          padding: 12px 16px;
          cursor: pointer;
          color: var(--secondary-main);
          font-size: var(--heading-font-11-mob-text-small);
          line-height: var(--heading-lh-25-mob-text-small);
          display: flex;
          justify-content: space-between;
          align-items: center;

          &:hover {
            background-color: var(--tertiary-light-grey);
          }
        }

        .custom-option.selected::after {
          content: '';
          display: inline-block;
          width: 1rem;
          height: 1rem;
          background-image: url(/icons/tick.svg);
          background-size: contain;
          background-repeat: no-repeat;
        }
      }
    }

    .form__wrapper-inner {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 24px 16px 24px 16px;

      @media (min-width: 1024px) {
        padding: 24px 24px 24px 24px;
      }
    }

    .form__input-grid {
      @media (min-width: 1024px) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
      }
    }

    .form__disclaimer {
      grid-column: span 2;
      margin-bottom: 1.5rem;
      font-size: var(--body-font-size-xxxs);
      line-height: 1.25rem;
      font-family: var(--body-font-family);
      font-weight: var(--fw-400);
      color: var(--tertiary-deep-Grey);

      * {
        margin: 0;
      }

      strong {
        font-weight: var(--fw-500);
      }

      @media (min-width: 1024px) {
        font-size: var(--body-font-size-xxs);
        font-family: var(--font-primary-nexa);
      }
    }

    .form__input {
      margin-bottom: 1rem;
      position: relative;

      &.form__input--disclaimer {
        p:not(:last-child) {
          margin-bottom: 4px;

          @media (min-width: 1024px) {
            margin-bottom: 0;
          }
        }
      }
    }

    .form__input--label {
      font-weight: var(--fw-500);
    }

    .form__foot {
      display: flex;
      gap: 8px;
      flex-direction: column;

      @media (min-width: 1024px) {
        gap: 0;
      }
    }

    .form__input--disclaimer,
    .form__input--radio {
      p {
        margin: 0;
      }

      font-size: var(--body-font-size-xxxxs);
      line-height: 1.25rem;
      color: var(--tertiary-deep-Grey);

      strong {
        font-weight: var(--fw-500);
      }

      a {
        color: var(--primary-main);
        font-weight: var(--fw-500);
      }

      @media (min-width: 1024px) {
        grid-column: span 2;
        line-height: 1.25rem;
      }
    }

    .form__input--radio-container {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .form__input--radio-label {
      display: flex;
      align-items: center;
    }

    .form__input--mobile {

      input[type='text'],
      input[type='tel'] {
        &:read-only {
          border-bottom-style: dashed;
        }
      }

      @media (min-width: 1024px) {
        &:has(> .form__input.form__input--otp) {
          flex-direction: column;
          width: 50%;
        }
      }
    }

    .form__input--captcha,
    .form__input--mobile {
      &:has(input[type='text']:read-only, input[type='tel']:read-only) {
        &::after {
          content: '';
          position: absolute;
          right: 0;
          top: 8px;
          mask: url(/icons/check-circle-success.svg);
          background: var(--green-shade-1);
          font-weight: normal;
          font-size: 0.8em;
          width: 1.5rem;
          height: 1.5rem;
          display: flex;
          align-items: center;
          justify-content: center;
          box-sizing: border-box;

          @media (min-width: 1024px) {
            left: 45%;
          }
        }
      }
    }

    .form__input--radio {
      input[type='radio'] {
        accent-color: var(--primary-main);
        margin-top: 0;
        height: 14px;
        width: 14px;
      }
    }

    .form__input--radio-label.checked {
      color: var(--primary-main);
    }

    .form__input--otp {
      display: flex;
      gap: 1.25rem;

      input[type='text'],
      input[type='tel'] {
        text-align: center;
      }

      @media (width>=1024px) {
        margin-right: 1.5rem;
      }
    }

    .form__input-items {
      position: relative;
      margin-top: 0.5rem;
    }

    .form__input--captcha {
      input[type='text'] {
        padding-right: 3.5rem;
      }
    }

    .form__input-items .form__input-items--button,
    .form__input-items .form__input-button--resend {
      @media (width>=1024px) {
        max-width: 9.375rem;
        position: absolute;
        bottom: var(--space-10px);
        right: -5rem;
        transform: translateY(-50%);
        width: 120%;
      }

      @media (width>=1366px) {
        bottom: var(--space-4px);
      }
    }

    .form__error {
      display: block;
      line-height: 0.75rem;
      font-size: var(--body-font-size-xxxxs);
      color: var(--primary-red);
      margin-top: 4px;
    }

    .form__helper {
      display: block;
      line-height: 0.75rem;
      font-size: var(--body-font-size-xxxxs);
      color: var(--secondary-main);
      margin-top: 4px;
    }

    .form__input-items--button {
      width: 100%;
      display: flex;
      justify-content: flex-end;
    }

    .form__input-button {
      font-family: var(--font-primary-nexa);
      font-size: var(--body-font-size-xxxs);
      line-height: 1rem;
      font-weight: var(--fw-400);
      background: none;
      outline: none;
      border: none;
      cursor: pointer;
      margin-top: 1rem;
      flex-shrink: 0;

      &:disabled {
        cursor: unset;
        color: var(--tertiary-deep-Grey);
      }

      &:focus {
        outline: none;
      }
    }

    .form__input-button--otp {
      margin-bottom: 1.25rem;
    }

    .form__input-button--resend {
      margin-top: 0.5rem;
      margin-bottom: 2rem;
      font-size: var(--body-font-size-xxxxs);
      line-height: normal;

      @media (min-width: 1024px) {
        margin-bottom: 0;
      }
    }

    .form__input-button--captcha {
      font-size: var(--body-font-size-xxs);
      position: absolute;
      top: -8px;
      right: 0;
    }

    .form__error-highlight {
      background: var(--secondary-red);
      padding: 8px 12px;
      display: block;

      margin-bottom: 1rem;

      @media (min-width: 1024px) {
        margin-bottom: 1.5rem;
      }
    }

    .form__button {
      width: 100%;
      padding: 0.5rem 1rem;
      font-family: var(--font-primary-nexa);
    }

    .form__button--submit {
      margin: 0;
      border: none;
      background: var(--primary-main);
      color: var(--tertiary-white);
      cursor: pointer;
      font-size: var(--body-font-size-xxs);
      line-height: 1.25rem;
      grid-column: span 2;
      font-family: var(--body-font-family);

      &::after {
        content: none;
      }

      &:disabled {
        background: var(--tertiary-medium-grey);
        color: var(--tertiary-light-grey);
        cursor: unset;
      }
    }

    .car-list__img-car {
      img {
        height: 40px;

        @media (min-width: 1024px) {
          height: 64px;
        }
      }
    }

    .car-list {
      max-width: 400px;
      background: none;
      border: none;
      outline: none;
      padding: 0;
      font: var(--font-primary-nexa);
      width: 100%;
    }

    .car-list__items {
      min-height: 105px;
      max-width: 400px;
      padding: 1rem;
      display: block;
      cursor: pointer;

      &:has(.car-list__radio--centered) {
        min-height: 52px;

        @media (min-width: 1024px) {
          min-height: 72px;
        }
      }

      &.focused,
      &:hover {
        background: var(--tertiary-light-grey);
      }
    }

    .car__list-items--car {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
    }

    .car__list-date--label {
      font-size: var(--body-font-size-xxxxs);
      line-height: var(--heading-lh-19-mob-text-small);
      text-transform: uppercase;
      margin-right: 8px;
      color: var(--secondary-main);
      margin-left: 25px;

      @media (min-width: 1024px) {
        margin-left: 29px;
      }
    }

    .car__list-date--value {
      font-size: var(--body-font-size-xxxs);
      line-height: var(--heading-lh-19-mob-text-small);
      color: var(--primary-main);
    }

    .car__list-date--recent {
      color: var(--orange-shade-1);
    }

    .car__list-date--past {
      color: var(--primary-red);
    }

    .car-list__text--large {
      font-size: var(--heading-font-8-mob);
      line-height: var(--heading-lh-19-mob-text-small);
      font-weight: var(--fw-500);

      @media (min-width: 1024px) {
        font-size: var(--heading-font-16-des);
        line-height: var(--heading-lh-21-des-text-small);
      }
    }

    .car-list__items-selected {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: var(--gradient-4);
    }

    .car-list__items-selected--text {
      font-size: var(--body-font-size-xs);
      line-height: var(--heading-lh-19-mob-text-small);
      font-weight: var(--fw-500);
      color: var(--primary-main);

      @media (min-width: 1024px) {
        font-size: var(--body-font-size-s);
        line-height: var(--heading-lh-21-des-text-small);
      }
    }

    .car-list__reg-label {
      color: var(--secondary-main);
      text-transform: uppercase;
      font-size: var(--body-font-size-xxxxs);
      font-weight: var(--fw-400);
      line-height: 1.25rem;
      margin-bottom: 4px;
      text-align: left;
    }

    .car-list__radio {
      display: flex;
      align-items: start;

      input[type='radio'] {
        margin-right: 0.75rem;
        appearance: none;
        width: 1rem;
        height: 1rem;
        border: 1px solid var(--primary-main);
        border-radius: 50%;
        padding: 0;
        position: relative;
        cursor: pointer;
        display: inline-block;

        &:checked::before {
          content: '';
          width: 0.75rem;
          height: 0.75rem;
          background-color: var(--primary-main);
          border-radius: 50%;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }
      }

      input[type='checkbox'] {
        /* Add if not using autoprefixer */
        -webkit-appearance: none;
        /* Remove most all native input styles */
        appearance: none;
        /* For iOS < 15 */
        background-color: #fff;
        /* Not removed via appearance */
        margin: 0;
        margin-right: 13px;
        width: 12px;
        height: 12px;
        border: 1px solid #515151;
        border-radius: 0;
        transform: translateY(4px);
        display: grid;
        place-content: center;

        @media (width>=768px) {
          width: 16px;
          height: 16px;
          transform: translateY(2px);
        }
      }

      input[type='checkbox']::before {
        content: '';
        width: 8.25px;
        height: 6px;
        transform: scale(0);
        transform-origin: bottom left;
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em var(--form-control-color);
        /* Windows High Contrast Mode */
        background-color: CanvasText;

        @media (width>=768px) {
          width: 11px;
          height: 8px;
        }
      }

      input[type='checkbox']:checked::before {
        transform: scale(1);
        background: url('/icons/check-tick.svg');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
      }

      input[type='checkbox']:checked {
        background: var(--primary-main);
        border: 1px solid #000;
      }

      input[type='checkbox']:focus {
        outline: 0;
      }

      input[type='checkbox']:disabled {
        --form-control-color: var(--form-control-disabled);

        color: var(--form-control-disabled);
        cursor: not-allowed;
      }
    }

    .car-list__radio--centered {
      align-items: center;
    }

    .car-list__img {
      display: flex;
      gap: 0.75rem;
      align-items: center;
    }

    .car-list__reg-number {
      font-size: var(--body-font-size-xs);
      font-weight: var(--fw-500);
      line-height: 1.25rem;

      @media (min-width: 1024px) {
        font-size: var(--body-font-size-s);
        line-height: 1.5rem;
      }
    }

    .car-list__img-icon {
      content: '';
      display: inline-block;
      background: url('/icons/chevron-left.svg') no-repeat center;
      width: 1rem;
      height: 1rem;
      transform: rotate(-90deg);
      cursor: pointer;
      outline: none;
      border: none;
    }

    .car-dropdown-container {
      margin-bottom: 1rem;
    }

    .dropdown {
      position: relative;

      @media (min-width: 1024px) {
        grid-column: span 2;
      }
    }

    .bsa-car-select-stack {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      margin-bottom: 1rem;
      width: 100%;
      margin-top: 1rem;

      @media (min-width: 1024px) {
        grid-column: span 2;
      }

      .dropdown {
        margin-bottom: 8px;
      }
    }

    .bsa-car-select-stack__heading {
      display: block;
      margin-bottom: 0.25rem;
    }

    .bsa-car-entry-mode {
      margin-bottom: 1.25rem;

      .bsa-car-entry-mode__radios {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;

        @media (min-width: 1024px) {
          flex-direction: row;
          flex-wrap: wrap;
          align-items: center;
          justify-content: flex-start;
          gap: 2rem;
        }
      }

      .bsa-car-entry-mode__option {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: var(--body-font-size-xs);
        line-height: 1.4;
        cursor: pointer;
        width: 100%;
        max-width: 100%;
        text-align: left;

        @media (min-width: 1024px) {
          width: auto;
          font-size: var(--body-font-size-s, 1rem);
          gap: 0.875rem;
        }

        input[type='radio'] {
          width: 1.125rem;
          height: 1.125rem;
          min-width: 1.125rem;
          min-height: 1.125rem;
          margin: 0;
          accent-color: var(--primary-main);
          flex-shrink: 0;
          cursor: pointer;
        }
      }

      .bsa-car-entry-mode__option-text {
        text-align: left;
      }

      .bsa-car-entry-mode__option.checked {
        color: var(--primary-main);
      }
    }

    .bsa-car-add-fields {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      width: 100%;
    }

    .car-list--empty-readonly {
      cursor: not-allowed;
      width: 100%;
    }

    .dropdown-items {
      background: var(--tertiary-white);
      position: absolute;
      display: block;
      width: 100%;
      max-width: 400px;
      top: 100%;
      left: 0;
      z-index: 1000;
      overflow: auto;
      max-height: 350%;

      .car-list__items {

        &.focused,
        &:hover {
          background: var(--tertiary-light-grey);
        }
      }
    }

    .car-list__error {
      font-size: var(--body-font-size-xxs);
      font-weight: var(--fw-400);
      line-height: 1.25rem;
      color: var(--tertiary-black);

      @media (min-width: 1024px) {
        max-width: 240px;
      }
    }

    .car-list__button {
      width: 100%;

      @media (min-width: 1024px) {
        width: auto;
      }

      a {
        display: block;
        width: 100%;
        padding: 0.5rem 1rem;
        background: var(--tertiary-white);
        color: var(--primary-main);
        text-align: center;
        font-size: var(--body-font-size-xxs);
        font-weight: var(--fw-400);
        line-height: 1.25rem;

        @media (min-width: 1024px) {
          display: inline-block;
          min-width: 144px;
        }
      }
    }

    .car-list__items-error {
      max-width: 100%;
      flex-direction: column;
      cursor: unset;

      @media (min-width: 1024px) {
        flex-direction: row;
        justify-content: space-between;
      }
    }

    .form__tooltip {
      max-height: 20px;
      margin-left: 8px;
      position: relative;

      .form__tooltip-text {
        display: none;
        position: absolute;
        bottom: calc(100% + 16px);
        color: var(--tertiary-white);
        background: var(--secondary-main);
        padding: 8px 12px;
        width: 200px;
        transform: translateX(-45%);
        text-align: center;
        font-size: var(--body-font-size-xxxxs);
        line-height: var(--heading-lh-17-mob-text-normal);
      }

      .form__tooltip-arrow {
        display: none;
        position: absolute;
        height: 0;
        width: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 17px solid var(--secondary-main);
        bottom: 100%;
      }

      &:hover {

        .form__tooltip-text,
        .form__tooltip-arrow {
          display: block;
        }
      }
    }
  }

  .body_fields {
    grid-column: span 2;
  }

  .found_car-list {
    grid-column: span 2;

    @media (min-width: 1024px) {
      max-height: 200px;
      overflow: auto;
    }
  }

  .found_car {
    padding: 12px 16px;
    background: var(--gradient-6);
    font-family: var(--service-font-family);
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;

    @media (min-width: 1024px) {
      padding: 16px 20px;
      margin-bottom: 24px;
    }
  }

  .found_car-block {
    display: flex;
    flex-direction: column;
    margin-right: 24px;

    @media (min-width: 1024px) {
      margin-right: 48px;
    }
  }

  .found_car-image {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;

    img {
      height: 60px;
      width: auto;

      @media (min-width: 1024px) {
        height: 100px;
      }
    }
  }

  .found_car-details {
    line-height: var(--heading-lh-19-mob-text-small);
    font-weight: var(--fw-500);
    text-align: center;
  }

  .found_car-model {
    margin-bottom: 4px;
    font-size: var(--heading-font-8-mob);

    @media (min-width: 1024px) {
      font-size: var(--heading-font-7-des);
    }
  }

  .found_car-number {
    font-size: var(--body-font-size-s);
  }

  .owner_data {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .owner_detail {
    margin-bottom: 16px;
  }

  .owner_label {
    font-size: var(--heading-lh-10-mob-text-small);
    line-height: var(--heading-lh-19-mob-text-small);
    text-transform: uppercase;

    @media (min-width: 1024px) {
      font-size: var(--heading-lh-10-mob-text-small);
    }
  }

  .owner_value {
    font-size: var(--heading-font-20-des);
    line-height: var(--heading-lh-19-mob-text-small);
    margin-inline-start: 0;

    @media (min-width: 1024px) {
      font-size: var(--heading-font-20-des);
    }
  }

  .found_car-info {
    grid-column: span 2;
    background: var(--secondary-blue);
    color: var(--primary-blue);
    padding: 8px 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .found_car-info-text {
    font-size: var(--heading-font-22-des);
    line-height: var(--heading-lh-23-des-normal);
    margin-right: 12px;
  }

  .found_car-info-close {
    background: none;
    border: none;
    cursor: pointer;
    width: 16px;
    height: 16px;
    background: url('/icons/close_black.svg') no-repeat;
    background-size: contain;

    @media (min-width: 1024px) {
      width: 24px;
      height: 24px;
    }
  }

  .car-dropdown-container__info {
    font-size: var(--body-font-size-xxs);
    line-height: 1.25rem;
    color: var(--tertiary-black);
  }

  .preact-modal {
    dialog {
      border: none;
      overflow: visible;
      max-height: 600px;

      &::backdrop {
        background-color: rgba(0, 0, 0, 0.55);
      }

      .modal-content {
        overflow-y: visible;
        padding: 0;
      }
    }

    .close-button {
      z-index: 1;
      cursor: pointer;
      top: 12px;
      right: 12px;
      height: 16px;
      width: 16px;
      color: var(--tertiary-white);

      &::before,
      &::after {
        width: 16px;
      }

      @media (min-width: 1024px) {
        color: var(--tertiary-black);
        top: 12px;
        right: 24px;
        height: 24px;
        width: 24px;

        &::before,
        &::after {
          width: 24px;
        }
      }
    }

    .clip__path-inner {
      @media (min-width: 1024px) {
        margin-top: -23px;
      }
    }

    .bsa-login-block {
      background-color: transparent;
    }

    .heading-section {
      display: none;
    }

    .g-container {
      padding: 0;
    }

    .form__wrapper {
      padding-bottom: 0;
    }

    .form__image {
      position: relative;

      &.gradient-overlay {
        .modal-heading {
          z-index: 1;
        }

        &::after {
          content: '';
          position: absolute;
          top: 0;
          width: 100%;
          height: 100%;
          background: linear-gradient(180deg, rgba(73, 73, 73, 0.1) 0%, #000000 100%);
        }
      }

      img {
        height: 30%;
        width: 100%;

        @media (min-width: 1024px) {
          height: 100%;
        }
      }

      .modal-heading {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;

        h1,
        h2,
        h3,
        h4,
        h5,
        h6,
        p {
          padding: 32px 16px;
          font-size: var(--heading-font-15-mob-sub-heading);
          font-weight: var(--fw-700);
          line-height: var(--heading-lh-21-mob-text-small);
          letter-spacing: 0.48px;
          color: var(--tertiary-white);
          margin: 0;

          @media (min-width: 1024px) {
            padding: 24px;
            font-size: var(--heading-font-5-des);
            font-weight: var(--fw-700);
            line-height: var(--heading-lh-22-des-display);
            letter-spacing: 0.96px;
          }
        }
      }
    }

    .form__wrapper-inner {
      height: 70%;

      @media (max-height: 900px) {
        overflow: auto;
      }

      @media (min-width: 1024px) {
        padding-top: 60px;
      }
    }

    .form__button--submit {
      justify-self: flex-end;
      margin-bottom: 0;
    }

    .clip__path-outer {
      display: none;
    }

    .dropdown-items {
      max-height: 175%;
      border-bottom: 1px solid var(--tertiary-light-grey);
    }
  }
}