html, body{
    font-family: Inter, Arial, sans-serif;
    width: 100%;
    height: 100%;
    background: #F1F3F9;
    color: #53627D;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

input{
    padding: 9px 8px;
    gap: 12px;
    border-radius: 8px;
    background: #FCFCFC;
    font-size: 16px;
    border: none;
    background: none;
    width: 100%;
    color: #53627D;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    outline: none;
}

/* Глобальный цвет плейсхолдера для всех элементов */
::placeholder {
    color: #C3C9D5;
}
 button{
     color: #53627D;
     line-height: 20px;
     font-size: 16px;
 }
.primary-button {
    display: inline-flex;
    background: var(--primary);
    color: #FCFCFC;
    gap: 12px;
    border-radius: 8px;
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    font-size: 16px;
    width: fit-content;
    justify-content: center;
    line-height: 20px;
}

.primary-button:hover {
    background: #0348D2;
    color: #FCFCFC;
    transition: background 0.3s, color 0.3s;
}

.primary-button:active {
    background: var(--primary);
    color: #FCFCFC;
    transition: background 0.3s, color 0.3s;
}


.primary-button:disabled {
    background: #C1D4FA;
    color: #FCFCFC;
    cursor: not-allowed;
    transition: background 0.3s, color 0.3s;
}

.primary-button:hover svg{
    fill: white;
    transition: background 0.3s, color 0.3s;
}

.primary-button.active svg{
    fill: white;
    transition: background 0.3s, color 0.3s;
}

.secondary-button {
    display: inline-flex;
    border: 1px solid #0348D2;
    background: #FCFCFC;
    color: #0348D2;
    padding: 8px;
    gap: 12px;
    border-radius: 8px;
    flex-direction: row;
    align-items: center;
    font-size: 16px;
    width: fit-content;
    transition: background 0.3s, color 0.3s;
}

.secondary-button:hover {
    background: #0348D2;
    color: #FCFCFC;
    transition: background 0.3s, color 0.3s;
}

.secondary-button:active {
    background: #0348D2;
    color: #FCFCFC;
    transition: background 0.3s, color 0.3s;
}

.secondary-button.active {
    background: #0348D2;
    color: white;
    transition: background 0.3s, color 0.3s;
}

.secondary-button:disabled {
    background: #9BB6E4;
    color: #FCFCFC;
    cursor: not-allowed;
    transition: background 0.3s, color 0.3s;
    border: 1px solid #9BB6E4;
}

.secondary-button:hover svg{
    fill: white;
    transition: background 0.3s, color 0.3s;
}

.secondary-button.active svg{
    fill: white;
    transition: background 0.3s, color 0.3s;
}

.secondary-button:disabled svg {
    fill: white;
    transition: background 0.3s, color 0.3s;
}

.gradient-background {
    padding: 27px 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(270deg, rgba(252, 125, 118, 0.7) -68%, rgba(255, 255, 255, 1) 52%, rgba(190, 227, 255, 0.7) 91%);
}
.header-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header {
    width: 100%;
    background: #FCFCFC;
    padding: 20px 24px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #EFF0F3;
}

.header-option{
    width: 100%;
    background: #FCFCFC;
    display: flex;
    justify-content: center;
}

.option-head-row {
    display: flex;
    gap: 40px;
    align-items: center;
    height: 40px;
    width: 100%;
    max-width: 1160px;     /* ограничиваем ширину */
    justify-content: flex-end; /* контент прижат вправо */
}
.option-head-item{
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-container-land{
    max-width: 1160px;
    width: 100%;
    margin-top: 40px;
    background: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.header-container-land-buttons {
    display: flex;
    gap: 60px;
}


.warning-text{
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    color: #ED4D2F;
}

.warning-text-container{
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
.warning-text-general{
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    color: #53627D;
    width: 100%;
}

.nav__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

}

.header-container-land-link{
    color: white;
    background: none;
    cursor: pointer;
}
.header-container-land-link:hover{
    color: white;
}
.header-dash{
      display: flex;
      flex-grow: 1;
      justify-content: space-between;
      align-items: center;
      gap: 20px;
      max-width: 1160px;
}

.login-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.link{
    cursor: pointer
}

.link:hover {
    color: #0348D2;
}
.link:active{
    color: #0348D2;
}
.search-sku{
    width: 100%;
}
.one-column-container{
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-content: center;
    gap: 20px;
    max-width: 1208px;
    min-height: 72vh;
    margin: 0 auto 24px auto;
    padding: 0 24px;
}
.footer-container{
    box-sizing: border-box;
    display: flex;
    width: 100%;
    background: white;
    justify-content: center;
    align-items: center;
    padding: 40px 24px;
}
.dash-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}
.main-block-1-3{
    display: flex;
}
.page-title{
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
}
.col-1-4{
    padding-top: 56px;
    position:fixed;
    background: #E9F5FF;
    width: 300px;
    height: 100%;
    z-index: 100;
}
.col-3-4{
    margin-left: 300px;
    padding-right: 40px;
}

.container-3-4{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

button{
    font-family: Inter, Arial, sans-serif;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.main{
    display: flex;
    flex-direction: column;
    width: 1440px;
}

.main-land-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 100px;
    background: #F1F3F9;
}

.logo-dash{
    width: 140px;
}

h1{
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
    text-align: left;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--primary);
    line-height: 20px;
}

.a-with-border{
    border-bottom: 1px solid var(--primary);
}

.auth-links {
    float: right;
}

.auth-links a {
    margin-left: 20px;
}

.login{
    color: black;
}
.register {
    padding: 12px;
    border-radius: 8px;
    background: none;
    color: #F1F3F9; /* Добавлено для белого цвета текста */
    text-align: center; /* Центрирует текст внутри кнопки */
    line-height: 16px; /* Регулирует высоту строки для центрирования текста по вертикали */
    border: 1px solid #F1F3F9
}

.register:hover{
    color: #53617d;
    background: #F1F3F9;

}

.banner-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.hero {
    display: flex;
    justify-content: space-around;
}

.hero-content {
    width: 560px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: flex-start;
}

.hero-content h1 {
    margin: 0;
    color: #F1F3F9;
    line-height: 50px;
}
.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #F1F3F9;
}

.hero-content span {
  position: relative;
}

.hero-content span::after {
  position: absolute;
  left: 0;
  bottom: -12px;
  content: "";
  width: 278px;
  height: 20px;
  background-image: url("/img/red-curve-line.svg");
  background-repeat: no-repeat;
}

.hero-button-container {

    display: flex;
    flex-direction: column;
    font-weight: 400;
    text-align: left;
    align-items: flex-start;
    color: #F1F3F9;
    gap: 12px;
}

.hero-button-container-offer{
    display: flex;
    font-weight: 400;
    font-size: 14px;
    align-content: space-around;
    color: #F1F3F9;
}
.hero-button-container-offer-mobile{
    display: none;
}


.cta-button {
    display: flex;
    background: #ED4D2F;
    color: #F1F3F9;
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    width: 219px;
    height: 46px;
    gap: 8px;
    border-radius: 8px;
}

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

.cta-button:hover {
     background: #FC4545;

}

.hero-image {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    position: absolute;
}

.hero-image img {
    max-width: 100%;
}

.top-sales {
}

h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 400;
    line-height: 38px;
}

.login-popup-h2{
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 38px;
}

.mobile-h2{
  display: none;
}

.sales-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.sales-item {
    display: grid;
    align-items: center;
    grid-template-columns: 0fr 1fr 1fr 1fr 1.5fr 1fr 1.2fr 1fr;
    border-radius: 8px;
    border: 1px solid #D3D7E0;
    background: white;
    padding: 10px 22px;
    gap: 20px;
    transition: box-shadow 0.3s ease;
    position: relative;
}
.bloger-name {
    width: 100px;
    overflow: hidden; /* Обрезка содержимого */
    white-space: nowrap; /* Запрещаем перенос строк */
    text-overflow: ellipsis; /* Добавляем многоточие */
    position: relative; /* Необходимо для позиционирования tooltip */
    display: inline-block; /* Чтобы работало с псевдоэлементами */
    vertical-align: top; /* Для выравнивания */
    cursor: pointer;
    font-weight: 500;
}

.tooltip-nick {
    position: absolute;
    background: #53627D;
    padding: 0 10px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    color: white;
}

.bloger-name:hover + .tooltip-nick {
    opacity: 1;
}

.sales-item:hover{
    box-shadow: 0 4px 4px 0 #303C6C26;
}

.favorite-checkbox-column{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.bloger-checkbox {
    background-color: white;
    border: 2px solid #53627D;
    width: 18px;
    height: 18px;
    -webkit-appearance: none; /* For Safari */
    appearance: none; /* Default style for the checkbox */
    cursor: pointer; /* Pointer cursor on hover */
    margin: 4px; /* Adjust if necessary */
    border-radius: 2px;
}

.hidden {
    display: none;
}

.bloger-checkbox:checked {
    background-color: #53627D; /* Background color when checked */
    border: 2px solid #53627D; /* Border color when checked */
}

.sales-item-first-column{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.sales-item-column{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;

}

.sales-item-header {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip a{
    text-decoration: none;
    color: #53627D;
    font-weight: 500;
}

.sales-item-header-tooltip {
    position: absolute;
    background: #53627D;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: wrap;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    color: white;
    bottom: 125%; /* Положение подсказки над элементом */
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

.tooltip:hover .sales-item-header-tooltip {
    opacity: 1;
    pointer-events: auto;
}

.sales-item-header-tooltip-icon {
    width: 12px;
}

.sales-item-header-tooltip::after {
    content: "";
    position: absolute;
    top: 100%; /* Указатель для подсказки */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #53627D transparent transparent transparent;
}

.sales-item-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.sales-item-img-social-network{
    width: 20px;
    height: 20px;
}

.sales-info {
    flex-grow: 1;
}

.sales-info span {
    font-size: 18px;
    font-weight: bold;
}

.cta {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-content: center;
    align-items: center;
    gap: 24px;
}

.button-second-container {
    display: flex;
    gap: 8px;
    background: none;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    color: #0348D2;
    border: 1px solid #0348D2;
    cursor: pointer;
}

.button-second-container:hover {
    background: #0348D2;
    color: white;
    transition: background 0.3s, color 0.3s, fill 0.3s;
}

.button-second-container:hover .icon {
    fill: white; /* Изменение цвета иконки при наведении */
    transition: background 0.3s, color 0.3s, fill 0.3s;
}

.header-fixed-container{
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 1000px;
    top: 0;
    position: fixed;
    background: white;
    z-index: 100;
}

.filter-block{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    /*gap: 20px;*/
}

/*.filter-block .page-title{
    font-size: 20px;
    font-weight: 500;
    line-height: 26px;
    text-align: left;

}*/

.login-dash{
    display: flex;
    flex-direction: row;
    gap: 40px;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    align-items: center;
}
.category-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.search-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    max-width: 380px;
    flex-grow: 1;
}

.main-input-field {
    display: flex;
    align-items: center;
    padding: 0 8px 0 0;
    border-radius: 8px;
    background: white;
    border: 1px solid #6A7995;
    width: 100%;
    height: 40px;
}

.main-input-field-filter {
    width: 224px;
}

.main-input-field input {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    outline: none;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    color: #53627D;
}
.main-input-field input::placeholder{
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    color: #C3C9D5;
}

.main-input-field input:focus::placeholder {
    color: transparent; /* скрывает текст плейсхолдера при фокусе */
}

.main-input-field input:disabled {
    background: #F1F3F9;
}

.main-input-field .icon {
    height: 22px;
    width: 22px;
    background: url("/img/search-icon.svg") no-repeat center center;
    background-size: contain;
}

.input-field-title:disabled {
    color: #C3C9D5;
}


.social-icon-group{
    display: flex;
    gap: 20px;
    align-items: center;
}

.soon{
    position: relative;
    top: -5px;
    font-size: 12px;
    color: #C3C9D5;
}

.category-module {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.primary-dropdown{
    cursor: pointer;
    color: #53627D;
    position: relative;
    box-sizing: border-box;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    width: 224px;
    border: 1px solid var(--primary); /* Активный цвет бордюра */
    background: #FFFFFF;
    height: 40px;
}

.input-filter {
    border: none;
    background: none;
    width: 100%;
    color: #53627D;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 400;
    outline: none;
}
.input-filter:focus::placeholder {
    color: transparent;
}

/* Стиль для неактивного (задизейбленного) фильтра */
.primary-dropdown.inactive-filter {
    border: 1px solid #D3D7E0; /* Цвет бордюра для неактивного фильтра */
    background: #F1F3F9; /* Фон для неактивного фильтра */
}
.primary-dropdown.inactive-filter .input-filter {
    opacity: 0.5;
    pointer-events: none;
}

.primary-dropdown::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url("/img/sort-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
}
.primary-dropdown.active-filter::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Стили для фильтра "Топ блогеров" */
.primary-dropdown.top-filter-wrapper::after {
    background-image: url("/img/CrownSimple.svg");
}
.primary-dropdown.top-filter-wrapper.active-filter::after {
    transform: translateY(-50%); /* Убираем поворот */
}

.calendar-wrapper {
    width: auto;
    padding: 10px 6px ;
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
    background: white;
    border-radius: 8px;
    border: 1px solid #6A7995;
}

.calendar-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("/img/calendar-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.calendar-wrapper-active {
    border-radius: 8px;
}

.filter-wrapper{
    padding: 8px;
    cursor: pointer;
    color: #303C6C;
    position: relative;
    box-sizing: border-box;
    font-size: 16px;
    background: #E9F5FF;
    border-radius: 8px;
}

.filter-wrapper::after{
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("/img/filter.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.category-turncate{
    display: flex;
    gap: 4px;
    padding-right: 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 100%;
}

.category-content {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
}

.options-container{
    margin-top: 5px;
    top: 100%;
    left: -1px;
    z-index: 1000;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    background: white;
    border: 1px solid var(--primary);
    border-radius: 8px 8px 8px 8px;
}

.filter-options-container{
    top: 100%;
    left: 0;
    z-index: 1000;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    border-top: none;
    background: #E9F5FF;
    border-radius: 0 0 8px 8px;
}

.option-category {
    padding: 10px;
    cursor: pointer;
    color: #53627D;
    text-align: left;
}

.option-category:hover{
    background: #F1F3F9;
}

.result-total{
    padding-left: 40px;
}
.bloger-list-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex-direction: column;
}

.bloger-list{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}
.separate-line{
    border-bottom: 1px solid #E9F5FF;
    width: 1040px;
}

.account-desc-container{
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.account-help-center{
    font-size: 12px;
    font-weight: 400;
    line-height: 16.39px;
    color: #303C6C;
}

.account-help-center a{
    text-decoration: none;
    font-weight: 700;
    line-height: 16.39px;
    color: #303C6C;
}


.favorite-total{
    display: flex;
}
.favorite-item-container{
    display: flex;
    flex-direction: column;
    gap:8px;
}

.share-button {
    display: flex;
    gap: 8px;
    background: white;
    font-weight: 400;
    padding: 8px;
    border-radius: 8px;
    white-space: nowrap;
    color: #0348D2;
    border: 1px solid #0348D2
}

.share-button:hover {
    background: #0348D2;
    color: white;
}

.share-button:hover svg{
    fill: white;
}

.share-button-pressed {
    background: #5DA2D5;
    color: white;
}
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    transition: opacity 0.5s;
}
.notification.show {
    opacity: 1;
}

.anime-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
    transition: opacity 0.3s ease;
    opacity: 1;
}

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

.filter-flex-container{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
}

.decor-element {
   display: none;
}

.filter-mobile-button-container{
    display: none;
}
.filter-mobile-button {
    display: none;
}

.social-icon-container-at-bloger-list{
    display: flex;
    gap: 14px;
}
.knd-badge{
    font-weight: 500;
}

.tab-container {
    display: flex;
    gap: 40px;
}

.tab-button {
    font-size: 20px;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #C3C9D5;
    padding: 10px;
    background: none;
}

.tab-button.active {
    border-bottom: 1px solid var(--primary);
    color: var(--primary);
}

.tab-button.active svg{
    fill: var(--primary);
    transition: background 0.3s, color 0.3s;
}


/* Переключатель языка (i18n, TASK-013). Акцент по design-concept --accent #00D4AA */
.lang-switcher {
    display: flex;
    align-items: center;
}
.lang-switcher .lang-container,
.lang-switcher .lang {
    display: flex;
    align-items: center;
}
.lang-switcher .select-lang {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #D5D9E5;
    border-radius: 8px;
    background: #fff;
    color: #1A1A2E;
    font-family: inherit;
    font-size: 14px;
    line-height: 1;
    padding: 8px 28px 8px 12px;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%231A1A2E' stroke-width='1.5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}
.lang-switcher .select-lang:hover,
.lang-switcher .select-lang:focus {
    border-color: #00D4AA;
    outline: none;
}

/* ============================================================
   Дизайн-система MPSADS Flow (TASK-216 / D-DSH1033)
   Компоненты, layout, сайдбар, топбар. Токены — в tokens.css
   ============================================================ */

/* ── Layout ── */
.layout { display: flex; min-height: 100vh; }
.main-area { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg); }

/* ── Sidebar ── */
.sidebar {
    width: 256px; min-height: 100vh; background: var(--card);
    border-right: 1px solid #E5E9F2;
    display: flex; flex-direction: column; padding: 20px; flex-shrink: 0;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.sidebar-logo {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 24px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3D5AFE, #7B3DFE);
    text-decoration: none;
}
.logo-icon {
    width: 32px; height: 32px; background: rgba(255,255,255,.22); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 15px; flex-shrink: 0;
}
.logo-text { color: #fff; font-weight: 800; font-size: 14px; line-height: 1.2; }
.logo-sub { color: rgba(255,255,255,.7); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.nav-section-label {
    font-size: 10px; font-weight: 700; color: var(--muted);
    text-transform: uppercase; letter-spacing: .8px;
    padding: 0 14px; margin: 16px 0 6px;
}
.nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-radius: 10px;
    color: #9BA3BC; font-weight: 500; font-size: 13px;
    cursor: pointer; transition: all .15s; text-decoration: none; margin-bottom: 2px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.nav-item:hover { background: #F0F2F8; color: var(--ink); }
.nav-item.active {
    background: linear-gradient(135deg, #3D5AFE, #7B3DFE);
    color: #fff; box-shadow: 0 8px 20px -10px rgba(61,90,254,.5);
}
.nav-icon { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 15px; }
.nav-badge { margin-left: auto; }
.sidebar-hr { border: none; border-top: 1px solid var(--line); margin: 12px 0; }
.user-card {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    background: var(--bg); border-radius: 10px; margin-top: auto;
}
.user-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #3D5AFE, #7B3DFE);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.user-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.user-role { font-size: 11px; color: var(--muted); }

/* ── Topbar ── */
.topbar {
    position: sticky; top: 0; z-index: 10;
    background: var(--card); border-bottom: 1px solid var(--line);
    display: flex; align-items: center; gap: 12px; padding: 12px 28px;
}
.topbar-title { font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.topbar-search {
    flex: 1; max-width: 280px;
    background: #fff; color: var(--ink);
    border: 1px solid var(--line); border-radius: 10px;
    padding: 8px 14px; font-size: 13px; font-family: inherit;
}
.topbar-search::placeholder { color: #9BA3BC; }
.topbar-search:focus { border-color: var(--primary); outline: none; }
.topbar-spacer { flex: 1; }
.topbar-bell {
    position: relative; width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg); cursor: pointer; flex-shrink: 0; font-size: 16px;
}
.topbar-bell:hover { background: #F0F2F8; }
.bell-dot {
    position: absolute; top: 7px; right: 7px; width: 8px; height: 8px;
    border-radius: 50%; background: var(--danger); border: 2px solid var(--card);
}
.hamburger {
    display: none; background: var(--bg); border: 1px solid var(--line);
    border-radius: 10px; width: 36px; height: 36px;
    align-items: center; justify-content: center; cursor: pointer; font-size: 18px; flex-shrink: 0;
}

/* ── Sidebar overlay / close (mobile) ── */
.sidebar-overlay { display: none; }
.sidebar-close {
    display: none; background: var(--bg); border: 1px solid var(--line);
    border-radius: 10px; width: 32px; height: 32px; font-size: 22px; line-height: 1;
    align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
    margin-left: auto; flex-shrink: 0;
}

/* ── Cards ── */
.card { border-radius: 16px; background: var(--card); border: 1px solid var(--line); padding: 20px; }

/* ── Buttons ── */
.btn-primary {
    background: var(--primary); color: #fff; font-weight: 600; font-size: 13px;
    border-radius: 10px; border: none; padding: 9px 18px; cursor: pointer;
    font-family: inherit; transition: all .2s; white-space: nowrap;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(61,90,254,.6); }
.btn-ghost {
    background: var(--card); color: var(--ink); font-weight: 500; font-size: 13px;
    border: 1px solid var(--line); border-radius: 10px;
    padding: 9px 18px; cursor: pointer; font-family: inherit; transition: all .15s; white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-danger {
    background: var(--danger); color: #fff; font-weight: 600; font-size: 13px;
    border-radius: 10px; border: none; padding: 9px 18px; cursor: pointer; font-family: inherit;
}

/* ── Chips ── */
.chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.chip-blue { background: #EEF1FF; color: #3D5AFE; }
.chip-green { background: #E6FAF5; color: #00A87F; }
.chip-orange { background: #FFF1E5; color: #E55B1A; }
.chip-red { background: #FFEBEF; color: #F44E6B; }
.chip-gray { background: #F0F2F8; color: #6B7493; }
.chip-violet { background: #F2ECFF; color: #7B3DFE; }

/* ── Input / form ── */
.input {
    width: 100%;
    background: #fff; color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 10px; padding: 10px 14px; font-size: 13px; font-family: inherit;
}
.input::placeholder { color: #9BA3BC; }
.input:focus { border-color: var(--primary); outline: none; }
.input-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.input-label { font-size: 12px; font-weight: 600; color: var(--muted); }

/* ── Modal ── */
.modal-overlay {
    background: rgba(15,26,51,.55); padding: 20px;
    display: flex; align-items: center; justify-content: center;
}
.modal { background: #fff; border-radius: 18px; padding: 24px; width: 100%; max-width: 400px; }
.modal-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }

/* ── Toast ── */
.toast {
    background: #0F1A33; color: #fff; padding: 13px 16px; border-radius: 12px;
    font-size: 13px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
    display: inline-flex; align-items: center; gap: 10px;
    position: fixed; right: 24px; bottom: 24px; z-index: 9999;
}
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.toast-err { color: var(--danger); font-weight: 700; flex-shrink: 0; }

/* ── Empty state ── */
.state-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-icon { font-size: 36px; margin-bottom: 12px; opacity: .4; }
.empty-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--muted); }
.empty-sub { font-size: 12px; color: #9BA3BC; }

/* ── Responsive ── */
@media (max-width: 1023px) {
    .sidebar { display: none; }
    .sidebar.open {
        display: flex !important; flex-direction: column;
        position: fixed; top: 0; left: 0; z-index: 1000;
        width: 256px; max-width: 85vw;
    }
    .hamburger { display: flex; }
    .sidebar-close { display: flex; }

    .sidebar-overlay {
        display: none; position: fixed; inset: 0; z-index: 999;
        background: rgba(15,26,51,.45);
    }
    .sidebar-overlay.show { display: block; }

    /* topbar compact layout */
    .topbar { padding: 12px 16px; }
    .topbar-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
    .topbar-search { display: none; }
    .topbar-spacer { display: none; }
}
