:root {
  --ui-font-family: 'Work Sans', sans-serif;
  --ui-font-family-headers: 'Work Sans', sans-serif;


}

body {

  --ui-color-primary: #5046e5;
  --ui-color-primary-hover: #281eba;
  --ui-color-primary-faded: rgba(245, 243, 255);
  --ui-color-primary-text: #efefef;
  --ui-color-red-500: #EF4444;
  --ui-color-red-800: #991B1B;

  --ui-button-padding: 0.4rem 0.9rem;
  --ui-button-border-width: 1px;
  --ui-button-border-radius: 40px;
  --ui-button-border-color: var(--ui-color-grey-800);
  --ui-button-border-light: var(--ui-color-grey-300);
  --ui-button-border-color-hover: var(--ui-color-grey-800);
  --ui-border-radius-buttons: 40px;


  --ui-color-navan: #781ed8;
  --ui-color-navan-light: #dcbbff;
  --ui-color-navan-hover: #6417b6;
  --ui-rewards-button-border: #7c00ff;

  --ui-font-primary-headers: var(--font-primary);
  --ui-font-secondary-headers: var(--font-secondary);



}

.ui-button {
  &.--bg-black {
    background-color: var(--ui-color-grey-600);
    color: #fff;

    &:hover {
      background-color: var(--ui-color-grey-900);
    }
  }

  &.--bg-red {
    background-color: var(--ui-color-red-500);
    color: #fff;
    border: none;

    &:hover {
      background-color: var(--ui-color-red-800);
    }
  }

  &.--bg-purple-light {
    background-color: var(--ui-color-navan-light);
    color: #fff;
    border-color: var(--ui-color-navan);

    &:hover {
      background-color: var(--ui-color-navan-light);
    }
  }

  &.--bg-purple {
    background-color: var(--ui-color-navan);
    color: #fff;
    border: none;

    &:hover {
      background-color: var(--ui-color-navan-hover);
    }
  }

  &.--disabled {
    background-color: var(--ui-color-grey-200);
    color: var(--ui-color-grey-500);
    border: none;
    cursor: not-allowed;
  }

  &.--rounded-gentle {
    border-radius: 4px;
  }

  &.--rounded-medium {
    border-radius: 10px;
  }

  &.--gentle-no-border {
    border-radius: 15px;
    border-color: transparent;
  }

  &.--search-filter-btn {
    border-radius: 10px;
    border-color: var(--ui-button-border-light);

  }

  &.--room-save-btn {
    border-radius: 15px;
    background-color: var(--ui-color-navan);
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 1rem 2rem;
    border-color: transparent;

    &:hover {
      background-color: var(--ui-color-navan-hover);
    }

  }

  &.--popular-filter-btn {
    border-radius: 10px;
    background-color: var(--ui-color-navan);
    color: white;
    border-color: transparent;
    justify-content: center;
    width: 50%;

    &:hover {
      background-color: var(--ui-color-navan-hover);
    }

  }

  &.--add-traveller-btn {
    column-gap: 5px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;

    &:hover {
      border-color: var(--ui-color-navan-hover) !important;
    }

  }


  &.--value-changer {
    border-radius: 10px;
    border-color: var(--ui-button-border-light);

    &:hover {
      background-color: var(--ui-color-navan-hover);
    }


  }

  &.--save-btn {
    background-color: var(--ui-color-navan);
    color: #fff;
    border-radius: 10px;
    padding: 5px 30px;

    &:hover {
      background-color: var(--ui-color-navan-hover);
    }
  }

  &.--add-email-btn {
    background-color: var(--ui-color-navan);
    color: #fff;
    border-radius: 10px;
    border: none;
    padding: 7px 25px;

    &:hover {
      background-color: var(--ui-color-navan-hover);
    }
  }

  &.--revert-btn {
    background-color: transparent;
    color: var(--ui-color-navan-light);
    border-color: var(--ui-color-navan-light);
    border-width: 2px;
    border-radius: 4px;

    &:hover {
      background-color: var(--ui-color-navan-hover);
    }
  }

  &.--text-purple {
    color: var(--ui-color-navan);
  }

  &.--wide-padding {
    padding: 0.8rem 1.8rem
  }

  &.--no-padding {
    padding: 0rem 0rem;
  }

  &.--bg-purple-100 {
    background-color: var(--ui-color-navan-light);
  }

  &.--border-purple {
    border-color: var(--ui-rewards-button-border);
    border-width: var(--ui-button-border-width);
  }

  &.--border-button-light {
    border-color: var(--ui-button-border-light)
  }

  &.--rounded-grey-padding {
    border-radius: 9999px;
    padding: 5px 5px;
    border-color: var(--ui-color-grey-300);
  }

  &.--minimal-rounded {
    border-radius: 9999px;
    padding: 5px 5px;
    border: none;
  }

  &.--traveller-info {
    background-color: transparent;
    border-color: transparent;
    border-radius: 10px;

    &:hover {
      border-color: var(--ui-color-grey-900);
    }

    &.active {
      border-color: var(--ui-color-grey-900);
    }
  }

  &.--text-medium {
    font-size: 16px;
    font-weight: 500;
  }

  &.--policy-btn {
    font-size: 16px;
    font-weight: 500;
    color: var(--ui-color-navan);
    border-radius: 15px;
    border-color: transparent;

    &:hover {
      background-color: var(--ui-color-grey-100);
    }
  }

  &.--cancel-btn {
    background-color: white;
    color: var(--ui-color-primary);
    border-radius: 10px;
    padding: 7px 25px;

    &:hover {
      background-color: var(--ui-color-grey-100);
    }
  }

}

.ui-box {
  &.--no-padding {
    padding: 0px;
  }

  &.--rounded-gentle {
    border-radius: 20px;
    overflow: hidden;

  }

  &.--no-bg {
    background-color: transparent;
    border: none;
    box-shadow: none;
  }

  &.--shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }

  &.--shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  }

  &.--shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }


  &>.--bottom.--with-logo {
    justify-content: flex-start;
  }

  &.--back-card {
    transform: rotate(5deg);
    z-index: 1;
  }

  &.--front-card {
    transform: rotate(-5deg);
    z-index: 2;
  }

  &.--padding-medium {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }


}

body {
  font-family: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
}



.ui-tabnav {
  &.--ares {
    &>* {
      padding-bottom: 2px;
    }

    &>*.active {
      border-bottom-width: 1.5px;
    }

    button,
    a {
      padding: 0.4rem 1rem;
    }
  }
}

.ui-button.--solid1 {
  background-color: rgba(252, 211, 77, 1);
  color: black;
  border-color: rgba(252, 211, 77, 1);

  &:hover {
    border-color: rgba(251, 191, 36, 1);
    background-color: rgba(251, 191, 36, 1);
  }
}

.ui-titlepair {

  &.--worktitle {
    font-family: 'Work Sans',
      ui-sans-serif,
      system-ui,
      sans-serif;
  }

  &.--text-center {
    align-items: center;
  }

  &.--text-end {
    align-items: end;
  }

  &.--with-logo {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  &.--description-small {
    font-size: 14px;
    font-weight: var(--ui-font-weight-light);
    color: var(--ui-title-pair-color-description);
  }

  &>.--title.--font-medium {
    font-weight: 600;
  }

  &>.--description-small.--text-grey-400 {
    color: var(--ui-color-grey-400)
  }



  &>.--title.--text-grey-500 {

    color: var(--ui-color-grey-500)
  }

  &>.--title.--text-white {
    color: white
  }

  &>.--title.--text-purple {
    color: var(--ui-color-navan)
  }

  &>.--title-secondary-font {
    font-size: var(--ui-title-pair-font-size-base-title);
    font-weight: var(--ui-font-weight-bold);
    font-family: var(--ui-font-secondary-headers);
    color: var(--ui-title-pair-color-title);
  }

  &>.--title-guest-traveller {
    font-size: 40px;
    line-height: 56px;
    font-weight: 600;
    max-width: 392px;
    font-family: var(--ui-font-secondary-headers);
    color: var(--ui-title-pair-color-title);
  }

  &>.--title-navan-text {
    font-size: var(--ui-title-pair-font-size-base-title);
    font-weight: var(--ui-font-weight-bold);
    font-family: var(--ui-font-primary-headers);
    color: var(--ui-title-pair-color-title);
  }

  &>.--gradient-title {
    font-size: var(--ui-title-pair-font-size-base-title);
    font-weight: var(--ui-font-weight-bold);
    font-family: var(--ui-font-family-headers);
    background: linear-gradient(90deg, #f27121, #e94057, #8a2387);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  &>.--gradient-secondary-title-font {
    font-size: var(--ui-title-pair-font-size-base-title);
    font-weight: var(--ui-font-weight-bold);
    font-family: var(--ui-font-secondary-headers);
    background: linear-gradient(90deg, #8a2387, #e94057, #f27121);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  &.--xs>.--gradient-title {
    font-size: var(--ui-title-pair-font-size-xs-title);
    font-weight: var(--ui-font-weight-bold);
    font-family: var(--ui-font-family-headers);
    background: linear-gradient(90deg, #f27121, #e94057, #8a2387);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  &.--sm>.--gradient-title {
    font-size: var(--ui-title-pair-font-size-sm-title);
    font-weight: var(--ui-font-weight-bold);
    font-family: var(--ui-font-family-headers);
    background: linear-gradient(90deg, #8a2387, #e94057, #f27121);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  &.--sm>.--title-navan-text {
    font-size: var(--ui-title-pair-font-size-sm-title);
    font-weight: var(--ui-font-weight-bold);
    font-family: var(--ui-font-primary-headers);
    color: var(--ui-title-pair-color-title);

  }

  &.--md>.--title-navan-text {
    font-size: var(--ui-title-pair-font-size-md-title);
    font-weight: var(--ui-font-weight-bold);
    font-family: var(--ui-font-primary-headers);
    color: var(--ui-title-pair-color-title);

  }

  &.--xl>.--title-navan-text {
    font-size: var(--ui-title-pair-font-size-xl-title);
    font-weight: var(--ui-font-weight-bold);
    font-family: var(--ui-font-primary-headers);
    color: var(--ui-title-pair-color-title);

  }

  &.--xl>.--title-secondary-font {
    font-size: var(--ui-title-pair-font-size-xl-title);
    font-weight: 600;
    font-family: var(--ui-font-secondary-headers);
    color: var(--ui-title-pair-color-title);

  }

  &.--smd .--title {
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0;
    font-weight: 600;
  }

}

.ui-search-input {
  &.--right-magnifier {
    background-position: right .5rem center;
  }

  &.--rounded-gentle {
    border-radius: 10px;
  }

  &.--rounded-full {
    border-radius: 999px;
  }

  &.--hotel-search-input {
    border-color: var(--ui-button-border-light);
    border-width: 1px;
    height: 4rem;
    border-radius: 999px;
    background-position: left 1.5rem center;
    padding-left: var(--form-input-search-padding-left, 3.5rem) !important;
  }

  &.--hotel-search-input2 {
    border-color: var(--ui-button-border-light);
    border-width: 1px;
    height: 2.5rem;
    border-radius: 10px;
    background-position: left 1.5rem center;
    padding-left: var(--form-input-search-padding-left, 3.5rem) !important;
  }

}

.ui-link {
  &.--text-purple {
    color: var(--ui-color-navan);
  }

  &.--text-dark-purple {
    color: #581c87;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: -1.1rem;
  }

  &.--text-dark-purple2 {
    color: #581c87;
    font-size: 1rem;
    font-weight: 500;
  }
}

.ui-tuple {
  .--item-no-border {
    padding: 11px 0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
  }

  .--item-no-padding {
    padding: 0px 0;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
  }

  .--rounded {
    border-radius: 20px;
  }

}

.ui-modals {
  .--dialog-no-transform {
    position: relative;
    overflow: hidden;
    border-radius: var(--ui-modal-border-radius);
    background-color: var(--ui-modal-background-color);
    padding: var(--ui-modal-padding);
    width: 100vw;
    max-width: 600px;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    max-height: 600px;
    overflow-y: scroll;

    &.--no-scroll {
      overflow-y: hidden;
    }

    &.--xl {
      max-width: var(--ui-modal-max-width-xl);
    }
  }

  .--overlay-shown {
    background-color: var(--ui-modal-overlay-color);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    /* visibility: hidden; */
    transition: opacity 0.3s ease;
  }

}

.ui-toasts {
  &>.--toast {
    &>.--wrapper {
      &>.--content {
        padding: var(--ui-toasts-toast-padding);
        position: relative;
        font-size: 0.9rem;
        line-height: 1.25rem;
        background: #fff;
        color: var(--ui-toasts-toast-color-description);

        &.--bg-red-200 {
          background-color: #fed7d7;
        }

        &.--bg-green-200 {
          background-color: #c6f6d5;
        }

        &.--bg-blue-200 {
          background-color: #bee3f8;
        }

        &.--bg-yellow-200 {
          background-color: #fefcbf;
        }
      }
    }
  }
}

.ui-modals {
  &.--visible {
    z-index: 50;
  }
}