.vouchersHeader {
  display: flex;
  gap: var(--Spacing-x-one-and-half);
}

.checkbox {
  width: 24px;
  height: 24px;
}
.icon,
.voucherRow {
  display: none;
}

@media screen and (max-width: 767px) {
  .voucherContainer {
    padding: var(--Spacing-x2) 0 var(--Spacing-x4);
  }
}

@media screen and (max-width: 1367px) {
  .inputContainer {
    display: grid;
    gap: var(--Spacing-x2);
  }

  .rooms,
  .vouchers,
  .when,
  .where {
    background-color: var(--Base-Background-Primary-Normal);
    border-radius: var(--Corner-radius-Medium);
  }

  .rooms,
  .vouchers,
  .when {
    padding: var(--Spacing-x1) var(--Spacing-x-one-and-half);
  }

  .button {
    align-self: flex-end;
    justify-content: center;
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .input {
    display: flex;
    align-items: center;
  }
  .inputContainer {
    display: flex;
    flex: 2;
    gap: var(--Spacing-x2);
  }
  .voucherContainer {
    flex: 1;
  }

  .rooms,
  .when,
  .where {
    width: 100%;
  }

  .inputContainer input[type="text"] {
    border: none;
    height: 24px;
  }

  .rooms,
  .when {
    padding: var(--Spacing-x1) var(--Spacing-x-one-and-half);
    border-radius: var(--Corner-radius-Small);
  }

  .when:hover,
  .rooms:hover,
  .when:has([data-isopen="true"]),
  .rooms:has(.input:active, .input:focus, .input:focus-within) {
    background-color: var(--Base-Surface-Primary-light-Hover-alt);
  }

  .where {
    position: relative;
  }

  .button {
    justify-content: center;
    width: 118px;
  }
}

@media screen and (min-width: 768px) and (max-width: 1366px) {
  .inputContainer {
    padding: var(--Spacing-x2) var(--Spacing-x2);
  }
  .buttonContainer {
    padding-right: var(--Spacing-x2);
  }
  .input .buttonContainer .button {
    padding: var(--Spacing-x1);
    width: 48px;
    height: 48px;
  }
  .buttonText {
    display: none;
  }
  .icon {
    display: flex;
  }

  .voucherRow {
    display: flex;
    background: var(--Base-Surface-Primary-light-Hover);
    border-bottom: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
    padding: var(--Spacing-x2);
  }
  .voucherContainer {
    display: none;
  }
}
