.accountSettings {
  display: flex;
  flex-direction: row !important;
  background: transparent !important;
  overflow: hidden !important;
  padding: 0 !important;
}

html[theme=dark] .accountSettings .modal-close-icon:hover {
  filter: brightness(0) invert(1);
}

.accountSettings * {
  font-family: "Poppins" !important;
  color: var(--text-color);
  font-size: 14px;
}

.accountSettings button {
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.accountSettingsAside {
  width: 100%;
  max-width: 198px;
  padding: 36px 16px 16px;
  display: flex;
  flex-direction: column;
  background: var(--modal-bg-aside);
}

.accountSettingsAside__info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 8px;
}

.accountSettingsAside__info span {
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-blue);
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.accountSettingsAside__info p {
  font-size: 14px;
  font-weight: 500;

}

.accountSettingsAside__controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

button.accountSettingsAside__bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 8px;
}

.accountSettingsAside__controls button,
button.accountSettingsAside__bottom {
  background: transparent;
  border: none;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  border-radius: 6px;
  transition: all .3s;
}

.accountSettingsAside__controls button.active {
  background: var(--color-blue);
  pointer-events: none;
  transition: all .2s;

  span {
    color: #fff;
  }
}

.accountSettingsAside__controls button:hover,
button.accountSettingsAside__bottom:hover {
  background: var(--acc-btn-hover);
}

.accountSettingsAside__controls button.active svg {
  filter: brightness(0) invert(1);
}

.accountSettingsContent {
  width: 100%;
}

.accountSettingsContent__header {
  padding: 21px 24px 21px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line-grey-color);
  position: relative;

  &::after {
    content: "";
    background: linear-gradient(180deg, var(--thead-scroll-gradient-prim) 0%, var(--thead-scroll-gradient-sec) 100%);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 23px;
    pointer-events: none;
    transition: all 300ms ease-in-out;
    z-index: 2;
    opacity: 0;
  }
}

.accountSettingsContent.scrolled-y .accountSettingsContent__header::after {
  opacity: 1;
}

.accountSettingsContent__header span {
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  color: var(--text-color);
  display: block;
}

.accountSettingsContent__header button {}

.accountSettingsContent__tabs {
  /* padding: 24px 24px 24px 40px; */
  /* padding: 0 24px 0 40px; */
  padding: 0 14px 0 24px;
  height: 100%;
  max-height: calc(100% - 67px);
}


@media screen and (max-width: 1150px) {
  .accountSettingsContent__tabs {
    max-height: calc(100% - 69px - 80px);
  }
}

.accountSettingsContent__tab {
  display: none;
}

.accountSettingsContent__tab.active {
  display: block;
  height: 100%;
  overflow: auto;
  padding: 24px 0;
  /* padding: 24px 42px 24px 16px; */
}

.accountSettingsContent__tab.accountSettingsAccount.active {
  overflow: hidden;
}

.accountSettingsContent__tab.accountSettingsAccount {
  padding-inline: 0;
}

.accountSettingsContent__tab.accountSettingsAccount.active {
  display: flex;
  flex-direction: column;
}

.accountSettingsAccount__tabs>div:not(.active) {
  display: none;
}

.accountSettingsGroupWrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: auto;
  gap: 30px;
}

.accountSettingsAccount__controls {
  display: flex;
  gap: 32px;
  position: sticky;
  top: 0;
  background: #fff;
  padding-bottom: 16px;
}

.accountSettingsAccount__controls button {
  padding: 6px 0;
  display: block;
  font-size: 18px;
  color: #8086A5;
}

.accountSettingsAccount__controls button.active {
  border-bottom: 3px solid var(--color-blue);
  color: var(--text-color);
  font-weight: 600;
}

.accountSettingsAccount__tabs {
  margin-top: 16px;
}

.accountSettingsGroup .btn {
  border: 1px solid var(--color-blue);
  color: var(--text-color);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: 6px;
  transition: all .3s;
}

.accountSettingsGroup .btn span {
  color: inherit;
}

.accountSettingsGroup .btn.hidden {
  display: none;
}

.accountSettingsGroup .btn:hover {
  background-color: var(--color-blue);
  color: #fff;
}

.accountSettingsGroup .btn:hover span {
  transform: none;
}

.accountSettingsGroup .btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  gap: 8px;
  color: #fff;
  background-color: var(--color-blue);
}

.accountSettingsGroup .btn-primary svg {
  stroke: #fff;
  transition: all .3s;
}

.accountSettingsGroup .btn-primary.btn-disabled,
.accountSettingsGroup .btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.accountSettingsGroup .btn-primary:not(:disabled):hover {
  background-color: transparent;
  color: var(--color-blue);
}

.accountSettingsGroup .btn-primary:not(:disabled):hover svg {
  stroke: var(--color-blue);
}

.accountSettingsGroup__header {
  border-bottom: 1px solid #434343;
  padding-bottom: 16px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

@media screen and (max-width: 1150px) {
  .accountSettingsGroup__header-row {
    margin-bottom: 0;
  }
}

.accountSettingsGroup__title {
  font-size: 18px;
  font-weight: 500;
}

.accountSettingsGroup__title_sm {
  font-size: 16px;
  font-weight: 400;
  color: var(--alerts-settings-cell-text);
}

.accountSettingsGroup__title-main {
  font-size: 18px;
  font-weight: 500;
}

.accountSettingsGroup__title-secondary,
.accountSettingsGroup__title-secondary * {
  font-size: 16px;
  font-weight: 400;
  color: var(--alerts-settings-cell-text);
}

.accountSettingsGroup--withoutLine .accountSettingsGroup__title {
  border-bottom: none;
  padding-bottom: 0;
}

.accountSettingsGroup__title button {
  padding: 7px 10px;
  border: 1px solid #CFCFCF;
  border-radius: 6px;
  font-size: 12px;
}

.accountSettingsGroup__field {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accountSettingsGroup__field--col>div:first-child {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accountSettingsGroup__field--select>div:first-child>div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.accountSettingsGroup__field--radio {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  gap: 24px;
}

.accountSettingsGroup__field--radio>div {
  width: auto !important;
}

.accountSettingsGroup__field label:not(.checkbox),
.accountSettingsGroup__field label:not(.select) {
  font-size: 12px;
  color: #8086A5;
}

.accountSettingsGroup__field label.checkbox {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color) !important;
}

.accountSettingsGroup__field label.select {
  font-size: 16px;
}

.accountSettingsGroup__field input {
  width: 100%;
  margin-top: 8px;
  border: none;
  padding: 0;
}

.accountSettingsGroup__field>div:first-child {
  width: 100%;
}

/* .accountSettingsGroup__field>div:not(.accountSettingsGroup__actions)>button {
  padding: 7px 10px;
  border: 1px solid #CFCFCF;
  border-radius: 6px;
  margin-top: 32px;
  font-size: 12px;
} */

.accountSettingsGroup .custom-select .ui-selectmenu-button {
  padding: 16px 16px;
  border-radius: 16px;
}

.accountSettingsGroup .custom-select .ui-selectmenu-text {
  font-size: 16px;
}

.modal-open .ui-selectmenu-open {
  z-index: 1010;
}

.ui-dialog[aria-describedby=Account_Settings] {
  z-index: 1000;
  padding: 0 !important;
}

.ui-dialog[aria-describedby=Account_Settings] .ui-dialog-titlebar {
  display: none;
}


.radio {}

.radio input {
  display: none;
}

.radio span {
  font-size: 16px !important;
  color: var(--text-color) !important;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
}

.radio span::before {
  content: '';
  border: 2px solid var(--radio-bullet);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  transition: all .4s;
}

.radio span::after {
  content: '';
  border-radius: 50%;
  width: 10px;
  height: 10px;
  background: var(--radio-bullet);
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  transition: all .4s;
}

.radio input:checked+span {
  text-shadow: 0px 0px var(--text-color);
}

.radio input:checked+span::before {
  border-color: var(--color-blue);
}

.radio input:checked+span::after {
  background: var(--color-blue);
}

.radio:hover span::before {
  border-color: var(--radio-bullet-hover);
}

.radio:hover span::after {
  background: var(--radio-bullet-hover);
}

.radio--media img {
  margin-top: 24px;
  max-width: 100%;
  width: 235px;
  height: 120px;
  object-fit: cover;
}

.accountSettingsContent__header button.back {
  display: none;
}



@media screen and (max-width: 1150px) {

  .accountSettingsAside,
  .accountSettingsContent .tabs-modal-close {
    display: none;
  }

  #Account_Settings {
    padding: 0 !important;
    transition: none !important;
  }

  .accountSettingsContent__header {
    padding: 24px;
    justify-content: center;
    position: relative;
  }

  .accountSettingsContent__header button.back {
    display: block;
    position: absolute;
    top: 24px;
    left: 24px;
  }

  .accountSettingsContent__header span {
    font-size: 20px;
    font-weight: 400;
  }

  .accountSettingsContent__tabs {
    padding: 0 16px;
  }

  .radio--media img {
    width: 345px;
    height: auto;
  }

  .accountSettingsAside__controls button:hover,
  button.accountSettingsAside__bottom:hover {
    background: transparent;
  }
}

.tab-alerts {
  .tab-alerts__filter-wrapper {
    display: none;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    /* margin-bottom: 14px; */

    .setting-alert-modal__select-group {
      margin-bottom: 0;
    }

    @media screen and (min-width: 1150px) {
      display: flex;
      max-width: calc(100% - 62px - 12px);
    }
  }

  .tab-alerts__header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: space-between;
    margin-bottom: 14px;

    @media screen and (min-width: 1150px) {
      gap: 25px 12px;
      align-items: flex-start;
    }
  }

  .tab-alerts__header-buttons--mobile {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;

    @media screen and (min-width: 1150px) {
      display: none;
    }
  }

  .tab-alerts__header-buttons--desktop {
    display: none;

    @media screen and (min-width: 1150px) {
      display: flex;
      order: 3;
    }
  }

  .tab-alerts__header-button {
    padding: 12px;
    border-radius: 12px;
    overflow: hidden;
    /* background: var(--alerts-settings-button); */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: var(--text-color-secondary);
    border: 1px solid var(--alerts-settings-header-button);

    @media screen and (min-width: 1150px) {
      padding: 15px 20px;
      max-width: 62px;
    }

    &.tab-alerts__add-alerts-btn,
    &.tab-alerts__filters-btn {
      display: flex;
      align-items: center;
      gap: 10px;
      border-color: var(--alerts-settings-header-button);

      @media screen and (min-width: 1150px) {
        border-color: var(--alerts-settings-header-button-d);
      }
    }

    &.tab-alerts__filters-btn.active {
      background: #12BAEF;
      border-color: #12BAEF;
    }

    &.tab-alerts__header-button-group {
      transition: all .2s;

      svg {
        transition: all .2s;
        filter: brightness(0) invert(1);
      }

      &:hover {
        border-color: #00A4D8;

        svg {
          filter: none !important;
        }
      }
    }

    &:hover {
      background: transparent;
    }

    &:active {
      /* transform: scale(0.95); */
    }
  }

  .tab-alerts__snooze-toggle {
    display: flex;
    align-items: center;
    gap: 12px;

    @media screen and (min-width: 1150px) {
      width: 100%;
    }

    .switch {
      display: flex;
      align-items: center;
      cursor: pointer;
      position: relative;
    }

    input[type="checkbox"] {
      position: absolute;
      opacity: 0;
      width: 0;
      height: 0;
    }

    .slider {
      display: inline-block;
      width: 39px;
      height: 24px;
      background: var(--alerts-settings-checkbox-bg);
      border-radius: 20px;
      position: relative;
      transition: background 0.3s ease-in-out;
    }

    .slider:before {
      content: '';
      position: absolute;
      width: 18px;
      height: 18px;
      background: #fff;
      border-radius: 50%;
      top: 50%;
      transform: translateY(-50%);
      left: 3px;
      transition: left 0.3s ease-in-out;
    }

    .switch.active .slider {
      background: #00A4D8;
    }

    .switch.active .slider:before {
      left: 18px;
    }

    span {
      font-size: 14px;

      @media screen and (min-width: 1150px) {
        font-size: 18px;
        font-weight: 500;
      }

      span {
        @media screen and (min-width: 1150px) {
          font-weight: 800;
        }
      }
    }
  }

  .tab-alerts__wrapper {
    border: 1px solid var(--table-border-color);
    border-radius: 8px;
    margin-bottom: 8px;

    /* @media screen and (max-width: 1150px) {
      overflow-x: auto;
    } */
  }

  .tab-alerts__grid-row--group {
    min-width: min-content;
  }

  .tab-alerts__grid,
  .tab-alerts__groups {
    width: 100%;
    font-size: 14px;

    .tab-alerts__grid-header {
      min-width: min-content;
      display: grid;
      grid-template-columns: minmax(132px, 1fr) 24px repeat(var(--triggers-count), 1fr) 24px minmax(164px, 1fr) minmax(138px, 1fr);
      /* border-bottom: 1px solid var(--alerts-settings-table-border); */

      @media screen and (min-width: 1150px) {
        grid-template-columns: minmax(232px, 1fr) 24px repeat(var(--triggers-count), 1fr) 24px minmax(164px, 1fr) minmax(138px, 1fr);
      }
    }

    .tab-alerts__grid-header--no-bottom-border {
      border-bottom: none;
    }

    .tab-alerts__grid-header-cell {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 7.5px;
      color: var(--text-color);
      font-weight: normal;
      font-size: 12px;
      text-align: center;
      box-sizing: border-box;
      white-space: nowrap;
      vertical-align: middle;

      &.tab-alerts__grid-header-cell--vertical {
        align-items: flex-end;

        span {
          writing-mode: vertical-lr;
          text-orientation: mixed;
          font-size: 10px;
          transform: rotate(180deg);
          color: inherit;
        }
      }

      &.border-right {
        border-right: 1px solid var(--alerts-settings-table-border);
      }

      &.border-left {
        border-left: 1px solid var(--alerts-settings-table-border);
      }
    }

    .tab-alerts__grid-row {
      min-height: 36px;
      display: grid;
      grid-template-columns: minmax(132px, 1fr) 24px repeat(var(--triggers-count), 1fr) 24px minmax(164px, 1fr) minmax(138px, 1fr);
      /* border-bottom: 1px solid var(--alerts-settings-table-border); */
      border-top: 1px solid var(--alerts-settings-table-border);
      position: relative;

      @media screen and (min-width: 1150px) {
        grid-template-columns: minmax(232px, 1fr) 24px repeat(var(--triggers-count), 1fr) 24px minmax(164px, 1fr) minmax(138px, 1fr);
      }

      &:last-child {
        /* border-bottom: none; */

        &[data-editing="true"] {
          &::before {
            border-radius: 0 0 8px 8px;
          }
        }
      }

      /* &[data-editing="true"] {
        position: relative;

        &::before {
          @media screen and (min-width: 1150px) {
            content: '';
            position: absolute;
            top: -1px;
            left: -1px;
            width: calc(100% + 2px);
            height: calc(100% + 2px);
            box-shadow: inset 0 0 0px 1px #02A1D3;
            pointer-events: none;
            z-index: 10;
          }
        }
      } */
    }

    .tab-alerts__grid-cell {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 6px 7.5px;
      text-align: center;
      color: var(--text-color-secondary);
      box-sizing: border-box;
      position: relative;
      height: 100%;
      font-weight: 500;

      &.tab-alerts__grid-cell--action {
        display: flex;
        align-items: center;
        padding: 0;
        height: 100%;
      }

      &.border-left {
        border-left: 1px solid var(--alerts-settings-table-border);
      }

      .action-items__wrapper {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
        width: 100%;
        padding: 0 6px;

        .action-item {
          max-width: 28px;
          height: 28px;
          background: #434343;
          border-radius: 6px;
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }

      .action-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;

        svg {
          opacity: .7;
          transition: all .2s;
        }

        &:hover {
          svg {
            opacity: 1
          }
        }

        &:disabled {
          opacity: 0.5;
          cursor: not-allowed;
        }

        &.group-action-item-edit {
          width: max-content;
          padding: 6px 7.5px;
        }

        &.group-action-item-delete {
          svg:first-child {
            display: none;
          }

          svg:last-child {
            display: block;
          }

          &[data-prepared="1"] {
            svg:first-child {
              display: block;
            }

            svg:last-child {
              display: none;
            }
          }
        }

        &.tab-alerts__snooze-toggle {
          .switch {
            .slider {
              width: 26px;
              height: 16px;

              &::before {
                width: 12px;
                height: 12px;
              }
            }

            &.active {
              .slider {
                &::before {
                  left: 11px;
                }
              }
            }
          }
        }
      }

      &:first-child {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        text-align: left;
        border-right: 1px solid var(--alerts-settings-table-border);
      }
    }
  }

  .tab-alerts__grid--ungrouped {
    /* overflow: hidden; */

    @media screen and (max-width: 1150px) {
      overflow: auto;
      border-radius: 8px;
    }
  }

  .tab-alerts__grid:not(.drag-over) {
    .tab-alerts__grid-row {
      background: var(--color-white);

      &:nth-child(even) {
        background: var(--alerts-settings-odd-row);

        &>div:first-child {
          background: var(--alerts-settings-odd-row);
        }

        &:last-child {
          border-radius: 0 0 8px 8px;

          &>div:first-child {
            border-radius: 0 0 0 8px;
          }
        }
      }
    }

    &>div:last-child {
      &>div:first-child {
        border-radius: 8px 0 0 8px;
      }
    }
  }

  .tab-alerts__indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--alerts-settings-indicator);
  }

  .tab-alerts__indicator--active {
    background: #00cc00;
  }

  .tab-alerts__group {
    border: 1px solid var(--alerts-settings-table-border);
    border-radius: 8px;
    margin-bottom: 8px;
    display: grid;
    grid-template-rows: 36px 1fr;
    transition: grid-template-rows 0.3s ease-in-out;
    /* overflow: hidden; */

    @media screen and (max-width: 1150px) {
      overflow: auto;
    }

    &:not(.drag-over) {
      .tab-alerts__group-header {
        background: var(--alerts-settings-odd-row);
      }

      .tab-alerts__group-item {
        background: var(--color-white);
      }
    }

    &:nth-child(odd) {
      >.tab-alerts__group-header {
        background: transparent;
      }
    }

    /* &[data-editing="true"] {
      position: relative;
      
      &::before {
        @media screen and (min-width: 1150px) {
          content: '';
          position: absolute;
          top: -1px;
          left: -1px;
          width: calc(100% + 2px);
          height: calc(100% + 2px);
          box-shadow: inset 0 0 0px 1px #02A1D3;
          pointer-events: none;
          z-index: 10;
          border-radius: 8px;
        }
      }      
    } */
  }

  .tab-alerts__group--collapsed {
    grid-template-rows: 36px 0fr;

    .tab-alerts__group-header {
      /* background: transparent; */
      border-bottom: 1px solid transparent;
    }

    .tab-alerts__toggle-group svg {
      transform: rotate(-90deg) !important;
    }

    .tab-alerts__group-header {
      border-radius: 8px;
    }

    .tab-alerts__group-header-name {
      border-radius: 8px 0 0 8px !important;
    }
  }

  .tab-alerts__group-header {
    min-height: 36px;
    display: grid;
    grid-template-columns: minmax(132px, 1fr) 24px repeat(var(--triggers-count), 1fr) 24px minmax(164px, 1fr) minmax(138px, 1fr);
    /* transition: background-color 0.3s ease-in-out; */
    color: #fff;
    font-size: 14px;
    border-bottom: 1px solid var(--alerts-settings-table-border);
    border-radius: 8px 8px 0 0;

    @media screen and (min-width: 1150px) {
      grid-template-columns: minmax(232px, 1fr) 24px repeat(var(--triggers-count), 1fr) 24px minmax(164px, 1fr) minmax(138px, 1fr);
    }
  }

  .tab-alerts__group-header-name {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 6px 7.5px;
    border-right: 1px solid var(--alerts-settings-table-border);
    height: 100%;

    img {
      max-width: 20px;
      margin-right: 8px;
    }

    input {
      background: transparent;
      border: none;
      padding: 1px 8px;
      border-radius: 4px;
      width: 100%;

      &.has-error {
        box-shadow: 0 0 3px 1px red;
      }
    }
  }

  .tab-alerts__group-name {
    flex: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
    line-height: normal;
  }

  .tab-alerts__indicator-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 7.5px;
    box-sizing: border-box;
    height: 100%;
  }

  .tab-alerts__group-items {
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: all 0.3s ease-in-out;
    /* overflow: hidden; */
  }

  .tab-alerts__group-items-inner {
    display: flex;
    flex-direction: column;
    transition: visibility 0.3s ease-in-out;
    visibility: hidden;
  }

  .tab-alerts__group:not(.tab-alerts__group--collapsed) .tab-alerts__group-items-inner {
    visibility: visible;
  }

  .tab-alerts__group-item {
    min-height: 36px;
    align-items: center;
    color: #fff;
    font-size: 14px;
    display: grid;
    grid-template-columns: minmax(132px, 1fr) 24px repeat(var(--triggers-count), 1fr) 24px minmax(164px, 1fr) minmax(138px, 1fr);
    border-bottom: 1px solid var(--alerts-settings-table-border);

    @media screen and (min-width: 1150px) {
      grid-template-columns: minmax(232px, 1fr) 24px repeat(var(--triggers-count), 1fr) 24px minmax(164px, 1fr) minmax(138px, 1fr);
    }

    &:last-child {
      border-bottom: none;
    }
  }

  .tab-alerts__group-item[draggable="true"] {
    cursor: move;
  }

  .tab-alerts__group-item-name {
    padding: 6px 7.5px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    /* border-right: 1px solid var(--table-border-color); */
  }

  .tab-alerts__group-indicator-cell {
    position: relative;
    height: 100%;
    padding: 6px 7.5px;
    display: flex;
    align-items: center;
    justify-content: center;

    .tab-alerts__indicator-plug {
      background: transparent;
    }
  }

  .tab-alerts__toggle-group {
    display: inline-block;
    margin-right: 5px;
  }

  .tab-alerts__flag {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 0;

    img {
      width: 100%;
      height: 100%;
    }
  }
}

.tab-alerts__grid-row[draggable="true"] {
  cursor: move;
}

.tab-alerts__drag-icon {
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.tab-alerts__group[data-droppable="true"].drag-over {
  background-color: var(--alerts-settings-drag-bg);
  border-color: var(--alerts-settings-drag-border);
  overflow: hidden;
}

.frequency-select,
.trigger-checkbox {
  pointer-events: auto;
}

.tab-alerts__grid-row[draggable="true"] {
  user-select: none;
}

.tab-alerts__grid--ungrouped.drag-over {
  background-color: var(--alerts-settings-drag-bg);
  border-radius: 8px;
  box-shadow: 0 0 0px 1px var(--alerts-settings-drag-border);
}


/* Settings Alert Modal */
.setting-alert-modal {
  z-index: 1050;
  position: fixed;
  left: 0;
  width: 100%;
  top: 40px;
  height: calc(100dvh - 40px);
  transition: all 0.4s ease-in-out;
  background: var(--modal-bg);
  padding: 16px 24px;
  font-family: 'Poppins', sans-serif;
  display: flex;
  flex-direction: column;

  &.hiddenToLeft {
    left: -30% !important;
  }

  &.hidden {
    opacity: 0;
    transform: translateX(100%);
    pointer-events: none;
  }

  &.overlay {
    &::before {
      content: '';
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: var(--overlay-bg-color);
    }
  }



  @media screen and (min-width: 1150px) {
    padding: 0 0 40px;
  }
}

.setting-alert-modal__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: auto;

  @media screen and (min-width: 1150px) {
    padding: 0 24px 0 40px;
    scrollbar-gutter: stable;
  }
}

.setting-alert-modal__input-group label {
  @media screen and (max-width: 1150px) {
    display: inline-block;
    margin-bottom: 20px;
  }
}

.setting-alert-modal__select-group {
  min-width: 252px;
  margin-bottom: 25px;

  @media screen and (min-width: 1150px) {
    min-width: calc((100% - 24px) / 3);
  }

  &:last-child {
    margin-bottom: 40px;
  }
}

.setting-alert-modal__mainButton {
  background: #00A4D8;
  padding: 15px 26px;
  width: 100%;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1;
  color: white;
  font-weight: 400;
  margin-top: auto;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  /* text-transform: uppercase; */

  &:disabled {
    cursor: not-allowed;
    opacity: 0.6;
  }

  &:hover {
    background-color: var(--blue-btn-color-hover);
  }

  @media screen and (min-width: 1150px) {
    max-width: 230px;
    margin-left: auto;
  }

  &#createAnotherGroup {
    margin: 40px 0 0 0;
  }

  &#saveAlertButton {
    margin: 0;
  }
}

.setting-alert-modal__secondaryButton {
  border: 1px solid #00A4D8;
  background: transparent;
  padding: 15px 26px;
  width: 100%;
  border-radius: 12px;
  font-size: 16px;
  line-height: 1;
  color: var(--text-color);
  font-weight: 400;
  margin-top: auto;
  font-family: inherit;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  /* text-transform: uppercase; */

  &#resetFilterButton {
    margin: auto 0 20px;
  }
}

.setting-alert-modal__header {
  margin-bottom: 16px;

  @media screen and (min-width: 1150px) {
    padding: 24px 30px 24px 40px;
    border-bottom: 1px solid var(--alerts-settings-table-border);
    margin-bottom: 36px;
  }
}

.setting-alert-modal__title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-color-secondary);

  @media screen and (min-width: 1150px) {
    margin-bottom: 0;
  }
}

.setting-alert-modal__label {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  color: var(--text-color-secondary);

  svg {
    margin-right: 8px;
  }
}

.setting-alert-modal__filter-label {
  margin: 0;

  span {
    font-size: 10px;
    color: var(--alerts-settings-cell-text);
    line-height: 1;
    font-weight: 400;
  }

  .iconSvg {
    margin-left: 0;
    margin-right: 4px;
    max-width: 12px;
    height: auto;
  }
}

.setting-alert-modal__label-group {
  display: flex;
  flex-direction: column;
}

.setting-alert-modal__plus {
  width: 14px;
  height: 14px;
  position: relative;
  margin-left: auto;
  margin-right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  opacity: .7;
  transition: all .2s;

  &::before,
  &::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 1px);
    width: 100%;
    height: 2px;
    background: #989898;
  }

  &::after {
    transform: rotate(90deg);
  }

  &:hover {
    opacity: 1;
  }
}

.setting-alert-modal__form {
  margin-bottom: 25px;
}

.setting-alert-modal__form input {
  min-height: 52px;
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid var(--alerts-settings-select-options-border);
  padding: 10px 16px !important;
  border-radius: 12px;
  color: var(--text-color);
  font-size: 14px;
  background: transparent;
  font-family: 'Poppins', sans-serif;
  cursor: auto;

  &::placeholder {
    color: #fff;
  }

  &:focus {
    &::placeholder {
      opacity: 0;
    }
  }
}

.setting-alert-modal__group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;

  .setting-alert-modal__label {
    margin-bottom: 0;
  }
}

.setting-alert-modal-add-group,
.setting-alert-modal-add-alert-success,
.setting-account-change-field,
.setting-account-edit-extrauser {
  @media screen and (min-width: 1150px) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 550px;
    border-radius: 20px;

    &.hidden {
      opacity: 0;
      pointer-events: none;
      transform: translate(-50%, -50%);
    }
  }

  .setting-alert-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    button {
      background: none;
      border: none;
      cursor: pointer;
    }
  }
}

.setting-alert-modal-add-alert-success {
  .setting-alert-modal__header {
    display: contents;

    button {
      position: absolute;
      top: 24px;
      right: 30px;
      z-index: 10;
    }
  }

  .setting-alert-modal__content {
    justify-content: center;
    align-items: center;
    gap: 24px;

    img {
      width: 100px;
      height: 100px;
    }

    p {
      font-size: 30px;
      font-weight: 700;
      color: var(--text-color-secondary);
    }

    span {
      display: block;
      font-size: 16px;
      color: var(--alerts-settings-cell-text);
    }
  }
}

.setting-alert-modal .has-error {
  .setting-alert-modal__label {
    color: red;
  }

  input {
    border-color: red;
    color: red;
  }

  @media screen and (min-width: 1150px) {
    animation: trembling .3s;
  }
}

.border-left {
  border-left: 1px solid var(--alerts-settings-table-border) !important;
}

.border-right {
  border-right: 1px solid var(--alerts-settings-table-border) !important;
}

.frequency-select {
  font-size: 14px;
  background: transparent;
  border: none;
}

.trigger-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--alerts-settings-indicator);
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease;
  pointer-events: none;
  margin: 0;
}

.trigger-checkbox:checked {
  background: #02A1D3;
}

.trigger-button:hover {
  .trigger-checkbox:not(:checked) {
    background: #6E6E6E;
  }
}

.tab-alerts__group .action-item--move {
  /* display: none; */

  &:not(.action-item--editing) {
    @media screen and (min-width: 1150px) {
      opacity: 0;
      pointer-events: none;
    }
  }
}

.tab-alerts__group[data-editing="true"] .action-item--move {
  /* display: inline-block; */
}

.tab-alerts__group--collapsed .tab-alerts__group-items {
  display: none;
}

.trigger-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-alerts__grid-row .trigger-button,
.tab-alerts__group .trigger-button {
  padding: 6px 7.5px;
}


/* Custom Select Component */
.custom-select {
  position: relative;
  width: 100%;
  overflow: hidden;

  &.open {
    overflow: visible;
  }

  &.custom-select--in-table {
    /* position: static; */
    /* background: var(--table-main-background); */
    background: transparent;
    padding: 4px 2px;
    border-radius: 4px;
  }
}

.custom-select__button {
  /* height: 60px; */
  min-height: 52px;
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid var(--alerts-settings-select-options-border) !important;
  padding: 10px 16px !important;
  border-radius: 12px;
  color: #fff;
  font-size: 14px !important;
  cursor: pointer !important;
  background: transparent;
  font-family: 'Poppins', sans-serif !important;
  transition: all .3s;

  svg {
    margin-left: auto;
  }

  &.custom-select__button--in-table {
    padding: 0 !important;
    border: none !important;
    justify-content: center;
    min-height: unset;

    svg {
      margin-left: 0;
      position: absolute;
      right: 20px;
    }
  }

  &.custom-select__button-trigger {
    padding: 4px 16px !important;
  }

  .setting-alert-modal__label {
    max-height: 20px;
    opacity: 1;
    transition: all .2s linear;
    overflow: hidden;
  }

  .custom-select__label-group {
    transition: all .2s linear;
  }

  &.active,
  &:hover {
    border-color: #00A4D8 !important;

    .custom-select__label-group {
      gap: 0;
    }

    .setting-alert-modal__label {
      max-height: 0;
      opacity: 0;
    }
  }
}

.custom-select__arrow {
  transition: transform 0.3s ease-in-out;
}

.custom-select__button.active {
  border-radius: 12px 12px 0 0;
}

.custom-select__button.active.upward {
  border-radius: 0 0 12px 12px;
}

.custom-select__button.active .custom-select__arrow {
  transform: rotate(180deg);
}

.custom-select__options {
  padding: 8px 8px 16px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  /* background: var(--alerts-settings-select-options-bg); */
  background: var(--ui-widget-bg);
  border: 1px solid var(--alerts-settings-select-options-border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  z-index: 10;
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  transform: scaleY(0.95);
  transform-origin: top;
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 4px;

  &.open {
    opacity: 1;
    transform: scaleY(1);
    visibility: visible;
    pointer-events: auto;
  }

  &.upward {
    top: auto;
    bottom: 100%;
    border-radius: 12px 12px 0 0;
    transform-origin: bottom;
    transform: scaleY(0.95);

    &.open {
      transform: scaleY(1);
    }
  }

  &.custom-select__options--in-table {
    border-top: 1px solid var(--alerts-settings-select-options-border);
  }
}

.custom-select__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px;
  border-radius: 4px;
  color: var(--text-color-secondary);
  font-size: 14px;
  cursor: pointer;

  &:hover {
    /* background: var(--alerts-settings-select-option-hover); */
    background: var(--table-border-color);
  }
}

.custom-select__option.selected {
  background: #555555;
}

.custom-select__checkbox {
  position: relative;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.custom-select__checkbox-box {
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #696969;
  border-radius: 2px;
  background: transparent;
}

.custom-select__checkbox-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 6px;
  display: none;

  path {
    stroke: #00B157;
  }
}

.custom-select__checkbox.checked .custom-select__checkbox-box {
  border-color: #00B157;
}

.custom-select__checkbox.checked .custom-select__checkbox-check {
  display: block !important;
}

.custom-select:not(.multi-select) .custom-select__checkbox {
  display: none;
}

.custom-select__label-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.custom-select__selected-option {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color-secondary);
  line-height: 1;
  display: inline-block;

  &.custom-select__selected-option-trigger {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    /* overflow: auto; */
    max-width: 95%;
    scrollbar-width: none;
    -ms-overflow-style: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }
}

.custom-select__selected-option-interactive {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--alerts-settings-odd-row);
  padding: 10px 8px;
  border-radius: 8px;
  /* max-width: 81px; */
  gap: 4px;

  span {
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: normal;
    max-width: 100%;
    display: block;
    white-space: nowrap;
  }

  button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }

  svg {}
}

.tab-alerts .tab-alerts__grid-header>div:first-child,
.tab-alerts .tab-alerts__grid-cell:first-child,
.tab-alerts .tab-alerts__group:nth-child(odd) .tab-alerts__group-header>div:first-child,
.tab-alerts .tab-alerts__group-item-name,
.tab-alerts .tab-alerts__group-header-name {
  position: sticky;
  left: 0;
  z-index: 1;
  /* max-width: 57%; */

  @media screen and (min-width: 1150px) {
    position: static;
    max-width: 100%;
  }

  &::after {
    content: "";
    background: linear-gradient(90deg,
        var(--thead-scroll-gradient-prim) 0%,
        var(--thead-scroll-gradient-sec) 100%);
    position: absolute;
    top: -1px;
    bottom: 0;
    left: 100%;
    width: 0px;
    pointer-events: none;
    transition: all 300ms ease-in-out;
    z-index: 2;
  }
}

.tab-alerts .tab-alerts__grid:not(.drag-over) .tab-alerts__grid-header>div:first-child,
.tab-alerts .tab-alerts__grid:not(.drag-over) .tab-alerts__grid-cell:first-child,
.tab-alerts .tab-alerts__group:not(.drag-over):nth-child(odd) .tab-alerts__group-header>div:first-child,
.tab-alerts .tab-alerts__group:not(.drag-over) .tab-alerts__group-item-name,
.tab-alerts .tab-alerts__group:not(.drag-over) .tab-alerts__group-header-name {
  background: var(--color-white);
  border-radius: 8px 0 0;
}

.tab-alerts .tab-alerts__grid .tab-alerts__grid-row:last-child .tab-alerts__grid-cell:first-child {
  border-radius: 0 0 0 8px;
}



.tab-alerts .tab-alerts__group:not(.drag-over) {


  .custom-select.custom-select--in-table {
    background: var(--table-main-background);
  }

  .tab-alerts__group-header-name {
    background: var(--alerts-settings-odd-row);

    input {
      background: var(--table-main-background);
    }
  }
}

.tab-alerts .tab-alerts__group:not(.drag-over) .tab-alerts__group-item-name,
.tab-alerts__grid-row:last-child,
.tab-alerts__group-item:last-child {
  border-radius: 0 0 8px 8px;
}

.tab-alerts .scrolled-x div::after {
  width: 24px !important;
}

.tab-alerts .tab-alerts__grid.drag-over .tab-alerts__grid-header>div:first-child,
.tab-alerts .tab-alerts__grid.drag-over .tab-alerts__grid-cell:first-child,
.tab-alerts .tab-alerts__group.drag-over:nth-child(odd) .tab-alerts__group-header>div:first-child,
.tab-alerts .tab-alerts__group.drag-over .tab-alerts__group-item-name,
.tab-alerts .tab-alerts__group.drag-over .tab-alerts__group-header-name,
.tab-alerts .tab-alerts__group.drag-over .tab-alerts__group-header-name,
.tab-alerts .tab-alerts__group.drag-over .tab-alerts__group-item-name {
  background: var(--alerts-settings-drag-bg);
  border-radius: 8px 0 0 8px;
}

.tab-alerts__grid-row.ghost,
.tab-alerts__group-item.ghost {
  opacity: 0.8;
  position: fixed !important;
  right: 16px;
  pointer-events: none;
  z-index: 1000;
  min-width: unset;
  background: var(--alerts-settings-odd-row);
  overflow: hidden;

  .tab-alerts__grid-cell:first-child {
    background: var(--alerts-settings-odd-row) !important;
  }
}

.tab-alerts__flag.flag.multi-operation:before {
  /* background-color: #393E54; */
  /* background-image: url(/img/icons/multiopertion2.svg); */
  background-image: url(/img/icons/multiopertion.svg);
  border-color: #fff;
}

.tab-alerts__flag.flag.single-operation:before {
  /* background-color: #D34E4E; */
  /* background-image: url(/img/icons/singleoperation2.svg); */
  background-image: url(/img/icons/singleoperation.svg);
  border-color: #fff;
}

.tab-alerts__grid-row-nodata,
.tab-alerts__group-nodata {
  padding: 12px !important;
  font-size: 12px;

  @media screen and (max-width: 1150px) {
    max-width: 132px;
  }
}

.tab-alerts__grid-nodata {
  padding: 16px;
}

.alerts-loading {
  display: none;
}

.alerts-loading.in-loading {
  display: block;

  +* {
    display: none;
  }
}

#settingsFilterAlerts.hidden {
  transform: translateY(100%);
}

.item-editing-border {
  position: relative;

  &::before {
    @media screen and (min-width: 1150px) {
      content: '';
      position: absolute;
      top: -1px;
      left: -1px;
      width: calc(100% + 2px);
      height: calc(100% + 2px);
      box-shadow: inset 0 0 0px 1px #02A1D3;
      pointer-events: none;
      z-index: 10;
    }
  }

  &.tab-alerts__group {
    &::before {
      border-radius: 8px;
    }
  }
}

.accountSettingsUserInfo {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

table.accountSettingsUserInfo {
  display: table;
  margin: 0 -12px;
}

table.accountSettingsUserInfo .accountSettingsUserInfoItem {
  padding: 0;
}

table.accountSettingsUserInfo .accountSettingsUserInfoItem:hover {
  background-color: transparent;
}


table.accountSettingsUserInfo .accountSettingsUserInfoItem:hover button {
  opacity: .7;
}

table.accountSettingsUserInfo .accountSettingsUserInfoItem button:hover {
  opacity: 1;
}


table.accountSettingsUserInfo:not(:last-child) {
  margin-bottom: 32px;
}

table.accountSettingsUserInfo th {
  white-space: nowrap;
  text-align: left;
  font-size: 14px;
  color: var(--alerts-settings-cell-text);
  padding: 14px 12px;
}

table.accountSettingsUserInfo th:last-child {
  text-align: center;
}

table.accountSettingsUserInfo td {
  font-size: 16px;
  text-align: left;
  padding: 14px 12px;
}

.accountSettingsUserInfoItem {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  border-radius: 12px;
  padding: 11px 16px;
  margin-left: -16px;
  margin-right: -16px;
  border: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}

.accountSettingsUserInfoItem__buttons {
  margin-top: 16px;
}

.accountSettingsUserInfoItem__buttons .btn {
  opacity: 1;
}

.accountSettingsUserInfoItem:hover {
  background-color: var(--table-main-background);
}

.accountSettingsUserInfoItem:hover button {
  opacity: 1;
}

.accountSettingsUserInfoItem.active button {
  opacity: 1;
}

.accountSettingsUserInfoItem.active {
  border: 1px solid var(--color-blue);
}

.accountSettingsUserInfoItem.active:hover {
  background-color: transparent;
}

.accountSettingsUserInfoItem .btn-edit {
  display: block;
}

.accountSettingsUserInfoItem .btn-save {
  display: none;
}

.accountSettingsUserInfoItem.active .btn-edit {
  display: none;
}

.accountSettingsUserInfoItem.active .btn-save {
  display: block;
}


.accountSettingsUserInfo-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.accountSettingsUserInfo-actions button {
  opacity: .7;
  transition: opacity .3s;
}

.accountSettingsUserInfo-actions button:hover {
  opacity: 1;
}


.accountSettingsUserInfo-actions button.btn-delete svg:first-child {
  display: none;
}

.accountSettingsUserInfoItem__wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.accountSettingsUserInfoItem__title {
  font-size: 12px;
  color: var(--alerts-settings-cell-text);
}

.accountSettingsUserInfoItem__value {
  color: var(--text-color-secondary);
}

.accountSettingsUserInfoItem__value.hidden {
  display: none;
}

.accountSettingsUserInfoItem__edit.hidden {
  display: none;
}

.accountSettingsUserInfo input {
  background: transparent;
  margin-top: 0;
  font-size: 14px;
  border: 1px solid var(--color-blue);
  padding: 12px 16px;
  border-radius: 12px;
}

.accountSettingsContent__tab.active.accountSettingsAccount {
  display: flex;
  flex-direction: column;
  padding-inline: 0;
}

.accountSettingsContent__tab.active.accountSettingsSubscriptions {
  display: flex;
  flex-direction: column;
  padding-inline: 0;
}

.accountSettingsContent__tab.active.accountSettingsSubscriptions .accountSettingsGroup {
  padding: 0 10px 0 16px;
}

@media screen and (max-width: 1150px) {
  .accountSettingsContent__tab.active.accountSettingsSubscriptions .accountSettingsGroup {
    padding: 0;
  }

}

.accountSettingsAccount .accountSettingsGroupWrap {
  display: none;
}

.accountSettingsAccount .accountSettingsGroupWrap.active {
  display: flex;
}

/* tabs */

.accountSettingsContent__tablist {
  overflow-x: auto;
  display: flex;
  gap: 24px;
  padding: 0 16px;

  -ms-overflow-style: none;
  scrollbar-width: none;
}

@media screen and (max-width: 1150px) {
  .accountSettingsContent__tablist {
    padding: 0 8px;
  }
}

.accountSettingsContent__tablist::-webkit-scrollbar {
  display: none;
}

.accountSettingsContent__tablist:not(:last-child) {
  margin-bottom: 24px;
}

.accountSettingsContent__tabitem {
  white-space: nowrap;
  cursor: pointer;
  padding: 6px 0px;
  font-size: 18px;
  color: var(--alerts-settings-cell-text);
  transition: color .3s ease-in-out;
}


.accountSettingsContent__tabitem:hover {
  color: var(--text-color);
}

.accountSettingsContent__tabitem.active {
  border-bottom: 3px solid var(--color-blue);
  color: var(--text-color);
  font-weight: 600;
}

.accountSettingsContent__tabWrapper {
  flex: 1;
  overflow: auto;
  padding: 0 42px 0 16px;
}

.accountSettingsGroup:not(:last-child) {
  margin-bottom: 40px;
}

.accountSettingsGroup .button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}


.accountSettingsGroup .button:hover svg {
  opacity: 1;
}


.accountSettingsGroup .button svg {
  opacity: 0.7;
  transition: opacity .3s ease-in-out;
}

html[theme=light] .accountSettingsGroup .button.save-new-btn svg {
  filter: invert(1);
}

.accountSettingsGroup .button_with-bg {
  background: var(--table-main-background);
}

.accountSettingsGroup .error-msg {
  color: red;
  margin-top: 5px;
  display: none;
}

/* account item */

.accountSettingsGroup__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  padding: 12px 6px;
  transition: padding .2s ease-in-out, border-color .3s ease-in-out, background-color .3s ease-in-out;
  border: 1px solid transparent;
}

@media screen and (max-width: 1150px) {
  .accountSettingsGroup__item {
    padding: 9px 6px;
    border-radius: none;
  }
}

.accountSettingsGroup__item:not(:last-child) {
  margin-bottom: 12px;
}

@media screen and (max-width: 1150px) {
  .accountSettingsGroup__item:not(:last-child) {
    margin-bottom: 8px;
  }
}

.accountSettingsGroup__item_password .accountSettingsGroup__item.active~.btn {
  display: none;
}

.accountSettingsGroup__item_password .accountSettingsGroup__item.active .accountSettingsGroup__item-value {
  display: none;
}

.accountSettingsGroup__item_password .accountSettingsGroup__item.active .accountSettingsGroup__actions {
  display: flex;
}

.accountSettingsGroup__item_password .accountSettingsGroup__actions {
  display: none;
}

.accountSettingsGroup__item:hover {
  background-color: var(--acc-item-hover);
}

@media screen and (max-width: 1150px) {
  .accountSettingsGroup__item:hover {
    background: none;
  }

  .accountSettingsGroup__item:hover .button {
    display: none;
  }
}

.accountSettingsGroup__item.active {
  background: none;
  padding-inline: 16px;
  border-color: var(--color-blue);
}

@media screen and (max-width: 1150px) {
  .accountSettingsGroup__item.active {
    background: none;
    padding-inline: 0;
    border-color: transparent;
  }
}

.accountSettingsGroup__item-wrapper {
  flex: 1;
}

.accountSettingsGroup__item-title {
  font-size: 12px;
  color: var(--alerts-settings-cell-text);
  margin-bottom: 6px;
}

.accountSettingsGroup__item-value {
  font-size: 16px;
  height: 25px;
  display: flex;
  align-items: center;
}

.accountSettingsGroup input {
  font-size: 16px;
  height: 25px;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  line-height: 1;
}

.accountSettingsGroup input:focus {
  border: none;
}

.accountSettingsGroup input::selection {
  background: var(--color-blue);
}

.accountSettingsGroup__item .edit-btn {
  opacity: 0;
  transition: opacity .3s ease-in-out;
}

.accountSettingsGroup__item:hover .edit-btn,
.accountSettingsGroup__item.active .edit-btn {
  opacity: 1;
}

/* table */

.accountSettingsGroup__table {
  width: 100%;
  margin-bottom: 24px;

}

@media screen and (max-width: 1150px) {

  .accountSettingsGroup__table {
    table-layout: fixed;
    border-spacing: 0 24px;
  }

  .accountSettingsGroup__table td.actions {
    width: 94px;
  }
}

.accountSettingsGroup__table tr.new-row td.actions {
  vertical-align: top;
}

.accountSettingsGroup__table tr:hover td {
  background-color: var(--acc-item-hover);
}

.accountSettingsGroup__table tr.active td {
  border-color: var(--color-blue);
}

@media screen and (max-width: 1150px) {
  .accountSettingsGroup__table tr:hover td {
    background: none;
  }

  .accountSettingsGroup__table tr.active td {
    border-color: transparent;
  }
}

.accountSettingsGroup__table tr.active td {
  background: none;
}

.accountSettingsGroup__table th.actions,
.accountSettingsGroup__table td.actions {
  width: 84px;
}

.accountSettingsGroup__table th,
.accountSettingsGroup__table td {
  padding: 5px 6px;
  text-align: left;
  vertical-align: middle;
}

.accountSettingsGroup__table th {
  font-size: 14px;
  color: var(--alerts-settings-cell-text);
  height: 44px;
  white-space: nowrap;
}

.accountSettingsGroup__table th.actions {
  text-align: center;
}

.accountSettingsGroup__table td {
  font-size: 16px;
  color: var(--text-color);
  transition: background-color .3s ease-in-out, border-color .3s ease-in-out;
  border-block: 1px solid transparent;
  height: 46px;
  width: 25%;
}

.accountSettingsGroup__table td:nth-last-child(2) {
  width: auto;
}

@media screen and (max-width: 1150px) {
  .accountSettingsGroup__table td {
    width: auto;
  }
}

.accountSettingsGroup__table td:first-child {
  border-radius: 12px 0 0 12px;
  border-left: 1px solid transparent;
}

.accountSettingsGroup__table td:last-child {
  border-radius: 0 12px 12px 0;
  border-right: 1px solid transparent;
}

@media screen and (max-width: 1150px) {

  .accountSettingsGroup__table th,
  .accountSettingsGroup__table td {
    height: auto;
    max-width: none !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 0 !important;
  }

  .accountSettingsGroup__table td span {
    font-weight: 500;
  }

  .accountSettingsGroup__table td.email {
    font-weight: 400;
    color: var(--alerts-settings-cell-text);
    padding-top: 12px !important;
  }

  .accountSettingsGroup__btns {
    width: 100%;
    position: sticky;
    bottom: 0;
    margin-top: auto;
    background-color: var(--color-white);
  }

  #buyLicensesBtn,
  #addUserBtn {
    width: 100%;
  }
}

.accountSettingsGroup__table input {
  background: var(--table-main-background);
  border-radius: 4px;
  height: 36px;
  padding: 0 8px;
}



.accountSettingsGroup__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media screen and (max-width: 1150px) {
  .accountSettingsGroup__actions {
    display: none;
  }

  table .accountSettingsGroup__actions {
    display: flex;
  }

  .accountSettingsContent__tabWrapper {
    padding: 0 8px;
  }
}

.accountSettingsContent__tabWrapper .accountSettingsGroupWrap {
  display: none;
}

.accountSettingsContent__tabWrapper .accountSettingsGroupWrap.active {
  display: block;
}

@media screen and (max-width: 1150px) {
  #additionalUsersInfo {
    height: 100%;
  }

  #additionalUsersInfo .accountSettingsGroup {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
}

/* subscriptions */
.accountSettingsSubscriptions .accountSettingsGroup {
  height: 100%;
}

.subscriptions {
  display: grid;
  grid-template-columns: 1fr 304px;
  gap: 60px;
  height: 100%;
  overflow: hidden;
}

@media screen and (max-width: 1150px) {
  .subscriptions {
    position: relative;
    display: block;
    overflow: auto;
    padding-right: 12px;
  }
}

.subscriptions__content {
  overflow: auto;
  height: 100%;
  padding-right: 12px;
}

@media screen and (max-width: 1150px) {
  .subscriptions__content {
    overflow: visible;
    height: auto;
    padding-right: 0;
    margin-bottom: 20px;
  }
}

/* subscription selects */

.subscriptions__content .select-box {
  margin-bottom: 24px;
}

.subscriptions__content .select-title-box {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.subscriptions__content .select-box__value {
  padding-left: 32px;
  font-size: 16px;
}


.subscriptions__content .select-title-box .package-select-info-img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.subscriptions__content .select-title-box .package-select-info-img img {
  width: 14px;
  height: 14px;
  margin: 0;
}

/*  */
.subscriptions__content .package-select-info-text {
  max-width: 345px;
  width: 100%;
  box-shadow: 13px 11px 60px 0 #0000000d;
  border-radius: 20px;
  background: var(--table-skeleton-modal-color);
  padding: 40px;
  position: relative;
}

.subscriptions__content .package-select-info-text-inner {
  line-height: 1.2;
}

.subscriptions__content .package-select-info-text-inner:not(:last-child) {
  margin-bottom: 20px
}

.subscriptions__content .package-select-info-text-wrap {
  display: none;
  position: absolute;
  background: #13151799;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  align-items: center;
  justify-content: center;
}

.subscriptions__content .package-select-info-text-wrap.package-select-info-text-toggle {
  display: flex;
  z-index: 1000;
  opacity: 1;
  margin: unset;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0
}

.subscriptions__content .package-select-info-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.subscriptions__content .package-select-info-text h4 {
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
  text-align: left;
}


/*  */
.subscriptions__content .select-title-box img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.subscriptions__content .select-title-box span {
  font-size: 14px;
  font-weight: 500;
}

.subscriptions__content .select-title-box span.sm {
  font-size: 12px;
  font-weight: 400;
}

.subscriptions__content .licences-select-wrap,
.subscriptions__content .package-select-wrap,
.subscriptions__content .regions-select-wrap {
  position: relative;
  height: 52px;
  width: 100%;
}

.subscriptions__content .licences-select-wrap select,
.subscriptions__content .package-select-wrap select {
  display: none;
}


.subscriptions__content .regions-select-wrap .regions-item-label.disabled {
  opacity: .5;
  pointer-events: none
}

.subscriptions__content .regions-select-wrap .regions-item-label.choose {
  font-weight: 600
}

.subscriptions__content .regions-select-wrap .select-choices-inner,
.subscriptions__content .licences-select-box .choices,
.subscriptions__content .package-select-box .choices {
  border: 1px solid var(--alerts-settings-select-options-border);
  width: 100%;
  height: 52px;
  padding: 6px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  transition: .3s ease-in-out;
  cursor: pointer
}

.subscriptions__content .regions-select-wrap .select-choices-inner:after {
  content: "";
  height: 0;
  width: 0;
  border-style: solid;
  border-color: #989898 transparent transparent;
  border-width: 5px;
  position: absolute;
  right: 11.5px;
  top: 50%;
  margin-top: -2.5px;
  pointer-events: none
}

.subscriptions__content .choices__inner,
.subscriptions__content .choices__list--single,
.subscriptions__content .choices__list--single .choices__item--selectable {
  padding: 0 !important;
}

.subscriptions__content .choices__inner {
  height: 100% !important;
  display: flex !important;
  align-items: center;
}

.subscriptions__content .regions-select-wrap .select-choices-inner.open:after {
  border-color: transparent transparent #989898;
  margin-top: -7.5px
}

.subscriptions__content .choices.is-focused,
.subscriptions__content .choices:hover,
.subscriptions__content .regions-select-wrap .select-choices-inner.open,
.subscriptions__content .regions-select-wrap .select-choices-inner:hover {
  border: 1px solid #02a1d3
}

.subscriptions__content .regions-select-wrap .regions-item-box {
  width: 100%;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  transition: opacity .35s ease, transform .35s, visibility 0s ease 0s;
  background: var(--modal-bg-aside);
  z-index: 3;
  box-shadow: 0 0 9px #0000001a;
  padding: 6px;
  border-radius: 8px;
  top: 107%;
  left: 0
}

.subscriptions__content .regions-select-wrap .regions-item-box.open {
  visibility: visible;
  opacity: 1;
  transition: opacity .35s ease, transform .35s, visibility 0s ease 0s
}

.subscriptions__content .choices[data-type*=select-one]::after {
  border-color: #989898 transparent transparent;
}

.subscriptions__content .choices[data-type*=select-one].is-open::after {
  border-color: transparent transparent #989898;
}

.subscriptions__content .licences-select-box .choices__inner,
.subscriptions__content .package-select-box .choices__inner {
  border: none;
  background: #0000;
  font-size: 16px;
  padding: 6px
}

.subscriptions__content .licences-select-box .choices__list.choices__list--dropdown .choices__list,
.subscriptions__content .package-select-box .choices__list.choices__list--dropdown .choices__list {
  ::-webkit-scrollbar {
    width: 3px
  }

  ::-webkit-scrollbar-track {
    background: #0000
  }

  ::-webkit-scrollbar-thumb,
  ::-webkit-scrollbar-thumb:hover {
    background: #d9d9d9
  }

  scrollbar-width: thin;
  scrollbar-color: #d9d9d9 #0000
}

.subscriptions__content .licences-select-box .choices__list.choices__list--dropdown,
.subscriptions__content .package-select-box .choices__list.choices__list--dropdown {
  width: 100%;
  visibility: hidden;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  transition: opacity .35s ease, transform .35s, visibility 0s ease 0s;
  background: var(--modal-bg-aside);
  z-index: 3;
  box-shadow: 0 3px 20px 0 #00000026;
  padding: 0 6px;
  border-radius: 8px;
  top: 107%;
  left: 0;
  border: none;
  margin-top: 0;
  will-change: opacity, transform, visibility;
}


.subscriptions__content .licences-select-box .choices__list.choices__list--dropdown .choices__list,
.subscriptions__content .package-select-box .choices__list.choices__list--dropdown .choices__list {
  padding: 6px 0;
}

.subscriptions__content .licences-select-box .choices__list.choices__list--dropdown.is-active,
.subscriptions__content .package-select-box .choices__list.choices__list--dropdown.is-active {
  visibility: visible !important;
  opacity: 1 !important;
  transition: opacity .35s ease, transform .35s, visibility 0s ease 0s;
  max-height: 300px;
}

.subscriptions__content .package-select-box .choices__list--dropdown .choices__placeholder {
  display: none;
}

.subscriptions__content .licences-select-box .choices__item,
.subscriptions__content .package-select-box .choices__item {
  line-height: 1.5;
  font-size: 16px;
  border-radius: 8px;
  transition: .1s ease-in-out
}

.subscriptions__content .licences-select-box .choices__item.is-highlighted:not(.choices__item--disabled),
.subscriptions__content .package-select-box .choices__item.is-highlighted:not(.choices__item--disabled) {
  background: var(--acc-item-hover) !important;
}

.subscriptions__content .regions-select-wrap .regions-item-label {
  display: block;
  position: relative;
  border-radius: 8px;
  padding: 6px;
  padding-left: 35px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none
}

.subscriptions__content .regions-select-wrap .regions-item-label:hover {
  font-weight: 600;
  background: var(--acc-item-hover)
}

.subscriptions__content .regions-select-wrap .regions-item-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0
}

.subscriptions__content .regions-select-wrap .regions-item-label .checkmark {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #c4bebe;
  border-radius: 3px;
  background-color: #fff
}

.subscriptions__content .regions-select-wrap .regions-item-label .checkmark {
  height: 16px;
  width: 16px
}

.subscriptions__content .step-form-box-right .toggle-container .checkmark {
  height: 14px;
  width: 14px
}

.regions-select-wrap .regions-item-label .checkmark {
  left: 13px
}

.subscriptions__content .regions-select-wrap .regions-item-label input:checked~.checkmark {
  border: 1.5px solid #27ae60
}

.subscriptions__content .regions-select-wrap .checkmark:after {
  content: "";
  position: absolute;
  display: none
}

.subscriptions__content .regions-select-wrap .regions-item-label input:checked~.checkmark:after {
  display: block
}

.subscriptions__content .regions-select-wrap .regions-item-label .checkmark:after {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 7px;
  background: url(/img/step-form/check-green.svg) no-repeat 50%;
  background-size: contain
}

.subscriptions__content .regions-select-wrap .regions-item-label .checkmark:after {
  width: 9px;
  height: 7px
}

/* subscription modules */

.subscriptions__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.subscriptions__card {
  padding: 12px 12px 12px 16px;
  border-radius: 8px;
  background: var(--subscription-card-bg);
}

@media screen and (max-width: 1150px) {
  .subscriptions__card {
    padding: 12px 16px;
  }
}

.subscriptions__card svg {
  max-width: 100%;
  max-height: 100%;
}

.subscriptions__card[open] .subscriptions__card-arrow {
  transform: rotate(180deg);
}

.subscriptions__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  filter: grayscale(1);
}


.subscriptions__card-summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
}

.subscriptions__card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 18px;
}

.subscriptions__card-title-text {
  font-size: inherit;
  line-height: 1.2;
}

.subscriptions__card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  transition: transform .3s ease-in-out;
}

.subscriptions__card-action {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 0;
}

.subscriptions__card-price {
  font-weight: 500;
  white-space: nowrap;
}

.subscriptions__card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style-type: disc;
  padding: 0 46px;
  margin-top: 8px;
}

.subscriptions__card-list-item {
  opacity: 0.8;
  line-height: 1.2;
}

.subscriptions__data {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.subscriptions__data-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

@media screen and (max-width: 1150px) {
  .subscriptions__data-content {
    padding-bottom: 64px;
  }
}

.subscriptions__data-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.subscriptions__data-item {}

.subscriptions__data-item-wrap:not(:last-child) {
  margin-bottom: 12px;
}

.subscriptions__data-item-wrap table {
  width: 100%;
}

.subscriptions__data-item-wrap table+table {
  border-top: 1px solid #434343;
}

.subscriptions__data-item-wrap table+table td {
  padding-top: 10px;
}

.subscriptions__data-item-wrap table:not(:first-child) {
  margin-top: 16px;
}

.subscriptions__data-item-wrap table tr:not(:first-child) td {
  padding-top: 10px;
}

.subscriptions__data-item-wrap table tr:not(:last-child) td {
  padding-bottom: 10px;
}

.subscriptions__data-item-wrap table td {
  text-align: left;
  font-size: 16px;
}

.subscriptions__data-item-wrap table td span {
  font-size: inherit;
  display: inline-table;
}

.subscriptions__data-item-wrap table td.sm {
  font-size: 14px;
}

.subscriptions__data-item-wrap table td.gray {
  color: var(--alerts-settings-cell-text);
}

.subscriptions__data-item-wrap table td:last-child {
  text-align: right;
}

.subscriptions__data-item-note,
.subscriptions__data-item-note * {
  font-size: 12px;
  color: var(--alerts-settings-cell-text);
}

.subscriptions__data-btn .btn {
  width: 100%;
}

.subscriptions__data-text {
  font-size: 14px;
  line-height: 1.4;
  color: var(--alerts-settings-cell-text);
}

@media screen and (max-width: 1150px) {
  .subscriptions__data-btn {
    padding: 0 16px 24px;
    background: var(--modal-bg);
    height: 64px;
    width: 100%;
    position: fixed;
    bottom: 80px;
    left: 0;
  }

  .subscriptions__data-btn::after {
    content: "";
    position: absolute;
    left: 0;
    top: -20px;
    width: 100%;
    height: 20px;
    background: linear-gradient(0deg,
        var(--dark-light-gradient) 0%,
        transparent 100%);
  }

  .subscriptions__data-btn .btn {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* custom checkbox */

.custom-checkbox.disabled .custom-checkbox__checkmark::after {
  opacity: 1;
  border-color: var(--radio-bullet);
}

.custom-checkbox {
  width: 32px;
  height: 32px;
  padding: 3px;
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 22px;
  user-select: none;
}

.custom-checkbox.disabled {
  cursor: not-allowed;
}

.custom-checkbox .custom-checkbox__field {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox__checkmark {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  border: 2px solid var(--radio-bullet);
  border-radius: 4px;
  transition: all .3s easy-in-out;
}

.subscriptions__card-check .custom-checkbox__checkmark {
  border-color: transparent;
}

.subscriptions__card-check .custom-checkbox__checkmark::after {
  opacity: 1 !important;
  border-color: var(--auth-checkbox-background) !important;
}

.custom-checkbox:hover .custom-checkbox__field~.custom-checkbox__checkmark {
  border-color: color-mix(in srgb, var(--auth-checkbox-background), transparent 50%);
}

.custom-checkbox .custom-checkbox__field:checked~.custom-checkbox__checkmark {
  border-color: var(--auth-checkbox-background)
}

.custom-checkbox .custom-checkbox__field:checked~.custom-checkbox__checkmark:after {
  opacity: 1;
}

.custom-checkbox .custom-checkbox__checkmark:after {
  content: "";
  position: absolute;
  opacity: 0;
  left: 7px;
  top: 4px;
  width: 7px;
  height: 11px;
  border-radius: 2px;
  border: solid var(--auth-checkbox-background);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: all .3s easy-in-out;
}

.custom-toast {
  width: 210px !important;
  max-width: none !important;
}

@media screen and (max-width: 1150px) {
  .custom-toast {
    width: 195px !important;
  }
}