.loyalty-suite-form,
.loyalty-suite-library {
  display: flex;
  width: 100%;
  flex-direction: column;
  margin: 0;

  &__section {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    margin: 0 0 30px 0;
    background: $white;
    border-radius: 5px;
    box-shadow: $shadow-size $shadow;
    padding: 15px;

    &.loyalty-suite-form__section_tabs {
      padding: 0;

      .loyalty-suite-form__section {
        &__tabs {
          display: flex;
          width: 100%;
          padding: 15px 30px;
          background: $accent;
          border-top-left-radius: 5px;
          border-top-right-radius: 5px;

          &-wrapper {
            display: flex;
            width: 594px;
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
          }

          &-button {
            display: flex;
            justify-content: flex-end;
            flex-shrink: 0;
            width: 45px;
            height: 36px;
            margin-left: auto;
          }
        }
      }

      .q-tabs {
        width: 100%;
        background: transparent;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
        margin: 0;
        padding: 0;

        &__content {
          border-radius: 0;

          &--align-justify .q-tab {
            flex: none;
          }
        }

        .q-tab {
          background: transparent;
          min-height: 36px;
          height: 36px;
          padding: 0 5px;
          margin: 0;
          opacity: 1;

          &:first-child {
            padding-left: 0;

            .q-ripple {
              left: 0;
              width: calc(100% - 5px);
            }
          }

          &:last-child {
            padding-right: 0;

            .q-ripple {
              width: calc(100% - 5px);
            }
          }

          .q-focus-helper {
            left: 5px;
            width: calc(100% - 10px);
          }

          .q-ripple {
            left: 5px;
            width: calc(100% - 10px);
          }

          &__content {
            border-radius: 4px;
            background: $white;
            padding: 4px 11px;
          }

          &--inactive {
            background: transparent;
            opacity: 1;

            .q-tab__content {
              background: $white;
            }
          }

          &--active {
            opacity: 1;
            background: transparent;

            .q-tab__content {
              background: $primary;
            }

            .q-tab__label {
              color: $white;
            }
          }

          &__label {
            color: $primary;
            font-size: 12px;
            text-transform: uppercase;
            line-height: normal;
            font-weight: 600;
            margin-top: 2px;
          }

          &__indicator {
            display: none;
          }
        }
      }

      .q-tab-panels {
        display: flex;
        width: 100%;
        background: $white;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        padding: 0;

        .q-tab-panel {
          display: flex;
          width: 100%;
          flex-wrap: wrap;
          background: $white;
          margin: 0;
          padding: 15px;
        }
      }

      .q-tab__icon {
        color: $negative;
      }
    }
  }

  &__back {
    margin-right: 18px;
  }

  &__title {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 5px 15px 15px 15px;
    color: $primary;

    &.loyalty-suite-form__title_settings-inside {
      padding-top: 20px;
    }
  }

  &__row {
    display: flex;
    flex-direction: column;
    width: 50%;
    padding: 15px;
    position: relative;

    &-value {
      display: flex;
      width: 100%;
      margin-top: 5px;
    }

    &-label {
      display: flex;
      align-items: center;
      width: 100%;
      text-transform: uppercase;
      font-size: 12px;
      margin-bottom: 5px;

      &-required {
        color: $negative;
        margin-left: 4px;
      }

      &-currency {
        margin: 0 !important;
        text-transform: none;
      }

      .loyalty-suite-form__row-hint {
        margin-top: -4px;
      }
    }

    &-divider {
      display: flex;
      width: 100%;
      margin: 10px 15px;
      border-top: 1px solid $border;
    }

    textarea.loyalty-suite-form__row-textarea {
      width: 100%;
      border: 1px solid $border-dark !important;
      border-radius: 4px;
      padding: 10px 15px;
      resize: none;

      &:hover {
        border: 1px solid $border-dark !important;
      }
    }

    a.loyalty-suite-form__row-link {
      text-decoration: none;
      color: $primary;
    }

    &-hint {
      display: flex;
      margin: -2px 0 0 auto;
      color: $primary;
    }

    &-twice {
      display: flex;
      width: 100%;

      &-item {
        display: flex;
        width: 100%;

        &:first-child {
          padding-right: 10px;
        }

        &:last-child {
          padding-left: 10px;
        }
      }
    }

    &.loyalty-suite-form__row_toggler {
      padding: 0 15px;
      width: 100%;
    }

    &.loyalty-suite-form__row_nowrap {
      flex-direction: row;
      flex-wrap: nowrap;
    }

    &.loyalty-suite-form__row_full-width {
      width: 100%;
    }

    &.loyalty-suite-form__row_settings {
      width: 100%;
      padding: 10px 15px;
      flex-direction: row;
      align-items: center;

      .loyalty-suite-form__row-label {
        display: inline-block;
        width: auto;
        max-width: 40%;
        text-transform: none;
        align-items: flex-start;
        justify-content: flex-start;
        font-size: 14px;
        line-height: 22px;
        margin: 1px 0 0 0;
        position: relative;

        .loyalty-suite-form__row-hint {
          display: inline-block;
          margin: 0 0 1px 0;
        }
      }

      .q-toggle {
        margin-left: auto;
      }

      .q-toggle__inner {
        margin-right: -10px;
      }

      .q-field {
        width: 270px;
        flex-shrink: 0;
        margin-left: auto;
      }

      &.loyalty-suite-form__row_toggles {
        .loyalty-suite-form__row-label {
          margin-right: auto;
        }
        .q-toggle {
          margin-left: 94px;
        }
      }
    }

    &.loyalty-suite-form__row_columns {
      width: 100%;
      justify-content: flex-end;
      align-items: center;
      flex-direction: row;
      .loyalty-suite-form__column {
        display: flex;
        width: 100px;
        align-items: center;
        justify-content: flex-end;
        &:last-child {
          margin-left: 40px;
        }
      }
    }

    &.loyalty-suite-form__row_tab-action {
      width: 100%;
      flex-direction: row;
      justify-content: flex-start;
    }

    &.loyalty-suite-form__row_align-left {
      justify-content: flex-start;

      .q-btn {
        align-self: flex-start;
      }
    }

    &.loyalty-suite-form__row-pro {
      position: relative;
      .q-badge {
        flex-shrink: 0;
        width: 40px;
        height: 25px;
        justify-content: center;
        align-items: center;
        font-weight: 700;
        position: absolute;
        bottom: 22px;
        right: 24px;
      }
    }
  }

  &__file {
    .q-field__label {
      max-width: auto;
      transform: none;
      top: 18px;
      font-size: 16px;
    }
  }

  &__error {
    display: flex;
    width: 100%;
    position: absolute;
    left: 15px;
    bottom: -5px;
    font-size: 12px;
    color: $negative;
  }

  &__preview {
    display: flex;
    height: 40px;
    padding: 0 15px;
    flex-shrink: 0;
    background: $white;
    border: 1px solid $border-dark;
    border-radius: 4px;
    position: relative;
    z-index: 2;

    &.loyalty-suite-form__preview_empty {
      &:hover {
        cursor: pointer;
      }
    }

    &-container {
      display: flex;
      align-items: center;
      width: 100%;
      height: 100%;
    }

    &-name {
      width: 100%;
      margin-left: 5px;
      margin-right: 40px;
      font-size: 14px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    &-label {
      width: 100%;
      margin-left: 5px;
      margin-right: 40px;
      font-size: 14px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      color: #0009;
    }

    &-icon {
      width: 15px;
      font-size: 16px;
      color: #0009;
      margin-top: 1px;
      margin-left: -3px;
    }

    .q-btn.loyalty-suite-form__preview-remove {
      width: 24px;
      height: 24px;
      min-height: 24px;
      position: absolute;
      z-index: 3;
      right: 9px;
      top: 8px;
      border-radius: 50%;
      visibility: hidden;
      opacity: 0;
      transition: 0.3s;
    }

    &:hover {
      cursor: pointer;

      .q-btn.loyalty-suite-form__preview-remove {
        visibility: visible;
        opacity: 1;
      }
    }

    img {
      width: 20px;
      height: 20px;
      border-radius: 4px;
      object-fit: cover;
    }
  }

  &__color {
    &-preview {
      width: 20px;
      height: 20px;
      border-radius: 4px;
      border: 1px solid rgba(0, 0, 0, 0.24);
      margin-right: 12px;
    }

    &-choose {
      font-size: 20px;
      margin-left: 12px;
      transition: 0.3s;

      &:hover {
        color: $primary;
      }
    }

    &-reset {
      font-size: 24px;
      margin-left: 11px;
      margin-top: 1px;
      color: $negative;
    }
  }

  &__conditions-modal {
    width: 530px;
    min-width: 530px;
    min-height: 190px;
    overflow: auto;

    &::-webkit-scrollbar {
      width: 10px;
    }

    &::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.2);
      border-radius: 3px;
      transition: 0.3s;
    }

    &::-webkit-scrollbar-thumb:hover {
      background: rgba(0, 0, 0, 0.3);
    }

    &::-webkit-scrollbar-track {
      opacity: 0;
    }

    .q-card__section {
      padding: 10px 20px 15px 20px !important;
    }

    .q-card__actions {
      padding: 0 20px 30px 20px !important;
    }
  }

  &-conditions-list {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 15px;

    &-item {
      display: flex;
      flex-direction: column;
      width: 100%;
      margin-bottom: 15px;
      border: 1px solid $border-dark;
      border-radius: 4px;

      &:last-child {
        margin-bottom: 0;
      }

      &__content {
        display: flex;
        flex-direction: column;
        width: 100%;

        &-wrapper {
          display: flex;
          width: 100%;
          padding: 0;

          &:last-child {
            .loyalty-suite-form-conditions-list-item__content-label {
              border-bottom-left-radius: 4px;
              border-bottom: none;
            }

            .loyalty-suite-form-conditions-list-item__content-value {
              border-bottom-right-radius: 4px;
              border-bottom: none;
            }
          }

          &:first-child {
            .loyalty-suite-form-conditions-list-item__content-label {
              border-top-left-radius: 4px;
            }

            .loyalty-suite-form-conditions-list-item__content-value {
              border-top-right-radius: 4px;
            }
          }
        }

        &-label {
          display: flex;
          align-items: center;
          flex-shrink: 0;
          width: 170px;
          background: $accent;
          line-height: 20px;
          padding: 15px;
          border-bottom: 1px solid $border-dark;
          border-right: 1px solid $border-dark;
        }

        &-value {
          display: flex;
          align-items: center;
          width: 100%;
          line-height: 20px;
          padding: 15px;
          border-bottom: 1px solid $border-dark;
          overflow: hidden;
        }
      }

      textarea.loyalty-suite-form-conditions-list-item__textarea {
        width: 100%;
        border: 1px solid $border-dark !important;
        border-radius: 4px;
        padding: 10px 15px;
        resize: none;

        &:hover {
          border: 1px solid $border-dark !important;
        }
      }

      &__action {
        display: flex;
        margin-left: auto;
        align-self: flex-start;
        flex-shrink: 0;

        &-wrapper {
          display: flex;
          margin-left: 10px;
          flex-shrink: 0;
        }

        .q-btn {
          height: 30px;
          min-height: 30px;
          padding: 0 9px;
        }
      }

      &__edit {
        margin-right: 5px;
      }

      .q-btn.loyalty-suite-form-conditions-list-item__toggle {
        margin-right: 5px;
      }

      .q-btn.loyalty-suite-form-conditions-list-item__move {
        margin-right: 5px;
      }
    }

    &__title {
      display: flex;
      width: 100%;
      padding: 10px 15px;
    }
  }

  &__rewards-modal {
    width: 530px;
    min-width: 530px;
    min-height: 190px;
    overflow: auto;

    &::-webkit-scrollbar {
      width: 10px;
    }

    &::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.2);
      border-radius: 3px;
      transition: 0.3s;
    }

    &::-webkit-scrollbar-thumb:hover {
      background: rgba(0, 0, 0, 0.3);
    }

    &::-webkit-scrollbar-track {
      opacity: 0;
    }

    .q-card__section {
      padding: 10px 20px 15px 20px !important;
    }

    .q-card__actions {
      padding: 0 20px 30px 20px !important;
    }
  }

  &-rewards-list {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 15px;

    &-item {
      display: flex;
      flex-direction: column;
      width: 100%;
      margin-bottom: 15px;
      border: 1px solid $border-dark;
      border-radius: 4px;

      &:last-child {
        margin-bottom: 0;
      }

      &__content {
        display: flex;
        flex-direction: column;
        width: 100%;

        &-wrapper {
          display: flex;
          width: 100%;
          padding: 0;

          &:last-child {
            .loyalty-suite-form-rewards-list-item__content-label {
              border-bottom-left-radius: 4px;
              border-bottom: none;
            }

            .loyalty-suite-form-rewards-list-item__content-value {
              border-bottom-right-radius: 4px;
              border-bottom: none;
            }
          }

          &:first-child {
            .loyalty-suite-form-rewards-list-item__content-label {
              border-top-left-radius: 4px;
            }

            .loyalty-suite-form-rewards-list-item__content-value {
              border-top-right-radius: 4px;
            }
          }
        }

        &-label {
          display: flex;
          align-items: center;
          flex-shrink: 0;
          width: 170px;
          background: $accent;
          line-height: 20px;
          padding: 15px;
          border-bottom: 1px solid $border-dark;
          border-right: 1px solid $border-dark;
        }

        &-value {
          display: flex;
          align-items: center;
          width: 100%;
          line-height: 20px;
          padding: 15px;
          border-bottom: 1px solid $border-dark;
        }

        &-currency {
          margin-left: 4px;
        }
      }

      &__action {
        display: flex;
        margin-left: auto;
        align-self: flex-start;
        flex-shrink: 0;

        &-wrapper {
          display: flex;
          margin-left: 10px;
          flex-shrink: 0;
        }

        .q-btn {
          height: 30px;
          min-height: 30px;
          padding: 0 9px;
        }
      }

      &__edit {
        margin-right: 5px;
      }

      .q-btn.loyalty-suite-form-rewards-list-item__toggle {
        margin-right: 5px;
      }

      .q-btn.loyalty-suite-form-conditions-list-item__move {
        margin-right: 5px;
      }
    }

    &__title {
      display: flex;
      width: 100%;
      padding: 10px 15px;
    }
  }

  &__action {
    display: flex;
    width: 100%;

    .q-btn {
      min-width: 100px;
      text-transform: uppercase;
    }

    &-delete {
      margin-right: 15px;
    }

    &-error {
      display: flex;
      width: 100%;
      padding: 15px 0;
      font-size: 14px;
      color: $negative;
    }

    &-success {
      display: flex;
      width: 100%;
      padding: 15px 0;
      font-size: 14px;
      color: $positive;
    }
  }

  &__select-info {
    color: $primary;
  }

  &__tab-panels {
    display: flex;
    width: 100%;
    background: $white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 0;
  }

  &__tab-panel {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    background: $white;
    margin: 0;
    padding: 15px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }

  &__cards {
    display: flex;
    width: calc(100% + 10px);
    flex-wrap: wrap;
    margin: 0 -5px;
  }

  &__card {
    display: flex;
    width: 50%;
    padding: 5px;

    &:last-child {
      img {
        width: calc(100% - 3px);
      }
    }

    &-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      padding: 20px;
      background: $white;
      border: 1px solid $border;
      border-radius: 4px;
      transition: 0.3s;

      &:hover {
        cursor: pointer;
        border-color: $primary;
      }
    }

    &-img {
      display: flex;
      width: 100%;
      object-fit: contain;
      margin-bottom: 20px;
    }
  }

  input {
    border: none;
    border-radius: 0;
    min-height: auto;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin: 0;
    color: $dark;
    font-size: 14px;

    &:hover,
    &:focus {
      outline: none;
      box-shadow: none;
      border: none;
    }
  }

  textarea {
    border: none;
    border-radius: 0;
    min-height: auto;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin: 0;
    color: $dark;
    font-size: 14px;

    &:hover,
    &:focus {
      outline: none;
      box-shadow: none;
      border: none;
    }
  }

  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
  }

  input[type="number"] {
    -moz-appearance: textfield;
    appearance: none;
  }

  .q-radio--dense {
    .q-radio__label {
      padding-left: 6px;
    }

    .q-radio__inner {
      font-size: 32px;

      &::before {
        display: none;
      }
    }

    .q-radio__bg path {
      fill: $primary;
    }
  }

  .q-field--with-bottom {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .q-field--auto-height {
    .q-field {
      &__control {
        min-height: 40px;
        padding: 0 15px;
      }
    }
  }

  .q-field {
    width: 100%;
    background: $white;
    border-radius: 4px;

    &.loyalty-suite-form__datepicker {
      background: $white;
      border-radius: 4px;

      .q-icon {
        &.text-negative {
          display: none;
        }
      }

      .loyalty-suite-form__datepicker-clear {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;

        .q-icon {
          transition: 0.3s;
        }

        &:hover {
          .q-icon {
            color: $primary;
          }
        }
      }

      .q-field {
        &__control {
          cursor: pointer;

          &::before {
            border-style: solid;
          }

          &:hover {
            &::before {
              border-color: $primary;
            }
          }
        }

        &__native {
          cursor: pointer;
        }
      }
    }

    &.loyalty-suite-form__textarea {
      .q-field {
        &__marginal {
          position: absolute;
          top: 0;
          right: 17px;
        }

        &__control {
          padding: 2px;
        }
      }

      textarea.q-field__native {
        padding: 10px 15px;
      }
    }

    &__control {
      height: 40px;
      padding: 0 15px;

      &:hover {
        &::before {
          border-color: $primary;
        }
      }
    }

    &__label {
      font-size: 14px;
      top: 9px;
      line-height: 24px;
    }

    &__marginal {
      height: 40px;
      padding-right: 3px;

      .q-icon {
        width: 12px;
      }
    }
  }

  .q-field--labeled .q-field__native,
  .q-field--labeled .q-field__prefix,
  .q-field--labeled .q-field__suffix {
    line-height: 24px;
    padding-top: 24px;
    padding-bottom: 5px;
  }

  .q-field--labeled .q-field__native {
    div {
      margin-top: -28px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 200px;
    }
  }

  .q-field--error .q-field__bottom {
    padding: 5px 0 0 0;
  }

  .q-select {
    &.loyalty-suite-simple-select {
      .q-field__native {
        span {
          margin-bottom: 0 !important;
        }
      }
    }

    .q-field__control {
      height: auto;
      padding: 0 0 0 15px;
    }

    .q-icon {
      width: auto;
    }

    .q-select__dropdown-icon {
      display: flex;
      width: 17px;
    }

    .q-field__input {
      font-size: 14px;
      min-width: 100% !important;
      width: 100%;
      height: 25px;
      padding: 0;
      margin: 2.5px 0;
    }

    .q-field__input--padding {
      padding-left: 5px;
    }

    .q-field__native {
      min-height: 40px;
      padding: 5px 0;
      color: $dark;
    }

    .q-chip--dense {
      border-radius: 15px;
      padding: 4px 9px;
      height: 25px;
      margin: 2.5px 5px 2.5px 0;
      background: $primary;

      span {
        color: $white;
        font-size: 11px;
        font-weight: 400;
        margin: 0 !important;
      }
    }

    .q-chip__icon--remove {
      color: $white;
      opacity: 1;
    }

    .q-field__append {
      padding-right: 0;
      padding-left: 5px;

      .loyalty-suite-form__select-clear {
        display: flex;
        height: 100%;
        align-items: center;

        .q-icon {
          transition: 0.3s;
        }

        &:hover {
          .q-icon {
            color: $primary;
          }
        }
      }

      &:last-child {
        padding-right: 10px;
      }

      &:hover {
        cursor: pointer;
      }
    }

    .q-field__append+.q-field__append {
      padding-left: 4px;
    }

    &.loyalty-suite-form__api-select {
      &.loyalty-suite-form__api-select_selected {
        cursor: default;
        pointer-events: none;

        input {
          display: none;
        }

        .q-field__control {
          cursor: default;
        }

        .q-field__native {
          cursor: default;
        }

        .q-field__append {
          display: none;
        }

        .q-chip__icon--remove {
          pointer-events: auto;
        }
      }
    }
  }

  .q-file {
    .q-field__label {
      padding-left: 11px;
    }
  }

  .q-textarea {
    .q-field__native {
      padding-top: 0;
      line-height: 20px;
      padding-top: 10px;
      padding-bottom: 0;
      min-height: 30px;
    }

    .q-field__control {
      min-height: 40px;
      padding: 0 15px 9px 15px;
      height: auto;
    }

    .q-field__control-container {
      padding: 0;
    }
  }

  .q-toggle {
    margin: 0 0 0 -12px;
    align-self: flex-start;

    &__inner {
      margin-right: 5px;

      .q-toggle {
        &__thumb:after {
          background: $negative;
        }

        &__track {
          background: $negative;
        }
      }

      &.q-toggle__inner--truthy {
        .q-toggle {
          &__thumb:after {
            background: $positive;
          }

          &__track {
            background: $positive;
          }
        }

        &:not(.disabled) .q-toggle__thumb:before {
          background: $positive !important;
        }
      }
    }

    &:not(.disabled) .q-toggle__thumb:before {
      background: $negative !important;
    }
  }
}

.loyalty-suite-library {
  &__wrapper {
    display: flex;
    width: 800px;
    min-width: 800px;
    min-height: 500px;
    max-height: 500px !important;
    overflow: auto;

    &::-webkit-scrollbar {
      width: 10px;
    }

    &::-webkit-scrollbar-thumb {
      background: rgba(0, 0, 0, 0.2);
      border-radius: 3px;
      transition: 0.3s;
    }

    &::-webkit-scrollbar-thumb:hover {
      background: rgba(0, 0, 0, 0.3);
    }

    &::-webkit-scrollbar-track {
      opacity: 0;
    }

    .q-card__actions {
      padding: 30px !important;
    }
  }

  &__section {
    display: flex;
    width: 100%;
    height: 500px;
    padding: 20px 20px 20px 25px;
    margin: 0;
    overflow-y: auto;

    &-tabs {
      display: flex;
      flex-direction: column;
      width: 300px;
      padding: 25px 30px;
      background: $accent;
    }
  }

  &__error {
    left: 0;
    bottom: 100%;
  }

  &__file {
    margin-top: auto;
    margin-bottom: 10px;

    &-container {
      display: flex;
      position: relative;
      margin-top: auto;
    }
  }

  &__item {
    display: flex;
    width: 20%;
    padding: 5px;
    align-self: flex-start;

    &-wrapper {
      display: flex;
      height: 90px;
      padding: 5px;
      outline: 1px solid $border;
      border-radius: 4px;
      transition: 0.3s;

      &:hover {
        cursor: pointer;
        outline-color: $primary;
      }
    }
  }

  &__icon {
    display: flex;
    width: 100%;
    height: 80px;
    object-fit: cover;
  }

  .q-field {
    margin-bottom: 10px;
    width: 100%;
    background: $primary;

    &.q-field--outlined.q-field--highlighted {
      .q-field__control:after {
        display: none;
      }
    }

    &__control {
      color: $white;

      &-container {
        position: relative;
      }

      &::before {
        border: none;
      }
    }
  }

  .q-file {
    .q-field__label {
      width: 100%;
      padding-left: 0;
      color: $white;
      left: 50%;
      transform: translateX(-50%);

      .q-icon {
        font-size: 16px;
        color: $white;
        margin-right: 3px;
      }
    }
  }

  .q-tabs {
    width: 100%;
    background: transparent;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin: 0 0 64px 0;
    padding: 0;

    &__content {
      display: flex;
      width: 100%;
      flex-direction: column;
      border-radius: 0;

      &--align-justify .q-tab {
        flex: none;
      }
    }

    .q-tab {
      width: 100%;
      background: transparent;
      min-height: 40px;
      height: 40px;
      margin: 5px 0;
      padding: 0;
      opacity: 1;

      &:first-child {
        margin-top: 0;
      }

      &:last-child {
        margin-bottom: 0;
      }

      .q-focus-helper {
        left: 5px;
        width: calc(100% - 10px);
      }

      .q-ripple {
        left: 5px;
        width: calc(100% - 10px);
      }

      &__content {
        border-radius: 4px;
        background: $white;
        padding: 4px 11px;
      }

      .q-tab__content {
        width: 100%;
      }

      &--inactive {
        background: transparent;
        opacity: 1;

        .q-tab__content {
          background: $white;
        }
      }

      &--active {
        opacity: 1;
        background: transparent;

        .q-tab__content {
          background: $primary;
        }

        .q-tab__label {
          color: $white;
        }
      }

      &__label {
        color: $primary;
        font-size: 12px;
        text-transform: uppercase;
        line-height: normal;
        font-weight: 600;
        margin-top: 2px;
      }

      &__indicator {
        display: none;
      }
    }
  }

  .q-tab-panels {
    display: flex;
    width: 100%;
    background: $white;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 0;

    .q-tab-panel {
      display: flex;
      width: 100%;
      flex-wrap: wrap;
      background: $white;
      margin: 0;
      padding: 0;
    }
  }
}
