.geoadv-app-wrapper-united__header {
    display: flex; /* Убедимся, что flex используется */
    align-items: center; /* Центрируем содержимое по вертикали */
    justify-content: space-between; /* Разделим логотип и другие элементы */
    padding: 0 16px; /* Увеличим отступы для симметрии */
    height: 64px; /* Высота хедера остаётся фиксированной */
    background: rgba(20, 21, 22, 0.5);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #1b1b1d;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    box-sizing: border-box; /* Убедимся, что padding не влияет на ширину */
}

.geoadv-app-wrapper-united__menu-button {
    display: flex;
    align-items: center; /* Логотип выравнивается по центру вертикально */
}

.geoadv-logo-wrapper {
    height: 48px; /* Ограничиваем высоту */
    display: flex;
    align-items: center; /* Центрируем логотип по вертикали */
    overflow: hidden; /* Убираем всё, что выходит за границы обёртки */
}

.geoadv-logo {
    max-height: 90%; /* Ограничиваем высоту логотипа относительно обёртки */
    width: auto; /* Сохраняем пропорции */
}

.geoadv-logo_size_l {
    height: calc(100% - 90%);
    width: auto;
}
.link_theme_on-white, .link_theme_on-white:focus {
    color: #198cff;
}
@media screen and (min-width: 48em) {
    .link_size_m {
        font-size: 16px;
    }
}
.link_size_m {
    font-size: 16px;
    line-height: 1.4;
}
.link, .link *, .link :after, .link :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.link {
    -webkit-tap-highlight-color: rgba(0, 0, 0, .1);
    cursor: pointer;
    outline: none;
    text-decoration: none;
    -webkit-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-timing-function: ease;
    transition-timing-function: ease;
}

.geoadv-app-wrapper-united:not(.geoadv-app-wrapper-united_noHeader) .geoadv-app-wrapper-united__content-wrapper {
    padding-top: 64px;
}
.geoadv-app-wrapper-united__content-wrapper {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-grow: 1;
}

.geoadv-app-wrapper-united:not(.geoadv-app-wrapper-united_noHeader) .geoadv-app-wrapper-united__sidebar {
    margin-top: 64px;
}
.geoadv-app-wrapper-united__sidebar {
    border-right: 1px solid #1b1b1d;
    margin-top: 64px;
    bottom: 0;
    position: fixed;
    top: 0;
    width: 240px;
    background: rgba(20, 21, 22, 0.2);
    backdrop-filter: blur(15px);
}
.sc-sidebar-ya-business-sidebar {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    padding-left: 4px;
    padding-top: 8px;
}

@media screen and (min-width: 48em) {
    .sc-sidebar-ya-business-sidebar__scroll {
        scrollbar-face-color: #3f5454;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        scrollbar-track-color: transparent;
        scrollbar-color: transparent;
        scrollbar-width: thin;
    }
}
.sc-sidebar-ya-business-sidebar__scroll {
    -webkit-box-flex: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1;
    flex: 1 1;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-y: auto;
}

.sc-sidebar-ya-business-sidebar__box {
    display: flex;
    flex-direction: column;
    /*height: 100vh;*/
    padding: 16px 0;
    overflow: hidden;
}

.sc-sidebar-ya-business-sidebar-item {
    background-color: rgba(50, 53, 85, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    height: auto;
    margin: 8px 8px 0 4px;
    overflow: hidden;
    position: relative;
}
.sc-sidebar-ya-business-sidebar-item-active {
    background-color: rgb(48, 117, 252, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    height: auto;
    margin: 8px 8px 0 4px;
    overflow: hidden;
    position: relative;
}

.sc-sidebar-ya-business-sidebar-item__nav-item:last-child {
    padding-bottom: 0;
}
.sc-sidebar-ya-business-sidebar-item__nav-item {
    padding-bottom: 16px;
}

@media screen and (min-width: 48em) {
    .sc-sidebar-ya-business-nav-link_size_m {
        font-size: 16px;
    }
}
.sc-sidebar-ya-business-nav-link_size_m {
    font-size: 16px;
    line-height: 1.4;
}
.sc-sidebar-ya-business-nav-link, .sc-sidebar-ya-business-nav-link *, .sc-sidebar-ya-business-nav-link :after, .sc-sidebar-ya-business-nav-link :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.sc-sidebar-ya-business-nav-link {
    -webkit-tap-highlight-color: rgba(0, 0, 0, .1);
    color: #323555;
    cursor: pointer;
    outline: none;
    text-decoration: none;
}

.sc-sidebar-ya-business-nav-link .sc-sidebar-ya-business-nav-link__text {
    border-color: #198cff;
}
.sc-sidebar-ya-business-nav-link__text {
    border-bottom-width: 1px;
    font-family: Yandex Sans Text, Helvetica Neue, Arial, Helvetica, sans-serif;
    font-weight: 500;
    -webkit-transition: border-color .2s ease-out;
    transition: border-color .2s ease-out;
}
.sc-sidebar-ya-business-nav-link, .sc-sidebar-ya-business-nav-link *, .sc-sidebar-ya-business-nav-link :after, .sc-sidebar-ya-business-nav-link :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.sc-sidebar-ya-business-nav-link, .sc-sidebar-ya-business-nav-link *, .sc-sidebar-ya-business-nav-link :after, .sc-sidebar-ya-business-nav-link :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.sc-sidebar-ya-business-sidebar-item__nav-item-title {
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-between;
    padding-right: 8px;
}

.sc-sidebar-ya-business-nav-link, .sc-sidebar-ya-business-nav-link *, .sc-sidebar-ya-business-nav-link :after, .sc-sidebar-ya-business-nav-link :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.sc-sidebar-ya-business-sidebar-item__nav-item-text {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 16px;
    opacity: .6;
    overflow: hidden;
    padding: 8px 0 8px 8px;
}

.sc-sidebar-ya-business-nav-link, .sc-sidebar-ya-business-nav-link *, .sc-sidebar-ya-business-nav-link :after, .sc-sidebar-ya-business-nav-link :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.sc-sidebar-ya-business-sidebar-item__icon {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-right: 12px;
}

.sc-sidebar-ya-business-nav-link, .sc-sidebar-ya-business-nav-link *, .sc-sidebar-ya-business-nav-link :after, .sc-sidebar-ya-business-nav-link :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.sc-sidebar-ya-business-yabs-icon-sprite_size_l {
    height: 20px;
    line-height: 20px;
    width: 20px;
}
.sc-sidebar-ya-business-yabs-icon-sprite {
    display: inline-block;
    vertical-align: middle;
}

.sc-sidebar-ya-business-nav-link, .sc-sidebar-ya-business-nav-link *, .sc-sidebar-ya-business-nav-link :after, .sc-sidebar-ya-business-nav-link :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.sc-sidebar-ya-business-sidebar-item__nav-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sc-sidebar-ya-business-nav-link, .sc-sidebar-ya-business-nav-link *, .sc-sidebar-ya-business-nav-link :after, .sc-sidebar-ya-business-nav-link :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.sc-sidebar-ya-business-yabs-sidebar-item-badge {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #81899a;
    border-radius: 9px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    font-size: 11px;
    height: 18px;
    justify-content: center;
    line-height: 18px;
    padding: 0 6px;
}
.sc-sidebar-ya-business-sidebar-item__nav-item-counter, .sc-sidebar-ya-business-sidebar-item__option-counter {
    margin-left: 3px;
}
.sc-sidebar-ya-business-sidebar-item__nav-item-counter {
    margin-left: auto;
}

.geoadv-app-wrapper-united__sidebar_has-content+.geoadv-app-wrapper-united__content {
    padding-left: 240px;
}

@media (max-width: 768px) {
    .chart-container {
        display: block !important;
    }

    .geoadv-app-wrapper-united__sidebar {
        display: none;
    }

    .geoadv-app-wrapper-united__sidebar_has-content+.geoadv-app-wrapper-united__content {
        padding-left: 0; /* Убираем дополнительное пространство */
    }

    .beta-banner {
        right: auto !important;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        max-width: 90%; /* Устанавливаем максимальную ширину */
        width: auto; /* Автоматическая ширина */
        bottom: 80px !important;
        z-index: 1000 !important;
    }

    .tech-banner {
        right: auto !important;
        left: 50% !important;
        transform: translateX(-50%);
        white-space: nowrap;
        max-width: 90%; /* Устанавливаем максимальную ширину */
        width: auto; /* Автоматическая ширина */
        bottom: 70px !important;
        z-index: 1000 !important;
    }

    .add-button-text {
        font-size: 18px;
    }

    .add-button-new {
        width: 100% !important;
        margin-top: 20px !important;
    }

    .page-no-navigate {
        bottom: 20px !important;
    }
}


@media (max-width: 768px) {
    .add-button-fixed {
        bottom: 80px !important;
        right: 10px !important;
    }
}

.add-button-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    height: 60px;
    width: 60px;
    background: #007bff;
    border-radius: 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    overflow: hidden;

    /* Изначально скрыта */
    opacity: 0;
    visibility: hidden;

    /* Анимация */
    transition: opacity 0.3s ease, visibility 0.3s ease, width 0.3s ease, box-shadow 0.3s ease;
}

.add-button-fixed.visible {
    opacity: 1;
    visibility: visible;
}

.add-button-fixed .icon {
    position: absolute;
    right: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.add-button-fixed .add-button-tooltip-text {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease 0.1s;
}

/* Hover эффект только для десктопа */
@media (min-width: 769px) {
    .add-button-fixed:hover {
        width: 280px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .add-button-fixed:hover .icon {
        opacity: 0;
    }

    .add-button-fixed:hover .add-button-tooltip-text {
        opacity: 1;
    }
}

/* Для мобильных — только эффект нажатия */
@media (max-width: 768px) {
    .add-button-fixed:active {
        transform: scale(0.95);
    }
}

.geoadv-app-wrapper-united__content {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    flex-grow: 1;
    width: 100vw;
}

.geoadv-app-wrapper-united__section_body {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1 1;
}

.geoadv-app-wrapper-united__body_body-size_xl {
    max-width: 1200px;
}
.geoadv-app-wrapper-united__body {
    height: 100%;
}

.geoadv-page__loader {
    position: relative;
    width: 100%;
}

@media screen and (min-width: 64.0625em) {
    .geoadv-page {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }
}
.geoadv-page {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -ms-flex-direction: column;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
    padding: 48px 0;
    position: relative;
    width: 100%;
}

@media screen and (min-width: 64.0625em) {
    .geoadv-page__center {
        margin: 0 auto;
        width: 100%;
    }
}
.geoadv-page__center {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 32px;
}

.charts {
    margin-top: 20px;
    padding-bottom: 20px !important;
}

.chart-container {
    display: flex;
    justify-content: space-between;
}

.chart {
    display: flex;
    width: 80%;
    min-height: 350px;
    background: rgba(20, 21, 22, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    text-align: center; /* Центровка текста внутри блока */
}

.add-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 123, 255, 0.5);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
}

.card-container-wide {
    background: rgba(20, 21, 22, 0.2);
    border: 1px solid #333;
    border-radius: 15px;
    margin-bottom: 20px;
    padding: 15px;
}

.chart-container ul {
    margin-right: auto;
    list-style: none;
}

.chart-container ul li {
    margin-bottom: 5px;
}

.card-container-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 10px;
}

.card-container-header > .subscription-line {
    margin: 0;
    margin-right: auto;
}

@media (max-width: 600px) {
    .card-container-header {
        flex-wrap: wrap;
    }

    .card-container-header > .subscription-line {
        width: 100%;
        font-size: 0.92rem;
    }
}
.button-group {
    display: flex;
    gap: 10px;
}

.button-group button {
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.button-group button.active {
    background-color: #0d69f0;
    color: #fff;
}

.button-group button.inactive {
    background-color: rgba(48, 116, 250, 0.2);
    color: #666;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-group button.inactive:hover {
    background-color: #0d69f0;
    color: #fff;
}

.menu-button {
    background-color: rgba(48, 116, 250, 0.2);
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease
}

.menu-button:hover {
    background-color: #0d69f0;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
}

.menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Меню слегка поднято вверх */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    position: absolute;
    background: rgba(20, 21, 22, 1);
    backdrop-filter: blur(30px);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    top: 130px;
    right: 10px;
    z-index: 100;
}

.menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Возвращаем в нормальное положение */
}

.menu button {
    display: block;
    width: 100%;
    border: none;
    background: none;
    padding: 5px 10px;
    text-align: left;
    cursor: pointer;
    color: white;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.menu button:hover {
    color: #266bf2; /* Белый текст */
}

.menu button.delete-button {
    color: #d9534f; /* Красный цвет текста */
}

.menu button.delete-button:hover {
    color: #ff0000; /* Более яркий красный при наведении */
}

.add-card {
    position: relative;
    margin: auto;
    height: 100px;
    width: 80%;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* Создаем градиентный фон для рамки */
    background: linear-gradient(45deg, #AC4CBD 0%, #3076FE 100%);
    padding: 2px; /* Толщина рамки */
    /* Убираем возможные конфликты с Bootstrap */
    border: none !important;
    outline: none !important;
    /* Принудительное центрирование для мобильных */
    display: block !important;
    left: auto !important;
    right: auto !important;
}

.add-card-inner {
    width: 100%;
    height: 100%;
    background: rgba(20, 21, 22, 1);
    backdrop-filter: blur(15px);
    border-radius: 13px; /* Немного меньше чем у родителя */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    transition: all 0.3s ease;
}

.add-card:hover {
    transform: scale(1.05);
    /* Добавляем свечение с градиентом */
    box-shadow:
        0 0 20px rgba(172, 76, 189, 0.6),
        0 0 40px rgba(48, 118, 254, 0.4),
        0 0 60px rgba(172, 76, 189, 0.2);
}

.add-card:hover .add-card-inner {
    /* При наведении делаем фон градиентным */
    background: linear-gradient(45deg, #AC4CBD 0%, #3076FE 100%);
}

/* Дополнительные стили для совместимости с Bootstrap */
.add-card:focus {
    outline: none !important;
    box-shadow:
        0 0 20px rgba(172, 76, 189, 0.4),
        0 0 30px rgba(48, 118, 254, 0.3);
}

.add-card:active {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .add-card {
        width: 80% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
    }

    .add-card-inner {
        font-size: 100%; /* Фиксированный размер шрифта для мобильных устройств */
        text-align: center;
    }

    .chart {
        display: flex;
        width: 100% !important;
    }
}

.loader-container {
    display: flex; /* Используем Flexbox для выравнивания */
    justify-content: center; /* Центрируем по горизонтали */
    align-items: center; /* Центрируем по вертикали */
    height: 100%; /* Убедитесь, что высота контейнера достаточна для вертикального центрирования */
}

.loader {
    border: 8px solid #f3f3f3; /* Цвет фона */
    border-top: 8px solid #3498db; /* Цвет верхней части */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Стиль для неактивных ключей */
.no-statistics .checkmark {
    background: #f0f0f0;
    border-color: #ddd;
    cursor: not-allowed;
}

.no-statistics span {
    color: #999;
}

.card-id {
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 12px;
    color: gray;
    opacity: 0.7;
}
.card-container-wide {
    position: relative; /* Чтобы позиционирование .card-id работало */
}

.sidebar {
    display: list-item;
    gap: 1.2rem;
    list-style: none;
}

.link {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 0.5rem;
    position: relative;
    display: inline-block;
}

.link.this-page {
    color: #0d69f0;
}

.link.this-page::before {
    bottom: 0;
}

.profile-menu {
  position: relative;
  display: inline-block;
}

.profile-button {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    max-width: 100%;
}

.profile-button .email {
    font-size: 18px;
}

.profile-button .avatar-circle {
    display: none;
}

.profile-button .balance {
    text-align: left;
    font-size: 12px;
}

.dropdown {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 0;
  background-color: rgba(20, 21, 22);
  border: 1px solid #1b1b1d;
  border-top: none;
  border-radius: 0 0 5px 5px;
  min-width: 220px;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(15px);
    margin-top: 15px;
}

    .dropdown a {
      color: #ffffff;
      padding: 10px;
      text-decoration: none;
      display: flex;
      align-items: center;
        justify-content: center;
    }

    .dropdown a svg {
      margin-right: 8px;
    }

    .dropdown a:hover {
      background-color: #333;
    }

    .dropdown .balance {
      padding: 10px;
      border-bottom: 1px solid #333;
    }

    .profile-button:hover + .dropdown,
.dropdown:hover {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.arrow-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(135deg);  /* Начальное положение стрелки вниз */
  transition: transform 0.3s ease;
  position: absolute;
  right: 10px; /* Расположим стрелку справа от текста */
  top: 50%; /* Позиционируем по центру вертикально */
  transform: translateY(-50%) rotate(135deg); /* Центрируем и настраиваем угол */
}

/* Поворот стрелки при наведении */
.profile-button:hover .arrow-icon {
  transform: translateY(-50%) rotate(315deg); /* Стрелка будет крутиться при наведении */
}

/* Поворот стрелки при открытом меню */
.profile-menu.open .arrow-icon {
  transform: translateY(-50%) rotate(315deg); /* Если меню открыто, стрелка смотрит вниз */
}

.keyphrases-container {
    margin-top: 10px;
    width: 25%;
}

.list-header {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    padding: 8px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.key-checkboxes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.keyphrase-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.click-count {
    color: #e3e0de;
    min-width: 50px; /* Минимальная ширина для выравнивания */
    text-align: center; /* Выравнивание текста по центру */
    display: flex;
    justify-content: center;
    align-items: center;
}

.legend-button-group {
    display: flex;
    justify-content: center; /* Центрирует кнопки по горизонтали */
    gap: 8px; /* Добавляет отступ между кнопками */
    margin-bottom: 10px; /* Отступ снизу перед списком */
}

.legend-button {
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease
}

.legend-button.active {
    background-color: #0d69f0;
    color: #fff;
}

.legend-button.inactive {
    background-color: #15223d;
    color: #5d5f61;
}

.legend-button:hover {
    background-color: #0d69f0;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
}

.sidebar-bottom {
    position: absolute;
    bottom: 16px; /* Отступ от нижнего края */
    left: 0;
    width: 100%;
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #ccc;
}

.roadmap-container {
    position: relative;
    max-width: 900px;
    padding-top: 15px;
    padding-bottom: 30px;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #91939e !important;
    border-radius: 2px;
}

.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #1e54bd, #266bf2);
    border-radius: 2px;
    transition: width 1s ease-in-out;
}

.milestones {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 17px;
}

.milestone {
    position: relative;
    text-align: center;
    width: 25%;
    color: #fdfaf8;
}

.milestone::before {
    content: '';
    width: 12px;
    height: 12px;
    background-color: #90929d;
    border-radius: 50%;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #000;
    transition: background-color 0.3s ease-in-out;
}

.milestone.active::before {
    background-color: #0066ff;
}

.milestone span {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #90929d;
    margin-bottom: 5px;
}

.milestone span {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #90929d;
    margin-bottom: 5px;
}

.beta-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #3074fa, #a543b6);
  color: #fff;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  border: 2px rgba(0, 0, 0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 2000;
}

.tech-banner {
  position: fixed;
  bottom: 20px;
  left: calc(50% + 130px);
  transform: translateX(-50%);
  background: #ff4444;
  color: #fff;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 5px;
  border: 2px rgba(0, 0, 0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 3000;
}

@media (min-width: 601px) {
  body.has-tech-banner footer.last-block {
    padding-bottom: 40px;
  }
}

.CompanyNavigation_showTouchCompanyMenu {
    display: none;
}

.first-block {
    padding-top: 120px;
}

.first-block-statistics {
    padding-top: 60px;
}

.first-block-price {
    padding-top: 120px;
}



.archive_card {
    min-height: 260px;
}

.back {
    display: none;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  background-color: #3074fa;
  color: #fff;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
    .CompanyNavigation_showTouchCompanyMenu {
        align-items: center;
        bottom: 0;
        display: flex;
        height: 66px;
        justify-content: space-between;
        pointer-events: all;
        right: auto;
        top: auto;
        z-index: 10000;
    }

    .dropdown {
        display: none;
    }
    .profile-button .email {
        display: none;
    }

    .profile-button {
        padding: 0;
    }
    .profile-button .avatar-circle {
        display: flex;
    }

    .profile-button .email {
      font-size: 12px;
    }

    .sc-sidebar-ya-business-company-touch-sidebar {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        background-color: rgba(20, 21, 22, 0.5);
        bottom: 0;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        height: 66px;
        justify-content: space-between;
        padding: 0 24px;
        position: fixed;
        width: 100%;
        z-index: 2003;
        backdrop-filter: blur(15px);
    }

    .sc-sidebar-ya-business-company-touch-sidebar__nav-item {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        min-width: 40px;
        padding: 0 6px;
        position: relative;
        text-align: center;
    }

    .sc-sidebar-ya-business-link_theme_on-color, .sc-sidebar-ya-business-link_theme_on-color:focus {
        color: hsla(0, 0%, 100%, .45);
    }

    .sc-sidebar-ya-business-link_size_m {
        font-size: 16px;
        line-height: 1.4;
    }

    .sc-sidebar-ya-business-link {
        -webkit-tap-highlight-color: rgba(0, 0, 0, .1);
        cursor: pointer;
        outline: none;
        text-decoration: none;
        -webkit-transition-duration: .2s;
        transition-duration: .2s;
        -webkit-transition-property: color;
        transition-property: color;
        -webkit-transition-timing-function: ease;
        transition-timing-function: ease;
    }

    .sc-sidebar-ya-business-company-touch-sidebar__nav-item-light {
        background-color: #ff5063;
        border-radius: 50%;
        color: #fff;
        font-size: 11px;
        font-weight: 500;
        line-height: 18px;
        min-width: 18px;
        position: absolute;
        right: 2px;
        top: -4px;
        z-index: 1;
    }

    .sc-sidebar-ya-business-company-touch-sidebar__nav-item_selected .sc-sidebar-ya-business-company-touch-sidebar__nav-item-icon, .sc-sidebar-ya-business-company-touch-sidebar__nav-item_selected .sc-sidebar-ya-business-company-touch-sidebar__nav-item-text {
        opacity: 1;
    }

    .sc-sidebar-ya-business-company-touch-sidebar__nav-item-icon {
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        align-items: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        height: 24px;
        justify-content: center;
        margin-bottom: 4px;
        width: 24px;
    }

    .sc-sidebar-ya-business-company-touch-sidebar__nav-item-icon .sc-sidebar-ya-business-yabs-icon-sprite {
        color: #fff;
    }

    .sc-sidebar-ya-business-yabs-icon-sprite_size_l {
        height: 20px;
        line-height: 20px;
        width: 20px;
    }

    .sc-sidebar-ya-business-yabs-icon-sprite {
        display: inline-block;
        vertical-align: middle;
    }

    .sc-sidebar-ya-business-company-touch-sidebar__nav-item-text {
        color: #fff;
        font-size: 12px;
        font-weight: 500;
        line-height: 14px;
    }

    .first-block {
        padding-top: 20px !important;
    }

    .first-block-price {
        padding-top: 50px !important;
    }

    .first-block-statistics {
        padding-top: 0 !important;
        margin-top: -20px !important;
    }

    .calendar {
        max-width: 205px !important;
    }

    .back {
        margin-left: -30px;
        margin-right: 0 !important;
        display: block;
    }

    .keyphrases-container {
        width: 100% !important;
    }

    .card-container-header {
        display: flex;
        flex-direction: column;
        align-items: center; /* Центрирует содержимое */
        text-align: center;
    }

    .card-container-header-stats {
        display: flex;
        align-items: center; /* Центрирует содержимое */
    }

    .card-container-header-stats button {
        margin-left: auto !important;
    }

    .card-container-header h5 {
        width: 100%; /* Чтобы текст корректно центрировался */
    }

    .button-group {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        justify-content: center;
        font-size: 12px;
        padding-top: 10px;
    }

    .last-block {
        margin-bottom: 100px !important;
    }

    .milestone span {
        font-size: 12px !important;
    }

    .milestone {
        font-size: 12px !important;
    }

    .right-block {
        margin-left: auto !important;
    }

    .modal {
        --bs-modal-bg: rgba(20, 21, 22, 0.8) !important;
        backdrop-filter: brightness(0.2) !important;
    }

    .card-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-header-buttons {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        width: 100%;
        justify-content: center;
        font-size: 18px;
    }
}

.position-trend {
    margin-left: 8px;
    width: 32px;
    text-align: right;
    font-weight: bold;
    font-size: 0.9em;
}

.position-trend.positive {
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    /*-webkit-box-pack: space-evenly;*/
    /*-ms-flex-pack: space-evenly;*/
    align-items: baseline;
    background-color: #51c15c;
    border-radius: 4px;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 24px;
    justify-content: space-evenly;
    text-align: center;
    width: 32px;
}

.position-trend.negative {
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    /*-webkit-box-pack: space-evenly;*/
    /*-ms-flex-pack: space-evenly;*/
    align-items: baseline;
    background-color: red;
    border-radius: 4px;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 24px;
    justify-content: space-evenly;
    text-align: center;
    width: 32px;
}

.position-trend.no_change {
    color: gray;
}

.position {
    margin-left: auto; /* Толкает элемент вправо */
    padding-right: 4px; /* Можно подвинуть чуть левее от стрелки */
}

.continue-button {
    display: block;
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    text-align: center;
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 14px;
    background: #266cf4;
}

#min-runs-warning {
    color: rgba(217, 83, 79, 0);
    transition: color 0.5s ease;
    pointer-events: none;
}

#min-runs-warning.visible {
    color: rgb(217, 176, 79);
}


#helpOverlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100%;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#helpOverlay.visible {
  opacity: 1;
  pointer-events: all;
}

#helpMenu {
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
#helpMenu.open {
  transform: translateY(0);
}

#historyOverlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100%;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#historyOverlay.visible {
  opacity: 1;
  pointer-events: all;
}

#accountOverlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100%;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#accountOverlay.visible {
  opacity: 1;
  pointer-events: all;
}

#adminOverlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 100%;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#adminOverlay.visible {
  opacity: 1;
  pointer-events: all;
}

#historyMenu {
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
#historyMenu.open {
  transform: translateY(0);
}

#adminMenu {
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
#adminMenu.open {
  transform: translateY(0);
}

.help-menu {
    position: fixed;
    bottom: 66px; /* <-- подняли над нижними кнопками */
    left: 0;
    right: 0;
    background-color: rgba(20, 21, 22);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    transform: translateY(100%);
    transition: transform 0.2s ease-out;
    z-index: 1001;
    padding: 16px 16px;
}

.help-menu.open {
    transform: translateY(0%);
}

.help-menu__item {
    display: block;
    padding: 14px 20px;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.help-menu__item:last-child {
    border-bottom: none;
}

.help-menu__item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



/* Основной контейнер кнопки */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(30, 30, 30, 0.3);
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 8px;
  color: white;
  text-decoration: none;
}

/* Левая часть */
.menu-item__data {
  display: flex;
  align-items: center;
}

/* Иконка слева */
.menu-item__icon {
  background: rgba(30, 30, 30, 0.7);
  border-radius: 12px;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 12px;
}

.menu-item__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* Текст */
.menu-item__text h4 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  max-width: 100% !important;
}

.menu-item__text div {
  font-size: 12px;
  color: #92949F !important;
  line-height: 16px;
}

/* Стрелка справа */
.menu-item__arrow svg {
  width: 24px;
  height: 24px;
  color: white;
}

.sc-sidebar-ya-business-company-touch-main-menu__item-icon svg {
  display: block;
  margin: auto;
}

body.help-menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgb(39, 41, 41);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.icon-button {
  background: #2c2c2c;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 6px 10px;
  margin-left: 10px;
  color: white;
  display: flex;
  align-items: center;
  transition: background 0.2s ease;
}
.icon-button:hover {
  background: #3a3a3a;
}
.icon-button svg {
  fill: white;
}

.bg-dark-data-picker {
    --bs-bg-opacity: 1;
    background-color: rgb(44 44 44) !important;
    border: 1px solid #444 !important;
    transition: background 0.2s ease
}

.bg-dark-data-picker:hover {
    background-color: #3a3a3a;
}

.dropdown-wrapper {
  position: relative;
  display: flex;
}

.dropdown-menu {
  display: none;
  position: fixed;
  top: var(--dropdown-top, 100px);   /* подставим через JS */
  left: var(--dropdown-left, 100px); /* подставим через JS */
  background: #2c2c2c;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 8px;
  z-index: 99999;
  min-width: 160px;
}


.dropdown-menu button,
.dropdown-menu input {
  background: #1e1e1e;
  border: 1px solid #555;
  color: white;
  padding: 6px 10px;
  margin: 4px 0;
  width: 100%;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.dropdown-menu input {
  cursor: default;
}

.dropdown-menu button:hover {
  background: #333;
}

.portfolio.has-dropdown {
  overflow: visible !important;
}

.global-dropdown-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background: #2c2c2c;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 8px;
  z-index: 999999; /* выше чем всё */
  min-width: 160px;
}

.card-container-header-stats {
    display: flex;
    align-items: center; /* Центрирует содержимое */
}

.card-container-header-stats button {
    margin-left: auto !important;
}


@media (max-width: 576px) {
  .px-4.pt-4 {
    flex-wrap: wrap;
    align-items: flex-start !important;
  }

  /* Датапикер на новую строку */
  #dateRange {
    order: 3;
    width: 100%;
    margin-left: 0 !important;
    margin-top: 10px;
    max-width: 100% !important;
    text-align: center;
  }

  /* Обертка share-кнопки — остаётся справа */
  .dropdown-wrapper {
    margin-left: auto;
  }
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.header-left-col {
    display: flex;
    flex-direction: column;
}

.header-left-col .subscription-line {
    margin-top: 6px;
    margin-bottom: 0;
}

.details-inline-button {
    font-size: 16px;
    font-weight: 500;
    color: #fdfaf8;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
    margin-left: auto;
}

.details-inline-button:hover {
    color: #3074fa;
}

.subscription-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.subscription-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.subscription-dot.sub-green { background: #4caf50; }
.subscription-dot.sub-yellow { background: #f5a623; }
.subscription-dot.sub-red { background: #e53935; }

.subscription-text {
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.subscription-text.sub-green { color: #4caf50; }
.subscription-text.sub-yellow { color: #f5a623; }
.subscription-text.sub-red { color: #e53935; }

.subscription-renew {
    font-size: 18px;
    font-weight: 600;
    color: #266bf2;
    text-decoration: none;
    margin-left: 4px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.subscription-renew:hover {
    color: #3d8bfd;
    cursor: pointer;
}

.renew-info {
    padding: 0 8px;
}

.renew-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.renew-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.renew-value {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
}

.details-button-mobile {
    display: none;
}

@media (max-width: 768px) {
    .details-inline-button {
        display: none;
    }
    .details-button-mobile {
        display: block;
        width: 100%;
        padding: 12px;
        font-size: 16px;
        font-weight: 500;
        color: #fdfdfd;
        border: 1px solid #266bf2;
        background: #266bf2;
        border-radius: 12px;
        text-align: center;
        margin-top: 12px;
        margin-bottom: 12px;
        text-decoration: none;
    }

      .share-input-wrapper {
          flex-direction: column !important;
          align-items: center !important;
          gap: 12px;
      }
      #share-url-input {
          width: 100%; /* или max-width: 320px; если нужно ограничить */
          box-sizing: border-box;
      }

      .share-btn {
          margin-top: 15px;
      }

      .link {
          font-size: 15px;
      }
}

.share-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

#share-url-input {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    border-radius: 10px;
    border: 1px solid #444;
    background-color: #111;
    color: #aaa;
    font-family: monospace;
    filter: blur(6px);
    transition: filter 0.3s ease, color 0.3s ease;
}

#share-url-input.revealed {
    filter: none;
    color: #fff;
}

.share-btn {
    position: relative;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    background-color: #266bf2;
    color: #ffffff;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    height: 38px;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.2s ease;
}

.share-btn:hover {
    background-color: #266bf2;
}


.share-btn .btn-content,
.share-btn .btn-loader,
.share-btn .btn-success-icon,
.share-btn .btn-copy-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.hidden {
    opacity: 0;
    pointer-events: none;
}

.fully-hidden {
    display: none !important;
}

.visible {
    opacity: 1;
    pointer-events: auto;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dot {
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    animation: blink 1.2s infinite ease-in-out;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
    0%, 80%, 100% { opacity: 0.3; }
    40% { opacity: 1; }
}

.btn-icon {
    font-size: 16px;
}

.sm-block {
    border-radius: 8px;
    background-color: rgba(20, 21, 22, 0.5);
    padding: 24px;
    box-shadow: 0 8px 24px -18px rgb(0 0 0 / 60%);
    display: flow-root;
    margin-top: 20px;
}

.sm-block-full {
    width: 100%;
}

.table {
    width: 100%;
    min-width: 100%;
    margin-bottom: 0;
    table-layout: auto;
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.shop-header {
    background-color: rgba(20, 21, 22, 0.5);
    border-radius: 8px;
    position: relative;
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border: none;
    font-size: 14px
}

.table > thead > tr > th {
    background: #1f1f23;
    color: #8a8a8a;
    font-size: 12px;
    border-bottom: 1px solid #8a8a8a;
}

.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: middle;
}

.table>:not(caption)>*>*{
    padding: .5rem .5rem;
    color: #898989;
    background-color: #18181c !important;
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)))
}

.sh-balance {
    background-color: #1f1f23;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    color: #0066FF;
}

.sh-history {
    color: #0066FF;
    cursor: pointer;
    padding: 12px 24px;
    font-weight: 500;
}

.money-green {
    color: #27AE60 !important;
}

.money-red {
    color: #EB5757 !important;
}

.money-orange {
    color: #FF851B !important;
}

.account-header {
  padding: 0 10px 10px 10px;
  color: white;
}

.account-avatar {
  display: flex;
  align-items: center;
}

.account-info {
    display: flex;
    flex-direction: column;
    padding-left: 12px;
}

.account-name {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    max-width: 100% !important;
    letter-spacing: -0.2px;
    font-family: "Montserrat", sans-serif;
}

.account-email {
    font-size: 12px;
    color: #92949F !important;
    line-height: 16px;
}

.account-subscription {
  font-size: 13px;
  color: #aaa;
    display: flex;
    justify-content: center;
}

.menu-divider {
  margin: 8px 16px;
  border-top: 1px solid #333;
    padding-bottom: 15px;
}

.settings-button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: color 0.2s;
}

.settings-button:hover {
  color: white;
}

.add-button-text {
    font-size: 24px;

}

/* Основные стили для правильного переноса слов */
.material-checkbox p {
    word-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    line-height: 1.4 !important;
}

/* Дополнительные стили для мобильных устройств */
@media (max-width: 768px) {
    .material-checkbox {
        display: flex !important;
        align-items: flex-start !important; /* Изменить на flex-start для лучшего выравнивания */
        gap: 10px !important;
        width: 100% !important;
    }

    .material-checkbox p {
        flex: 1 !important;
        font-size: 16px !important; /* Немного уменьшить на мобильных */
        margin: 0 !important;
        padding-left: 0 !important;
    }

    .checkmark {
        flex-shrink: 0 !important; /* Предотвратить сжатие чекбокса */
        margin-top: 2px !important; /* Небольшой отступ для выравнивания */
    }

    /* Стили для ссылок */
    .material-checkbox .link {
        word-break: break-word !important;
        display: inline !important;
        padding: 0 !important;
        font-size: inherit !important;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .material-checkbox p {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }
}

/* Специально для длинных слов и URL */
.material-checkbox a {
    word-break: break-all !important;
    overflow-wrap: break-word !important;
}

.add-button-new {
    display: inline-block;
    width: 50%;
    margin: 40px auto 0;
}

.mail-link {
    color: transparent;
    background-image: linear-gradient(0.245turn, rgba(52, 115, 245, 1) 0%, rgba(158, 70, 188, 1) 100%);
}

#smoothStartInfo {
    border: 1px solid #2c2c2e;
    border-radius: 0.5rem;
    background-color: #1e1e1f;
    color: #fff;
}
#smoothStartSteps {
    list-style: none;
    padding-left: 0; /* Убирает отступ слева */
}

.title-edit-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.editable-title {
    margin: 0;
    outline: none;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.editable-title.editing {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border: 1.5px solid rgba(100, 150, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(100, 150, 255, 0.1);
}

.edit-icon {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 2px;
}

.edit-icon:hover {
    color: rgba(100, 150, 255, 0.9);
    transform: translateY(-1px);
}

.edit-icon:active {
    transform: translateY(0);
}

.edit-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.confirm-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.confirm-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.confirm-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}

.cancel-btn {
    background: linear-gradient(135deg, #f44336 0%, #da190b 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3);
}

.cancel-btn:hover {
    background: linear-gradient(135deg, #da190b 0%, #c41408 100%);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.4);
    transform: translateY(-2px);
}

.cancel-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(244, 67, 54, 0.3);
}

/* Анимация появления кнопок */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.edit-actions {
    animation: slideIn 0.2s ease-out;
}

/* Стиль для темной темы */
@media (prefers-color-scheme: dark) {
    .editable-title.editing {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(100, 150, 255, 0.5);
    }
}

/* ──────────── Disabled Keys ──────────── */

.key-disabled {
    position: relative;
}

.key-disabled > .material-checkbox > span:not(.key-disabled-badge),
.key-disabled > .material-checkbox > input,
.key-disabled > .click-count,
.key-disabled > .position-trend {
    opacity: 0.4;
}

.key-disabled-badge {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    padding: 1px 6px;
    font-size: 10px;
    font-weight: 600;
    color: #E53935;
    background: rgba(229, 57, 53, 0.1);
    border: 1px solid rgba(229, 57, 53, 0.2);
    border-radius: 4px;
    line-height: 1.4;
    white-space: nowrap;
}

.key-disabled-tip {
    visibility: hidden;
    opacity: 0;
    width: 280px;
    background: rgba(20, 21, 22);
    color: #fff;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid #424347;
    position: absolute;
    z-index: 10;
    top: 100%;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    transition: opacity 0.3s ease, visibility 0.3s ease;
    font-size: 16px;
    font-weight: 400;
    white-space: normal;
    line-height: 1.4;
    pointer-events: none;
}

.key-disabled:hover > .key-disabled-tip {
    visibility: visible;
    opacity: 1;
}

/* Мобильный тултип рендерится через JS в body — класс .mk-mobile-tip */
.mk-mobile-tip {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 75px;
    width: 90vw;
    max-width: none;
    padding: 10px;
    box-sizing: border-box;
    z-index: 10000;
    background: rgba(20, 21, 22, 0.95);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #424347;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
    pointer-events: none;
    animation: mkTipFadeIn 0.2s ease;
}

@keyframes mkTipFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(5px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 600px) {
    .key-disabled-tip {
        display: none !important;
    }
}

/* ──────────── Notifications ──────────── */

.header-right-group {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.notif-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.notif-bell-btn {
    background: none;
    border: none;
    color: #92949F;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: color .2s, background .2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) {
    .notif-bell-btn:hover {
        color: #ffffff;
        background: rgba(255,255,255,0.06);
    }
}

.notif-bell-btn.active {
    color: #ffffff;
    background: rgba(255,255,255,0.1);
}

.notif-badge {
    position: absolute;
    top: 4px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    background: #E53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

.notif-panel {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: visibility 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    width: 360px;
    max-height: 480px;
    background: #141516;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 1050;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.notif-panel.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.notif-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.notif-panel-title {
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
}

.notif-read-all-btn {
    background: none;
    border: none;
    color: #3076FE;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    font-weight: 500;
    transition: opacity .2s;
}

.notif-read-all-btn:hover {
    opacity: 0.8;
}

.notif-panel-list {
    overflow-y: auto;
    flex: 1;
    padding: 6px 0;
}

.notif-panel-list::-webkit-scrollbar {
    width: 4px;
}

.notif-panel-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 2px;
}

.notif-item {
    display: flex;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background .15s;
    align-items: flex-start;
}

.notif-item:hover {
    background: rgba(255,255,255,0.04);
}

.notif-item.unread {
    background: rgba(48,118,254,0.06);
}

.notif-item.unread:hover {
    background: rgba(48,118,254,0.1);
}

.notif-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3076FE;
    margin-top: 5px;
}

.notif-item:not(.unread) .notif-dot {
    background: transparent;
}

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-item-title {
    font-size: 0.92rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-item-message {
    font-size: 0.92rem;
    color: #92949F;
    line-height: 1.25;
    max-height: 4em;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.notif-item.expanded .notif-item-message {
    max-height: 20em;
}

.notif-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3px;
}

.notif-item-time {
    font-size: 0.85rem;
    color: #62646e;
}

.notif-expand-btn {
    font-size: 0.85rem;
    color: #3076FE;
    cursor: pointer;
    opacity: 1;
}

.notif-link {
    color: #3076FE;
    text-decoration: none;
}

.notif-link:hover {
    text-decoration: underline;
}

.notif-empty {
    text-align: center;
    padding: 32px 16px;
    color: #62646e;
    font-size: 1rem;
}

@media (max-width: 576px) {
    .key-disabled-badge {
        margin-right: 0;
    }
    .notif-panel {
        position: fixed;
        top: 80px;
        left: 8px;
        right: 8px;
        width: auto;
        max-height: calc(100vh - 250px);
    }
}

/* ──────────── Changelog ──────────── */

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 40px;
}

.changelog-empty {
    text-align: center;
    padding: 60px 16px;
    color: #62646e;
    font-size: 1rem;
}

.changelog-entry {
    background: rgba(20, 21, 22, 0.2);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 24px 28px;
    transition: border-color 0.2s ease;
}

.changelog-entry:hover {
    border-color: #444;
}

.changelog-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.changelog-entry-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.changelog-version {
    font-size: 13px;
    font-weight: 600;
    color: #92949F;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 10px;
    border-radius: 6px;
}

.changelog-date {
    font-size: 13px;
    color: #62646e;
}

.changelog-entry-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

/* Items list */
.changelog-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.changelog-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.changelog-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    min-width: 90px;
    padding: 3px 0;
    font-size: 11px;
    font-weight: 600;
    border-radius: 5px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: 2px;
}

.changelog-tag--new {
    color: #2ea043;
    background: rgba(46, 160, 67, 0.12);
    border: 1px solid rgba(46, 160, 67, 0.25);
}

.changelog-tag--fix {
    color: #d29922;
    background: rgba(210, 153, 34, 0.12);
    border: 1px solid rgba(210, 153, 34, 0.25);
}

.changelog-tag--improve {
    color: #3076FE;
    background: rgba(48, 118, 254, 0.12);
    border: 1px solid rgba(48, 118, 254, 0.25);
}

.changelog-item-body {
    flex: 1;
    min-width: 0;
}

.changelog-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.changelog-item-text {
    font-size: 0.92rem;
    color: #92949F;
    line-height: 1.5;
}

.changelog-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #62646e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 12px;
    margin-bottom: 2px;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Admin controls */
.changelog-admin-controls {
    display: flex;
    gap: 6px;
}

.changelog-edit-btn,
.changelog-delete-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #92949F;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.changelog-edit-btn:hover {
    color: #3076FE;
    border-color: rgba(48, 118, 254, 0.3);
    background: rgba(48, 118, 254, 0.08);
}

.changelog-delete-btn:hover {
    color: #E53935;
    border-color: rgba(229, 57, 53, 0.3);
    background: rgba(229, 57, 53, 0.08);
}

/* Admin form */
.changelog-admin-section {
    margin-bottom: 24px;
}

.changelog-toggle-btn {
    background: rgba(48, 118, 254, 0.1);
    border: 1px solid rgba(48, 118, 254, 0.25);
    color: #3076FE;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.changelog-toggle-btn:hover {
    background: rgba(48, 118, 254, 0.18);
}

.changelog-form-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.changelog-form-wrapper.open {
    max-height: 2000px;
}

.changelog-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding: 24px;
    background: rgba(20, 21, 22, 0.2);
    border: 1px solid #333;
    border-radius: 15px;
}

.changelog-input,
.changelog-textarea,
.changelog-select {
    width: 100%;
    padding: 10px 14px;
    font-size: 15px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.changelog-input:focus,
.changelog-textarea:focus,
.changelog-select:focus {
    border-color: rgba(48, 118, 254, 0.4);
}

.changelog-textarea {
    resize: vertical;
    min-height: 80px;
}

.changelog-input--small {
    max-width: 180px;
}

.changelog-select {
    max-width: 200px;
    cursor: pointer;
}

.changelog-select option {
    background: #1a1b1e;
    color: #fff;
}

.changelog-form-row,
.changelog-edit-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.changelog-submit-btn,
.changelog-save-btn {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(45deg, #AC4CBD, #3076FE);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.changelog-submit-btn:hover,
.changelog-save-btn:hover {
    opacity: 0.85;
}

.changelog-cancel-btn {
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #92949F;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.changelog-cancel-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.changelog-edit-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.changelog-edit-actions {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

/* Form items */
.changelog-form-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    color: #92949F;
    font-size: 14px;
    font-weight: 500;
}

.changelog-add-item-btn {
    background: none;
    border: 1px dashed rgba(48, 118, 254, 0.3);
    color: #3076FE;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.changelog-add-item-btn:hover {
    background: rgba(48, 118, 254, 0.08);
    border-color: rgba(48, 118, 254, 0.5);
}

.changelog-form-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.changelog-form-item-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.changelog-input--item-title {
    flex: 1;
    padding: 8px 10px;
    font-size: 13px;
}

.changelog-textarea--item {
    min-height: 50px;
    font-size: 13px;
    padding: 8px 10px;
}

.changelog-select--tag {
    width: auto;
    max-width: 140px;
    padding: 8px 10px;
    font-size: 13px;
}

.changelog-input--section {
    max-width: 130px;
    padding: 8px 10px;
    font-size: 13px;
}

.changelog-input--item-text {
    flex: 1;
    padding: 8px 10px;
    font-size: 13px;
}

.changelog-remove-item-btn {
    background: none;
    border: none;
    color: #62646e;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.15s;
    flex-shrink: 0;
}

.changelog-remove-item-btn:hover {
    color: #E53935;
}

@media (max-width: 600px) {
    .changelog-entry {
        padding: 18px 16px;
    }

    .changelog-form-row,
    .changelog-edit-row {
        flex-direction: column;
    }

    .changelog-input--small,
    .changelog-select {
        max-width: 100%;
    }

    .changelog-entry-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .changelog-form-item {
        flex-wrap: wrap;
    }

    .changelog-select--tag,
    .changelog-input--section {
        max-width: 100%;
    }

    .changelog-input--item-text {
        width: 100%;
    }
}

/* ──────────── Manage Keys Modal ──────────── */

.mk-counter-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
}

.mk-counter {
    font-size: 13px;
    color: #62646e;
    font-weight: 500;
    transition: color 0.2s;
}

.mk-textarea {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
    resize: vertical;
    min-height: 180px;
    line-height: 1.6;
}

.mk-textarea:focus {
    border-color: rgba(48, 118, 254, 0.4);
}

.mk-save-btn {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(45deg, #AC4CBD, #3076FE);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.mk-save-btn:hover {
    opacity: 0.85;
}

.mk-save-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* View switch */
.mk-view-switch {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.mk-view-btn {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #92949F;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.mk-view-btn.active {
    color: #fff;
    background: rgba(48, 118, 254, 0.15);
    border-color: rgba(48, 118, 254, 0.3);
}

.mk-view-btn:hover {
    color: #fff;
}

/* Toggle mode (demo) */
.mk-toggles-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 350px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.mk-toggle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: opacity 0.2s;
}

.mk-toggle-item--disabled {
    opacity: 0.4;
}

.mk-toggle-key-text {
    flex: 1;
    font-size: 15px;
    color: #fff;
    word-break: break-word;
}

.mk-toggle-delete {
    background: none;
    border: none;
    color: #62646e;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.15s;
}

.mk-toggle-delete:hover {
    color: #E53935;
}

.mk-toggles-add-row {
    display: flex;
    gap: 8px;
}

/* Switch toggle */
.mk-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    flex-shrink: 0;
    cursor: pointer;
    margin: 0;
}

.mk-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mk-switch-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    transition: background 0.25s;
}

.mk-switch-slider::before {
    content: '';
    position: absolute;
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
}

.mk-switch input:checked + .mk-switch-slider {
    background: #2ea043;
}

.mk-switch input:checked + .mk-switch-slider::before {
    transform: translateX(18px);
}

.manage-keys-button {
    color: #3076FE;
}