@import url(//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,greek-ext,vietnamese);

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    color: #545454;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    max-width: 100vw;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p {
    margin-top: 0;
}

.lh30 {
    line-height: 30px;
}
.lh38 {
    line-height: 38px;
}

.page-header {
    vertical-align: middle;
    margin: 0 0 15px 0;
    padding: 17px 0 0 0;
    border-bottom: 1px solid #e9e9e9;
    z-index: 10;
}

.page-header.fixed {
    position: fixed;
    z-index: 10;
    width: -webkit-fill-available;
}

.page-header h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #000;
    display: inline-block;
    margin-bottom: 15px;
    text-shadow: 0 1px #fff;
}

.breadcrumb {
    display: inline-block;
    background: none;
    margin: 8px 0 19px 0;
    padding: 0 10px;
    border-radius: 0;
}

.breadcrumb li a {
    color: #999999;
    font-size: 14px;
    padding: 0px;
    margin: 0px;
}

.breadcrumb li a:hover {
    text-decoration: none;
}

.breadcrumb li + li:before {
    content: "\f105";
    font-family: FontAwesome;
    color: #BBBBBB;
    padding: 0 5px;
    font-size: 10px;
}

a:hover, a:focus {
    text-decoration: none;
}

#container {
    min-height: 100%;
    width: 100%;
    position: relative;
    background: #f6f6f6;
    overflow: hidden;
}

.container-fluid {
    padding: 0 20px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
}

/* Navigation */
#navigation {
    padding: 0;
    color: #FFFFFF;
    background: #19222E;
    height: 62px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
}


#header {
    min-height: 0px;
    background: #FFFFFF;
    border-bottom: 1px solid #d8d8d8;
    margin: 0;
    padding: 0;
    box-shadow: 0px 0px 3px #ccc;
}

#header .container-fluid {
    padding: 0;
}

#header .navbar-header {
    transition: 0.3s all;
    border-right: 1px solid #eee;
    width: 235px;
    display: none;
}

#header .navbar-brand {
    margin-left: 8px;
}

#header .navbar-nav > li {
    display: inline-block;
}

#header .navbar-right > li {
    border-left: 1px solid #eee;
}

#header .navbar-right {
    margin-right: 0;
    margin: 0px 0px 0px 0px;
    float: right;
}



#header .nav > li > a {
    padding: 0px 21px;
    line-height: 45px;
    cursor: pointer;
    color: #6D6D6D;
    border-left: 0px solid #E1E1E1;
}

#header .nav > li.dropdown > a {
    padding-left: 10px;
    padding-right: 10px;
}

#header .nav > li.dropdown > a {
    padding-left: 10px;
    padding-right: 10px;
}

/* Desktop */
@media (min-width: 768px) {
    #header .navbar-header {
        display: inline-block;
    }

    #header .nav > li > a {
        line-height: 60px;
    }
}

#button-menu {
    line-height: 30px;
    font-size: 24px;
    float: left;
    padding: 10px 16px;
    line-height: 25px;
    display: inline-block;
    cursor: pointer;
    color: #6D6D6D;
    border-right: 1px solid #eee;
}

/* Desktop */
@media (min-width: 768px) {
    #button-menu {
        display: none;
    }
}

/* Стили для #column-left перенесены в раздел "НОВАЯ СТРУКТУРА МАКЕТА" ниже */

/* Скрываем названия пунктов меню по умолчанию */
#column-left #menu li a {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#column-left #menu li a i {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    margin-right: 0;
}

#column-left #menu li a .menu-text {
    opacity: 0;
    width: 0;
    display: inline-block;
    transition: opacity 0.2s ease, width 0.2s ease;
    margin-left: 0;
}

/* При наведении показываем названия */
#column-left:hover #menu li a .menu-text {
    opacity: 1;
    width: auto;
    margin-left: 10px;
}

/* Аватарка по центру слева */
#navigation #user-profile {
    width: 40px;
    height: 40px;
    object-fit: cover;
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

/* Блок с именем пользователя и селектором клиентов */
#navigation #user-info {
    position: absolute;
    left: 62px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.2s, max-width 0.3s ease 0.2s;
    white-space: nowrap;
}

/* При наведении показываем имя пользователя с задержкой */
#column-left:hover #navigation #user-info {
    opacity: 1;
    max-width: 200px;
    transition: opacity 0.3s ease 0.2s, max-width 0.3s ease 0.2s;
}

/* Стили для #user-profile перенесены в #navigation #user-profile */

/* Убрано - аватарка не увеличивается при наведении */

/* Версия внизу меню */
#column-left .bottom-0 {
    opacity: 0;
    transition: opacity 0.2s ease;
}

#column-left:hover .bottom-0 {
    opacity: 1;
}

#column-left::-webkit-scrollbar {
    width: 10px;
    background-color: rgba(200, 200, 200, 0);
}

#column-left::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(128, 139, 156, 0.2);
}

/* Правая колонка (фильтр) - 300px когда активна */
/* Правая колонка (фильтр) - 300px когда активна, внутри контента справа */
#column-filter {
    width: 300px;
    max-width: 300px;
    min-width: 300px;
    overflow: auto;
    background-color: #f8f9fa;
    padding: 15px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    display: none;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    order: 2;
    box-sizing: border-box;
    height: 100vh;
}

#column-filter.active {
    display: block;
}

#column-filter.hide {
    display: none;
}

/* Мобильные устройства */
@media (max-width: 767px) {
    #column-filter {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
}

#column-filter::-webkit-scrollbar {
    width: 10px;
    background-color: rgba(200, 200, 200, 0);
}

#column-filter::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: rgba(128, 139, 156, 0.2);
}

/* Шторки трех уровней */
.curtain {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    background-color: #ffffff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.3s ease, left 0.3s ease;
}

.curtain-level-1 {
    width: calc(100% - 62px);
    left: 62px;
    right: auto;
    z-index: 1000;
}

.curtain-level-2 {
    width: 60%;
    z-index: 1001;
}

.curtain-level-3 {
    width: 30%;
    z-index: 1002;
}

.curtain.hide {
    right: -100%;
}

.curtain-level-1.hide {
    left: 100%;
}

.curtain-level-2.hide {
    right: -60%;
}

.curtain-level-3.hide {
    right: -30%;
}

/* Шапка шторки: кнопка Назад или Закрыть слева, заголовок справа */
.curtain-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 15px 13px 15px;
    border-bottom: 1px solid #eee;
    background: #fff;
    flex-shrink: 0;
}
.curtain-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.curtain-content {
    padding: 0;
}
#curtain-level-1 .easports-curtain-level1-body,
#curtain-level-2 .easports-curtain-level2-body {
    position: relative;
    min-height: 120px;
}
.client-card-curtain-shell {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    min-height: 100%;
}
.client-card-curtain-calendar-col {
    flex: 2 1 0;
    min-width: 0;
}
.client-card-curtain-aside {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#curtain-level-1 .client-card-curtain-shell {
    min-height: calc(100vh - 52px);
}
#curtain-level-1 .client-card-curtain-calendar-col,
#curtain-level-1 .client-card-curtain-aside {
    overflow-y: auto;
}
#curtain-level-1 .easports-curtain-loading-overlay,
#curtain-level-2 .easports-curtain-loading-overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.82);
}
#curtain-level-1 .easports-curtain-loading-overlay.is-visible,
#curtain-level-2 .easports-curtain-loading-overlay.is-visible {
    display: flex;
}
.curtain-back,
.curtain-close,
.curtain-chat-refresh {
    width: 35px;
    height: 35px;
    min-width: 35px;
    border: none;
    background-color: #f8f9fa;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.curtain-back:hover,
.curtain-close:hover,
.curtain-chat-refresh:hover {
    background-color: #e9ecef;
}
.curtain-back i,
.curtain-close i,
.curtain-chat-refresh i {
    color: #495057;
    font-size: 16px;
}
.curtain-chat-refresh {
    margin-left: auto;
    flex-shrink: 0;
}
.curtain-chat-refresh.is-spinning i {
    animation: easports-spin 0.8s linear infinite;
}
@keyframes easports-spin {
    to { transform: rotate(360deg); }
}
#curtain-level-3.has-client-chat {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#curtain-level-3.has-rt-chat {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100vh;
    max-height: 100vh;
}
#curtain-level-3.has-client-chat .curtain-content {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#curtain-level-3.has-rt-chat .curtain-content {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#curtain-level-3.has-client-chat .easports-client-chat,
#curtain-level-3.has-rt-chat .easports-rt-chat,
#curtain-level-3.has-client-history .easports-client-history {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.easports-rt-chat-iframe {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    border: 0;
    display: block;
    background: #fff;
}
.easports-client-chat-thread {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}
.easports-client-history-thread {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 0.5rem;
}
.easports-client-history-status {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(248, 249, 250, 0.92);
    backdrop-filter: blur(2px);
}
.easports-client-history-item {
    padding: 0.45rem 0.35rem 0.55rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.easports-client-history-item:last-child {
    border-bottom: 0;
}
.easports-client-history-day {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: #6c757d;
    padding: 0.55rem 0.25rem 0.35rem;
    letter-spacing: 0.02em;
}
.easports-client-history-item-body {
    position: relative;
    min-width: 0;
    padding-bottom: 0.85rem;
}
.easports-client-history-item-title {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    padding-right: 2.4rem;
}
.easports-client-history-item-actor {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.72rem;
}
.easports-client-history-item-detail {
    margin-top: 0.15rem;
    font-size: 0.78rem;
    color: #495057;
    word-break: break-word;
    white-space: pre-wrap;
    padding-right: 2.4rem;
}
.easports-client-history-item-time {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 0.68rem;
    color: #adb5bd;
    line-height: 1;
}
.easports-client-chat-compose-row {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
}
.easports-client-chat-compose-row .js-client-chat-input {
    flex: 1 1 auto;
    min-width: 0;
    resize: none;
}
.easports-client-chat-extras {
    flex-shrink: 0;
}
.easports-client-chat-buttons .form-check-inline {
    margin-right: 0.75rem;
}
.easports-client-chat-emoji-btn {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.easports-client-chat-emoji-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem;
    max-height: 7.5rem;
    overflow-y: auto;
    margin-top: 0.35rem;
    padding: 0.35rem;
    border: 1px solid #dee2e6;
    border-radius: 0.35rem;
    background: #fff;
}
.easports-client-chat-emoji-panel.d-none {
    display: none !important;
}
.easports-client-chat-emoji-item {
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    background: transparent;
    border-radius: 0.25rem;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.easports-client-chat-emoji-item:hover {
    background: #f1f3f5;
}
.easports-client-chat-voice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 8rem;
}
.easports-client-chat-voice-btn {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.12);
    color: #0d6efd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}
.easports-client-chat-bubble .bg-primary .easports-client-chat-voice-btn {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}
.easports-client-chat-voice-btn:hover {
    background: rgba(13, 110, 253, 0.22);
}
.easports-client-chat-bubble .bg-primary .easports-client-chat-voice-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}
.easports-client-chat-audio-el {
    display: none;
}
.easports-client-chat-voice-label {
    font-size: 0.8rem;
    opacity: 0.9;
}
.curtain-header {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.curtain-header-title {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.curtain-header-trades {
    position: absolute;
    right: 15px;
    top: 5%;
    transform: translateY(-50%);
    z-index: 1002;
}

/* Главная — календарь на всю высоту, выравнивание столбцов */
.home-page #content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.home-page .easports-home-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 70px;
}
.home-page .easports-home-content .row.pt-4 {
    flex: 1;
    min-height: 0;
    display: flex;
}
.home-page .easports-home-content .row .col-12 {
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.home-page .easports-home-content .card {
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.home-page .easports-home-content .card-body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.home-page .easports-calendar-wrap {
    flex: 1;
    min-height: 0;
    overflow: auto;
}
.home-page .easports-calendar-wrap .easports-calendar {
    table-layout: fixed;
    width: 100%;
    height: calc(100vh - 260px);
    min-height: 400px;
    border: none !important;
    border-collapse: collapse;
}
.home-page .easports-calendar-wrap .easports-calendar thead th {
    width: 14.28%;
    box-sizing: border-box;
    border: none !important;
    font-weight: 600;
    padding: 8px 6px;
    vertical-align: top;
}
.home-page .easports-calendar-wrap .easports-calendar tbody td {
    width: 14.28%;
    box-sizing: border-box;
    vertical-align: top;
    border: none !important;
    height: 1%;
    padding: 6px !important;
}
.home-page .easports-calendar-wrap .easports-calendar tbody tr {
    height: 1%;
}
.home-page .easports-calendar-wrap .easports-calendar-cell {
    min-height: 80px;
    height: 1%;
}
.home-page .easports-calendar-wrap .easports-cell-inner {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 6px 8px;
    min-height: 72px;
    height: 100%;
    box-sizing: border-box;
}
.home-page .easports-calendar-wrap .easports-cell-other-month .easports-cell-inner {
    background-color: #fbfbfb;
}
.home-page .easports-calendar-wrap .easports-cell-today .easports-cell-inner {
    border: 1px solid #d4d4d4;
}
.home-page .easports-calendar-wrap .easports-cell-date {
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 4px;
    font-weight: 500;
}
.home-page .easports-calendar-wrap .easports-slot-badge {
    display: block;
    max-width: 100%;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 3px;
    background-color: hsl(var(--slot-hue, 0), 55%, 88%);
    color: hsl(var(--slot-hue, 0), 45%, 25%);
}
.home-page .easports-calendar-wrap .easports-slot-badge a,
.home-page .easports-calendar-wrap .easports-home-slot-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.home-page .easports-calendar-wrap .easports-home-slot-time {
    flex-shrink: 0;
}
.home-page .easports-calendar-wrap .easports-home-slot-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-page .easports-calendar-wrap .easports-slot-badge a:hover {
    text-decoration: underline;
}
.home-page .easports-home-slot-type-filters .easports-slot-type-badge {
    cursor: pointer;
    border: 1px solid transparent;
    opacity: 0.55;
    transition: opacity 0.15s, box-shadow 0.15s, transform 0.15s;
}
.home-page .easports-home-slot-type-filters .easports-slot-type-badge.is-active,
.home-page .easports-home-slot-type-filters .easports-slot-type-badge[aria-pressed="true"] {
    opacity: 1;
    box-shadow: 0 0 0 2px rgba(33, 37, 41, 0.18);
    transform: translateY(-1px);
}
.easports-slot-type-badge--pt {
    color: #5c3d00;
    background: hsl(42 90% 88%);
    border-color: hsl(42 55% 70%);
}
.easports-slot-type-badge--k {
    color: #1a3a5c;
    background: hsl(210 80% 92%);
    border-color: hsl(210 50% 78%);
}
.easports-slot-type-badge--z {
    color: #1b4332;
    background: hsl(152 45% 88%);
    border-color: hsl(152 35% 65%);
}
.home-page .easports-calendar-wrap .easports-slot-badge .easports-slot-type-badge {
    min-width: 1.4rem;
    padding: 0.05rem 0.28rem;
    font-size: 0.55rem;
    line-height: 1.2;
}

/* Эквалайзер: базовый — трекер (красный → зелёный); --difficulty — сложность (зелёный → красный) */
.easports-equalizer {
    display: flex;
    align-items: stretch;
    gap: 3px;
    width: 100%;
}
.easports-equalizer .bar {
    flex: 1;
    min-width: 4px;
    background-color: #f5f5f5;
    border-radius: 3px;
    transition: background-color 0.2s;
}
/* Трекер: 1 — низ (красный) → 10 — верх (зелёный) */
.easports-equalizer .bar.filled:nth-child(1)  { background-color: #e57373; }
.easports-equalizer .bar.filled:nth-child(2)  { background-color: #ef9a9a; }
.easports-equalizer .bar.filled:nth-child(3)  { background-color: #ff8a80; }
.easports-equalizer .bar.filled:nth-child(4)  { background-color: #ffab91; }
.easports-equalizer .bar.filled:nth-child(5)  { background-color: #ffcc80; }
.easports-equalizer .bar.filled:nth-child(6)  { background-color: #fff176; }
.easports-equalizer .bar.filled:nth-child(7)  { background-color: #c5e1a5; }
.easports-equalizer .bar.filled:nth-child(8)  { background-color: #aed581; }
.easports-equalizer .bar.filled:nth-child(9)  { background-color: #a5d6a7; }
.easports-equalizer .bar.filled:nth-child(10) { background-color: #81c784; }
/* Сложность: 1 — легко (зелёный) → 10 — сложно (красный) */
.easports-equalizer--difficulty .bar.filled:nth-child(1)  { background-color: #81c784; }
.easports-equalizer--difficulty .bar.filled:nth-child(2)  { background-color: #fff176; }
.easports-equalizer--difficulty .bar.filled:nth-child(3)  { background-color: #ffab91; }
.easports-equalizer--difficulty .bar.filled:nth-child(4)  { background-color: #e57373; }
.easports-equalizer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.easports-equalizer-row .label {
    flex: 0 0 auto;
    font-size: 0.8rem;
    color: #666;
    min-width: 100px;
}
.easports-equalizer-row .easports-equalizer {
    flex: 1;
    max-width: 180px;
}
.easports-equalizer--interactive .bar {
    cursor: pointer;
}
.easports-equalizer--interactive .bar:hover {
    filter: brightness(0.93);
}
/* Сложность тренировки: 10 сегментов 1–10, зелёный → жёлтый → красный */
.easports-workout-difficulty-eq.easports-equalizer {
    max-width: none;
}
.easports-equalizer--vertical {
    flex-direction: column;
    width: 18px;
    height: 88px;
    gap: 3px;
}
.easports-equalizer--vertical .bar {
    flex: 1 1 0;
    min-width: 0;
    min-height: 8px;
    width: 100%;
}
.easports-equalizer--filter .bar {
    padding: 0;
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    background-color: #e9ecef;
}
/* Фильтр сложности: 0 серый, 1–4 как у эквалайзера сложности */
.easports-equalizer--filter .bar.is-active[data-difficulty="0"],
.easports-equalizer--filter .bar[aria-pressed="true"][data-difficulty="0"] {
    background-color: #6c757d;
}
.easports-equalizer--filter .bar.is-active[data-difficulty="1"],
.easports-equalizer--filter .bar[aria-pressed="true"][data-difficulty="1"] {
    background-color: #81c784;
}
.easports-equalizer--filter .bar.is-active[data-difficulty="2"],
.easports-equalizer--filter .bar[aria-pressed="true"][data-difficulty="2"] {
    background-color: #fff176;
}
.easports-equalizer--filter .bar.is-active[data-difficulty="3"],
.easports-equalizer--filter .bar[aria-pressed="true"][data-difficulty="3"] {
    background-color: #ffab91;
}
.easports-equalizer--filter .bar.is-active[data-difficulty="4"],
.easports-equalizer--filter .bar[aria-pressed="true"][data-difficulty="4"] {
    background-color: #e57373;
}
.easports-equalizer--filter.easports-equalizer--interactive .bar:hover {
    filter: brightness(0.92);
}
.easports-client-slot-form .easports-difficulty-filter-eq {
    width: 18px;
    height: 88px;
    flex: 0 0 auto;
}
.easports-curtain-day-trackers-col .easports-equalizer-row .easports-equalizer {
    max-width: none;
}
.client-card-curtain .easports-cell-inner.easports-day-entry-selected {
    box-shadow: inset 0 0 0 2px #0d6efd;
    border-radius: 6px;
}

/* Шторка карточки клиента — календарь слева, карточки справа столбиком */
.client-card-curtain .easports-curtain-card {
    background-color: #fbfbfb;
    border-radius: 10px;
    padding: 1rem;
}
.client-card-curtain .easports-curtain-card .easports-curtain-card-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.client-card-curtain .easports-curtain-card .easports-curtain-card-head {
    margin-bottom: 0.5rem;
    gap: 6px;
}
.client-card-curtain .easports-curtain-card .easports-curtain-card-head .easports-curtain-card-heading {
    margin-bottom: 0;
    line-height: 1.3;
}
.client-card-curtain .easports-curtain-client-status-badge {
    font-size: 0.6rem;
}
.client-card-curtain .easports-curtain-client-last-visit,
.client-card-curtain .easports-curtain-client-meta {
    font-size: 0.8rem;
    line-height: 1.35;
}
.easports-client-hue-avatar {
    background-color: hsl(var(--client-hue, 0), 55%, 88%);
    flex-shrink: 0;
}
.easports-client-hue-avatar-icon {
    color: hsl(var(--client-hue, 0), 45%, 25%);
}
.easports-client-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.easports-client-avatar-has-img {
    background-color: #e9ecef;
}
.easports-clients-list-grid .easports-client-hue-avatar {
    width: 64px;
    height: 64px;
}
.easports-curtain-card-client .easports-client-hue-avatar {
    width: 56px;
    height: 56px;
}
.client-card .easports-client-list-trackers {
    margin-top: 0.35rem;
}
.client-card .easports-client-list-tracker-row {
    margin-bottom: 3px;
}
.client-card .easports-client-list-tracker-row:last-child {
    margin-bottom: 0;
}
.client-card .easports-client-list-tracker-row .label {
    min-width: 0;
    flex: 0 0 38%;
    max-width: 38%;
    font-size: 0.62rem;
    line-height: 1.2;
}
.client-card .easports-client-list-tracker-row .easports-equalizer {
    flex: 1;
    min-width: 0;
    max-width: none;
}
.easports-client-funnel-badge,
.easports-funnel-preview-badge {
    position: absolute;
    top: 0.35rem;
    left: 0.35rem;
    z-index: 2;
    font-size: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.3em 0.8em 0.5em 0.8em;
    background-color: hsl(var(--funnel-hue, 0), 55%, 88%);
    color: hsl(var(--funnel-hue, 0), 45%, 25%);
}
.easports-funnel-preview-badge {
    position: static;
    font-size: 0.62rem;
}
.client-card .card-body {
    padding-top: 0.75rem !important;
}
.easports-curtain-funnel-field .form-select {
    max-width: 100%;
}

.easports-clients-view-toggle {
    margin-top: 0.15rem;
}
.clients-page #easports-clients-list-root .easports-clients-kanban-body,
.clients-page .easports-clients-kanban,
.clients-page .easports-clients-kanban-col {
    min-height: calc(100vh - 80px);
}
.easports-clients-kanban {
    display: flex;
    gap: 10px;
    align-items: stretch;
    width: 100%;
    padding-bottom: 1rem;
}
.easports-clients-kanban-col {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.easports-clients-kanban-col-head {
    padding: 0.55rem 0.65rem;
    border-radius: 0.375rem;
    background-color: hsl(var(--funnel-hue, 0), 55%, 88%);
    color: hsl(var(--funnel-hue, 0), 45%, 25%);
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}
.easports-clients-kanban-col-head-row {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
}
.easports-clients-kanban-col-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    flex: 1 1 auto;
    min-width: 0;
}
.easports-clients-kanban-sort {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0.1rem 0.2rem;
    margin: -0.1rem -0.2rem 0 0;
    border-radius: 0.25rem;
    line-height: 1;
    font-size: 0.7rem;
    opacity: 0.75;
    cursor: pointer;
}
.easports-clients-kanban-sort:hover,
.easports-clients-kanban-sort.is-active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.35);
}
.easports-clients-kanban-sort-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    min-width: 0;
}
.easports-clients-kanban-sort-label:empty {
    display: none;
}
.easports-clients-kanban-col-count {
    font-size: 0.65rem;
    color: #6c757d;
    margin-top: 0.15rem;
}
.easports-clients-kanban-col-body {
    flex: 1 1 auto;
    min-height: 0;
}
.easports-clients-kanban-col-body.easports-kanban-drop-over {
    background: rgba(13, 110, 253, 0.06);
    border-radius: 0.375rem;
    outline: 1px dashed rgba(13, 110, 253, 0.35);
    outline-offset: -1px;
}
.easports-clients-kanban-card {
    position: relative;
    padding: 0.45rem 0.5rem 1.15rem;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 0.45rem;
    cursor: grab;
    overflow: hidden;
}
.easports-clients-kanban-card-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.easports-clients-kanban-card-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.easports-clients-kanban-card-username .easports-tg-username-link {
    max-width: 100%;
}
.easports-clients-kanban-card-meta {
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    pointer-events: none;
}
.easports-clients-kanban-card-date {
    font-size: 0.65rem;
    font-weight: 300;
    color: #adb5bd;
    line-height: 1;
    white-space: nowrap;
}
.easports-clients-kanban-card-date--reg {
    text-align: left;
}
.easports-clients-kanban-card-date--action {
    text-align: right;
    margin-left: auto;
}
.easports-warmup-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1a3a5c;
    background: hsl(210 80% 92%);
    border: 1px solid hsl(210 50% 78%);
    flex-shrink: 0;
}
.easports-clients-kanban-chat-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: #0d6efd;
    flex-shrink: 0;
}
.easports-clients-kanban-chat-badge--read {
    color: #6c757d;
    background: #e9ecef;
}
.easports-client-chat-action {
    display: inline-block;
    font-style: italic;
    color: #6c757d;
    white-space: pre-wrap;
}
.easports-client-chat-sticker {
    font-size: 2.5rem;
    line-height: 1.2;
    display: inline-block;
}
.easports-client-chat-img,
.easports-client-chat-video {
    display: block;
    max-width: 100%;
    max-height: 240px;
}
.easports-client-chat-video-note {
    width: 160px;
    height: 160px;
    object-fit: cover;
}
.tasks-page #task-log-tabs .nav-link {
    font-size: 0.75rem;
    cursor: pointer;
}
.easports-clients-kanban-card:active {
    cursor: grabbing;
}
.easports-clients-kanban-card-dragging {
    opacity: 0.55;
}
.easports-clients-kanban-card-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
}
.easports-tg-username-link {
    text-decoration: none;
}
.easports-tg-username-link:hover {
    text-decoration: underline;
    color: #6c757d !important;
}

/* Палитра цвета клиента (календарь на главной) */
.easports-client-hue-palette {
    gap: 6px;
}
.easports-client-hue-option {
    cursor: pointer;
    line-height: 0;
}
.easports-client-hue-option input:checked + .easports-client-hue-swatch,
.easports-client-hue-option input:focus + .easports-client-hue-swatch {
    box-shadow: 0 0 0 2px #0d6efd;
}
.easports-client-hue-swatch {
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background-color: hsl(var(--swatch-hue, 0), 55%, 88%);
    box-sizing: border-box;
}
.easports-client-hue-swatch--auto {
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    color: #555;
    background: #ececec;
}
.client-card-curtain .easports-curtain-card-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border: 1px solid rgba(13, 110, 253, 0.55);
    border-radius: 50%;
    color: #0d6efd;
    font-size: 0.5rem;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    background: transparent;
    cursor: pointer;
    line-height: 1;
    box-sizing: border-box;
}
.client-card-curtain .easports-curtain-card-icon-btn:hover {
    color: #0a58ca;
    border-color: #0a58ca;
    background-color: rgba(13, 110, 253, 0.06);
}
.client-card-curtain .easports-curtain-card-icon-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}
.client-card-curtain .easports-curtain-card .easports-curtain-card-text {
    font-size: 0.8rem;
    color: #333;
}
.client-card-curtain .easports-curtain-card .easports-curtain-card-text.text-muted {
    color: #6c757d;
}
.client-card-curtain .easports-curtain-card .easports-curtain-edit {
    margin-top: 0.75rem;
    font-size: 0.8rem;
}
.easports-curtain-day-panel .easports-curtain-card-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
}
.client-card-curtain .easports-curtain-calendar .easports-curtain-card-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}
.client-card-curtain .easports-curtain-calendar .easports-curtain-card-text {
    font-size: 0.8rem;
    color: #333;
}
.client-card-curtain .easports-curtain-calendar .easports-curtain-card-text .text-muted {
    color: #6c757d;
}

/* План тренировок в шторке (как miniapp products) */
.client-card-curtain .easports-curtain-plan {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.client-card-curtain .easports-curtain-plan > .easports-curtain-card-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
}
.client-card-curtain .easports-curtain-plan-weeks {
    overflow: auto;
    min-height: 0;
    flex: 1 1 auto;
    padding-right: 0.15rem;
}
.client-card-curtain .miniapp-product-card {
    width: 100%;
    border: 1px solid #e8ebee;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
}
.client-card-curtain .easports-curtain-plan-week-head {
    padding: 0.55rem 0.75rem;
}
.client-card-curtain .miniapp-product-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: left;
}
.client-card-curtain .miniapp-product-contents-btn {
    background: #e9ecef;
    border: 1px solid #dee2e6;
    color: #495057;
}
.client-card-curtain .easports-curtain-plan-btn-xs,
.client-card-curtain .miniapp-product-contents-btn.easports-curtain-plan-btn-xs {
    font-size: 10px;
    line-height: 1.2;
    padding: 0.2rem 0.45rem;
}
.client-card-curtain .miniapp-product-contents-btn:hover,
.client-card-curtain .miniapp-product-contents-btn:focus {
    background: #dee2e6;
    border-color: #ced4da;
    color: #343a40;
}
.client-card-curtain .miniapp-product-contents-btn.is-open {
    background: #dee2e6;
    border-color: #ced4da;
}
.client-card-curtain .miniapp-product-days {
    border-top: 1px solid #e8ebee;
    padding: 0.35rem 0.75rem 0.65rem;
    width: 100%;
    box-sizing: border-box;
}
.client-card-curtain .easports-curtain-plan-day {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    min-height: 50px;
    padding: 0.2rem 0;
}
.client-card-curtain .easports-curtain-plan-day + .easports-curtain-plan-day {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.client-card-curtain .easports-curtain-plan-day-meta {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    align-self: center;
}
.client-card-curtain .miniapp-product-day-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6c757d;
    line-height: 1.1;
    white-space: nowrap;
}
.client-card-curtain .easports-curtain-plan-day-meta .easports-curtain-cell-add,
.client-card-curtain .easports-curtain-plan-day-meta .easports-curtain-cell-edit {
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.7rem;
    flex-shrink: 0;
}
.client-card-curtain .easports-curtain-plan-day-meta .easports-curtain-cell-add:hover,
.client-card-curtain .easports-curtain-plan-day-meta .easports-curtain-cell-edit:hover {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.08);
}
.client-card-curtain .easports-curtain-plan-day-slots {
    width: 70%;
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}
.client-card-curtain .easports-curtain-plan-day--cycle-red,
.client-card-curtain .easports-curtain-plan-day--cycle-yellow,
.client-card-curtain .easports-curtain-plan-day--cycle-green {
    position: relative;
    padding-left: 0.45rem;
}
.client-card-curtain .easports-curtain-plan-day--cycle-red::before,
.client-card-curtain .easports-curtain-plan-day--cycle-yellow::before,
.client-card-curtain .easports-curtain-plan-day--cycle-green::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15rem;
    bottom: 0.15rem;
    width: 5px;
    border-radius: 5px 0 0 5px;
}
.client-card-curtain .easports-curtain-plan-day--cycle-red::before {
    background: rgba(229, 57, 53, 0.4);
}
.client-card-curtain .easports-curtain-plan-day--cycle-yellow::before {
    background: rgba(255, 179, 0, 0.4);
}
.client-card-curtain .easports-curtain-plan-day--cycle-green::before {
    background: rgba(67, 160, 71, 0.4);
}
.client-card-curtain .easports-curtain-plan-day--today.easports-curtain-plan-day--cycle-red,
.client-card-curtain .easports-curtain-plan-day--today.easports-curtain-plan-day--cycle-yellow,
.client-card-curtain .easports-curtain-plan-day--today.easports-curtain-plan-day--cycle-green {
    box-shadow: inset 0 0 0 1px rgba(13, 110, 253, 0.25);
}
.client-card-curtain .easports-curtain-plan-load-newer-wrap {
    flex-shrink: 0;
}
.client-card-curtain .easports-curtain-plan-slot {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 50px;
    margin-left: 5px;
    padding: 0.25rem 0.4rem;
    border-radius: 0.375rem;
    background: #f8f9fa;
    border: 1px solid #eef0f2;
    box-sizing: border-box;
}
.client-card-curtain .easports-curtain-plan-slot--rest {
    background: #fafbfc;
}
.client-card-curtain .easports-curtain-plan-slot--personal {
    background: #fff5ca;
}
.client-card-curtain .easports-curtain-plan-workout--viewed {
    background: #daffee;
}
.client-card-curtain .easports-curtain-plan-slot-thumb {
    position: relative;
    flex-shrink: 0;
}
.client-card-curtain .easports-curtain-plan-slot-play {
    position: absolute;
    right: -4px;
    bottom: -4px;
    z-index: 2;
    width: 1.35rem;
    height: 1.35rem;
    padding: 0 0 0 2px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.client-card-curtain .easports-curtain-plan-slot-text {
    min-width: 0;
}
.client-card-curtain .easports-curtain-plan-slot-body {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}
.client-card-curtain .easports-curtain-plan-slot-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    flex-shrink: 0;
    align-self: start;
}
.client-card-curtain .miniapp-product-workout-title {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    color: #212529;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.client-card-curtain .miniapp-product-workout-desc {
    margin-top: 0.1rem;
    font-size: 0.65rem;
    line-height: 1.25;
    color: #6c757d;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.client-card-curtain .miniapp-product-workout-desc.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    white-space: pre-wrap;
    text-overflow: unset;
}
.client-card-curtain .miniapp-product-thumb {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.client-card-curtain .miniapp-product-thumb--placeholder {
    width: 2.25rem;
    height: 2.25rem;
    background: #e9ecef;
    font-size: 0.75rem;
}
.client-card-curtain .miniapp-product-thumb--special {
    background: var(--bs-orange);
}
.client-card-curtain .miniapp-product-thumb--special .easports-plan-slot-icon {
    width: 1.35rem;
    height: 1.35rem;
    display: block;
    object-fit: contain;
}
.client-card-curtain .miniapp-product-thumb--special svg.easports-plan-slot-icon {
    width: 1.35rem;
    height: 1.35rem;
}
.client-card-curtain .miniapp-product-thumb--special svg.easports-plan-slot-icon--fill {
    color: #fff5ca;
}
.client-card-curtain .miniapp-product-thumb--special svg.easports-plan-slot-icon--fill path {
    fill: currentColor;
    stroke: none;
}
.client-card-curtain .easports-curtain-plan-day--today {
    background: rgba(13, 110, 253, 0.04);
    border-radius: 0.35rem;
}
.client-card-curtain .easports-curtain-plan-workout--viewed .miniapp-product-workout-title {
    color: #6c757d;
}
.client-card-curtain .easports-curtain-plan-slot .easports-slot-delete-btn {
    line-height: 1;
    opacity: 0.55;
    width: 1rem;
    height: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.client-card-curtain .easports-curtain-plan-slot .easports-slot-delete-btn:hover,
.client-card-curtain .easports-curtain-plan-slot .easports-slot-delete-btn:focus {
    opacity: 1;
    text-decoration: none;
}
.client-card-curtain .easports-slot-note-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.95rem;
    height: 0.95rem;
    font-size: 0.7rem;
    line-height: 1;
    flex-shrink: 0;
}
.client-card-curtain .easports-slot-note-badge--period {
    color: #e53935;
}
.client-card-curtain .easports-slot-note-badge--note {
    color: #6c757d;
}
.client-card-curtain .easports-slot-note-badge--state {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
}
.client-card-curtain .easports-slot-note-state--1 { background-color: #e57373; }
.client-card-curtain .easports-slot-note-state--2 { background-color: #ef9a9a; }
.client-card-curtain .easports-slot-note-state--3 { background-color: #ff8a80; }
.client-card-curtain .easports-slot-note-state--4 { background-color: #ffab91; }
.client-card-curtain .easports-slot-note-state--5 { background-color: #ffcc80; }
.client-card-curtain .easports-slot-note-state--6 { background-color: #fff176; }
.client-card-curtain .easports-slot-note-state--7 { background-color: #c5e1a5; }
.client-card-curtain .easports-slot-note-state--8 { background-color: #aed581; }
.client-card-curtain .easports-slot-note-state--9 { background-color: #a5d6a7; }
.client-card-curtain .easports-slot-note-state--10 { background-color: #81c784; }
.client-card-curtain .easports-curtain-plan-slot[data-slot-note-url] {
    cursor: pointer;
}
.client-card-curtain .easports-curtain-plan-slot[draggable="true"] {
    cursor: grab;
}
.client-card-curtain .easports-curtain-plan-slot.is-dragging-plan-slot {
    opacity: 0.55;
}
.easports-slot-note-textarea {
    min-height: 200px;
    overflow-y: hidden;
    resize: none;
}
.easports-slot-note-workout-desc-row {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}
.easports-slot-note-workout-desc {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}
.easports-slot-note-workout-desc.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
    white-space: pre-wrap;
    text-overflow: unset;
}
.easports-slot-note-desc-toggle {
    flex: 0 0 auto;
    line-height: 1;
    padding: 0.1rem 0.2rem;
    color: #6c757d;
    text-decoration: none;
}
.easports-slot-note-desc-toggle:hover {
    color: #212529;
}
.easports-workout-card-desc-btn {
    position: relative;
}
.easports-workout-desc-popover {
    display: none;
}
.easports-workout-desc-popover--float {
    display: block;
    position: fixed;
    z-index: 1100;
    width: max-content;
    max-width: min(280px, calc(100vw - 24px));
    max-height: min(50vh, 320px);
    overflow-y: auto;
    padding: 0.5rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    white-space: pre-wrap;
    color: #212529;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.375rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    pointer-events: none;
}
.easports-workout-desc-popover--float[hidden] {
    display: none !important;
}
.easports-slot-period-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
    margin: 0;
}
.easports-slot-period-toggle .easports-slot-period-label {
    font-size: 0.875rem;
}
.easports-slot-period-toggle .easports-slot-period-icon {
    font-size: 1.15rem;
    color: #adb5bd;
    transition: color 0.15s ease;
}
.easports-slot-period-toggle.is-on .easports-slot-period-icon {
    color: #e53935;
}
.client-card-curtain .easports-slot-day-drop.is-drop-target,
.client-card-curtain .easports-curtain-plan-day.is-drop-target > .easports-curtain-plan-day-slots {
    outline: 2px dashed #0d6efd;
    outline-offset: 2px;
    background: rgba(13, 110, 253, 0.06);
}

/* Каталог видео-тренировок в шторке слота — как на странице тренировок, по 2 в ряд */
.easports-client-slot-form .easports-slot-video-catalog .easports-workouts-list-body > .col-4 {
    flex: 0 0 50%;
    max-width: 50%;
}
.easports-client-slot-form .easports-slot-video-catalog .easports-workout-card-preview {
    aspect-ratio: 5 / 4;
    width: 100%;
    overflow: hidden;
}
.easports-client-slot-form .easports-slot-video-catalog .easports-workout-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.easports-client-slot-form .easports-slot-video-catalog .easports-workout-card-preview-wrap {
    position: relative;
}
.easports-client-slot-form .easports-slot-video-catalog .easports-workout-card-actions {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.easports-client-slot-form .easports-slot-video-catalog .easports-workout-card-play,
.easports-client-slot-form .easports-slot-video-catalog .easports-workout-card-desc-btn {
    position: static;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.easports-client-slot-form .easports-slot-video-catalog .easports-workout-card-desc-btn {
    color: #495057;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
}
.easports-client-slot-form .easports-slot-video-catalog .easports-workout-card-tags {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    max-width: calc(100% - 12px);
    pointer-events: none;
}
.easports-client-slot-form .easports-slot-video-catalog .easports-workout-card-tags .badge {
    font-size: 0.6rem;
    font-weight: 500;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #495057;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.easports-client-slot-form .easports-slot-day-drop.is-drop-target {
    outline: 2px dashed #0d6efd;
    outline-offset: 2px;
    background: rgba(13, 110, 253, 0.04);
}

/* Календарь клиента — слоты по дням */
.easports-calendar-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.easports-calendar-slot {
    display: flex;
    flex-direction: column;
    min-width: 70px;
    flex: 1;
    padding: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
    transition: background-color 0.2s, border-color 0.2s;
}
.easports-calendar-slot:hover {
    border-color: rgba(0,0,0,0.1);
}
.easports-slot-active {
    background-color: #fffef7;
}
.easports-slot-rest {
    background-color: #f5f5f5;
}
.easports-slot-today {
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #ffe79f;
}
.easports-slot-weekday {
    font-size: 0.65rem;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
    display: block;
}
.easports-slot-date {
    font-size: 0.7rem;
    font-weight: 700;
    color: #555;
    margin-bottom: 0.25rem;
}
.easports-slot-content {
    font-size: 0.75rem;
    line-height: 1.2;
}

/* Календарь клиента — таблица месяца (как на главной) */
.client-card-curtain .easports-curtain-calendar-table-wrap {
    overflow-x: auto;
}
.client-card-curtain .easports-curtain-calendar-table {
    table-layout: fixed;
    width: 100%;
}
.client-card-curtain .easports-curtain-calendar-table thead th {
    width: 14.28%;
    border: none;
    font-weight: 600;
    color: #666;
    padding: 0.35rem 0.25rem;
}
.client-card-curtain .easports-curtain-calendar-table tbody td {
    width: 14.28%;
    vertical-align: top;
    border: none;
    height: 120px;
}
.client-card-curtain .easports-curtain-calendar-table tbody tr {
    height: 120px;
}
.client-card-curtain .easports-curtain-calendar-table .easports-calendar-cell {
    height: 120px;
}
.client-card-curtain .easports-curtain-calendar-table .easports-cell-inner {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 6px 8px;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    overflow: auto;
}
.client-card-curtain .easports-curtain-calendar-table .easports-cell-inner.easports-slot-active {
    background-color: #fffef7;
}
.client-card-curtain .easports-curtain-calendar-table .easports-cell-inner.easports-slot-today {
    border: 1px solid #fff;
    box-shadow: 0 0 0 1px #ffe79f;
}
.client-card-curtain .easports-curtain-calendar-table .easports-curtain-cell-head {
    margin-bottom: 4px;
    gap: 4px;
}
.client-card-curtain .easports-curtain-calendar-table .easports-curtain-cell-head .easports-cell-date {
    margin-bottom: 0;
    line-height: 1.2;
}
.client-card-curtain .easports-curtain-calendar-table .easports-curtain-cell-add,
.client-card-curtain .easports-curtain-calendar-table .easports-curtain-cell-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border: 1px solid rgba(13, 110, 253, 0.55);
    border-radius: 50%;
    color: #0d6efd;
    text-decoration: none;
    font-size: 0.5rem;
    flex-shrink: 0;
    margin-top: 0;
    line-height: 1;
}
.client-card-curtain .easports-curtain-calendar-table .easports-curtain-cell-edit {
    font-size: 0.45rem;
}
.client-card-curtain .easports-curtain-calendar-table .easports-curtain-cell-add:hover,
.client-card-curtain .easports-curtain-calendar-table .easports-curtain-cell-edit:hover {
    color: #0a58ca;
    border-color: #0a58ca;
    background-color: rgba(13, 110, 253, 0.06);
}
.client-card-curtain .easports-curtain-calendar-table .easports-cell-date {
    font-size: 0.7rem;
    color: #888;
    margin-bottom: 4px;
    font-weight: 500;
}
.client-card-curtain .easports-curtain-calendar-table .easports-curtain-slot-text {
    font-size: 0.65rem;
    line-height: 1.05;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.client-card-curtain .easports-curtain-slot-line--viewed .easports-curtain-slot-text {
    color: #2e7d32;
    font-weight: 600;
}
.client-card-curtain .easports-curtain-calendar-table .js-curtain-pick-day-entry {
    cursor: pointer;
}
.client-card-curtain .easports-curtain-calendar-table .easports-slot-delete-btn {
    font-size: 0.65rem;
    line-height: 1;
    margin-top: 4px;
}
.client-card-curtain .easports-curtain-calendar-table .easports-slot-content {
    font-size: 0.7rem;
    line-height: 1.2;
}
.client-card-curtain .easports-curtain-calendar-table .easports-cell-other-month .easports-cell-inner {
    background-color: #fbfbfb;
}

/* Неделя — фиксированная высота таблицы (одна строка) */
.client-card-curtain .easports-curtain-calendar-table-week tbody tr {
    height: 120px;
    max-height: 120px;
}
.client-card-curtain .easports-curtain-calendar-table-week tbody td {
    max-height: 120px;
}
.client-card-curtain .easports-curtain-calendar-table-week {
    height: auto;
}

/* Тренировки / Клиенты — отступ под фиксированную шапку */
.workouts-page .container-fluid.pt-5,
.clients-page .container-fluid.pt-5 {
    padding-top: 80px !important;
}

/* Тренировки — две колонки 3:1, фиксированная высота, независимый скролл */
.workouts-page .easports-workouts-layout {
    display: flex;
    gap: 0;
    height: calc(100vh - 80px);
    margin: 0 -15px;
    padding: 0 15px;
}
.workouts-page .easports-workouts-left {
    flex: 3;
    min-width: 0;
    overflow-y: auto;
    padding-right: 1rem;
}
.workouts-page .easports-workouts-right {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
    border-left: 1px solid #eee;
    padding-left: 1rem;
}
.workouts-page .easports-workouts-left .row .col-4 {
    max-width: 33.333%;
}

/* Шторка продукта: карточка дня — как в макете (белая карточка, тень, шапка, зона контента) */
.series-day-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 10px;
    border: none;
}
.series-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.series-day-label {
    font-size: 12px;
    font-weight: 500;
    color: rgb(121, 129, 137);
}
.series-day-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.series-day-actions .series-day-add,
.series-day-actions .series-day-remove {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
}
.series-day-actions .series-day-add { color: #007BFF; }
.series-day-actions .series-day-add:hover { color: #0056b3; }
.series-day-actions .series-day-remove { color: #DC3545; }
.series-day-actions .series-day-remove:hover { color: #c82333; }
.series-day-workout {
    min-height: 56px;
    background: #f8f9fa;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.series-day-workouts {
    cursor: pointer;
}
.series-day-workout-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.series-day-workout-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 6px;
    padding: 6px 8px;
    min-width: 0;
}
.series-day-workout-item[draggable="true"] {
    cursor: grab;
}
.series-day-workout-item[draggable="true"]:active,
.series-day-workout-item-dragging {
    cursor: grabbing;
    opacity: 0.85;
}
.series-day-workout-handle {
    padding: 0 4px;
    border: none;
    background: none;
    color: #adb5bd;
    cursor: grab;
    flex-shrink: 0;
    line-height: 1;
}
.series-day-workout-handle:hover {
    color: #6c757d;
}
.series-day-workout-remove {
    padding: 0 4px;
    border: none;
    background: none;
    color: #DC3545;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
}
.series-day-workout-remove:hover {
    color: #c82333;
}
.series-day-workout-lock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    user-select: none;
}
.series-day-workout-lock .form-check-input {
    margin: 0;
    cursor: pointer;
}
.series-day-workout-lock .small {
    white-space: nowrap;
    font-size: 0.7rem;
}
.series-day-workout-dropzone {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #ced4da;
    border-radius: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.6);
}
.series-day-placeholder {
    font-size: 12px;
    color: #6C757D;
    margin: 0;
    text-align: center;
}
.series-day-workout-content {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.series-day-workout-img {
    width: 60px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.series-day-workout-no-img {
    width: 60px;
    height: 48px;
    border-radius: 6px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6C757D;
}
.series-day-workout-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.85);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.series-day-block.series-day-active .series-day-workouts {
    box-shadow: 0 0 0 2px #007BFF;
    border-radius: 8px;
}
.series-day-block.series-day-drag-over .series-day-workouts {
    background-color: rgba(0, 123, 255, 0.08);
}
.series-day-block.series-day-drag-over .series-day-workout-dropzone {
    border-color: #007BFF;
    background-color: rgba(0, 123, 255, 0.12);
}

/* Тренировка (шторка): сброс превью/видео — компактный крестик внутри блока, как easports-slot-delete-btn в календаре */
.easports-curtain-form .easports-workout-field-clear {
    position: absolute;
    right: 6px;
    z-index: 2;
    margin-top: 0;
    line-height: 1;
    font-size: 0.85rem;
}
.easports-curtain-form .easports-workout-video-wrap .easports-workout-field-clear {
    top: 50%;
    transform: translateY(-50%);
}
.easports-curtain-form .easports-workout-preview-zone > .easports-workout-field-clear {
    top: 6px;
}
.easports-curtain-form .easports-workout-preview-zone > .js-workout-preview-clear {
    right: 6px;
}
.easports-curtain-form .easports-workout-preview-zone > .js-workout-preview-regenerate {
    right: 28px;
}
.easports-curtain-form .easports-workout-preview-zone > .js-workout-preview-regenerate:disabled {
    opacity: 0.5;
    pointer-events: none;
}
.easports-curtain-form .easports-workout-preview-zone > .js-workout-preview-regenerate .fa-sync-alt.spinning {
    animation: easports-spin 0.8s linear infinite;
}
@keyframes easports-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Миниатюры в строке (видео в форме тренировки, галерея видео) — 5:4, горизонтально */
.easports-thumb-5x4 {
    width: 60px;
    height: 48px;
    object-fit: cover;
    border-radius: 0.375rem;
    flex-shrink: 0;
}
.easports-thumb-5x4-placeholder {
    width: 60px;
    height: 48px;
    border-radius: 0.375rem;
    flex-shrink: 0;
}

/* Превью тренировки — соотношение сторон 5:4 (шторка), горизонтально */
.easports-curtain-form .easports-workout-preview-zone .easports-workout-preview-thumb {
    display: flex;
    justify-content: center;
    align-items: center;
}
.easports-curtain-form .easports-workout-preview-zone .easports-workout-preview-frame {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 0.375rem;
}
.easports-curtain-form .easports-workout-preview-zone .easports-workout-preview-frame .workout-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Галерея тренировок — превью карточки 5:4 */
.workouts-page .easports-workout-card-preview {
    aspect-ratio: 5 / 4;
    width: 100%;
    overflow: hidden;
}
.workouts-page .easports-workout-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.workouts-page .easports-workout-card-preview-wrap {
    position: relative;
}
.workouts-page .easports-workout-card-actions {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.workouts-page .easports-workout-card-play,
.workouts-page .easports-workout-card-desc-btn {
    position: static;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.workouts-page .easports-workout-card-desc-btn {
    color: #495057;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Шторка дня клиента: вкладки и список тренировок */
.easports-client-slot-form .nav-tabs-sm .nav-link {
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
}
.client-slot-item[draggable="true"] {
    cursor: grab;
}
.client-slot-item.dragging {
    opacity: 0.85;
}
.client-slot-preview {
    width: 52px;
    height: 42px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f3f5;
    flex-shrink: 0;
}
.client-slot-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.client-slot-preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1rem;
}
.client-slot-play {
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.client-slot-actions .client-slot-remove {
    line-height: 1;
}
.workouts-page .easports-workouts-left-header {
    min-height: 1.75rem;
}
.workouts-page .easports-workout-tag-filters {
    flex: 1;
    min-width: 0;
}
.easports-workout-tag-filters .easports-workout-tag-filter {
    font-size: 10px;
    font-weight: normal;
    cursor: pointer;
    padding: 0.35em 0.65em;
    line-height: 1.2;
}
.workouts-page .easports-workout-tag-filters .easports-workout-tag-filter.bg-secondary {
    opacity: 0.9;
}
.workouts-page .easports-workout-card-tags {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    max-width: calc(100% - 12px);
    pointer-events: none;
}
.workouts-page .easports-workout-card-tags .badge {
    font-size: 0.6rem;
    font-weight: 500;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #495057;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.easports-curtain-form .easports-workout-form-play {
    position: absolute;
    left: 8px;
    bottom: 8px;
    z-index: 3;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.easports-video-gallery-card-actions .btn-link {
    line-height: 1;
    min-width: 1.25rem;
}

/* Прогресс загрузки медиа (галерея видео, форма видео) */
.easports-video-upload-zone,
.easports-video-form-video-zone,
.easports-video-form-preview-zone {
    min-height: 148px;
    overflow: hidden;
}
.easports-video-upload-zone.is-uploading,
.easports-video-form-video-zone.is-uploading,
.easports-video-form-preview-zone.is-uploading {
    text-align: left;
}
.easports-upload-progress {
    padding: 1rem 1.1rem;
    text-align: left;
    box-sizing: border-box;
}
.easports-upload-progress-steps {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.easports-upload-progress-step {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.8125rem;
    line-height: 1.3;
    color: #adb5bd;
    transition: color 0.2s ease;
}
.easports-upload-progress-step.is-active {
    color: #0d6efd;
    font-weight: 600;
}
.easports-upload-progress-step.is-done {
    color: #198754;
}
.easports-upload-progress-step-icon {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    border: 2px solid currentColor;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
}
.easports-upload-progress-step.is-active .easports-upload-progress-step-icon {
    border-color: #0d6efd;
    background: rgba(13, 110, 253, 0.15);
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}
.easports-upload-progress-step.is-done .easports-upload-progress-step-icon {
    border-color: #198754;
    background: #198754;
}
.easports-upload-progress-step.is-done .easports-upload-progress-step-icon::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 0;
    width: 4px;
    height: 7px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.easports-upload-progress-bar-wrap {
    height: 6px;
    margin-bottom: 0.35rem;
}
.easports-upload-progress-percent {
    margin: 0;
    font-size: 0.75rem;
}
.easports-video-upload-zone .easports-upload-progress,
.easports-video-form-video-zone .easports-upload-progress:not(.easports-upload-progress--image),
.easports-video-form-preview-zone .easports-upload-progress--image {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    border-radius: inherit;
}
.easports-curtain-form .easports-video-form-video-zone,
.easports-curtain-form .easports-video-form-preview-zone {
    min-height: 120px;
}
.easports-curtain-form .easports-video-form-preview-zone .easports-workout-preview-frame {
    max-width: 160px;
}

.curtain-content {
    padding: 0;
    height: 100%;
}

#content {
    padding-bottom: 0px;
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
    height: 100vh;
    height: 100vh;
}

/* При открытом меню контент должен правильно ограничиваться */
body.left-menu-active #content {
    width: calc(100% - 235px);
    max-width: calc(100% - 235px);
}

#column-left, #content, #footer, #column-filter, .hasfilter {
    transition: all 0.3s;
}

/* Стили для .row.pt-4 убраны, используются раздельные стили */

/* Основной контент внутри row */
.hasfilter {
    padding-left: 15px;
    padding-right: 15px;
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box;
    order: 1;
}

/* Когда фильтр активен, контент занимает calc(100% - 300px) */
body.filter-active .hasfilter {
    flex: 0 0 calc(100% - 300px);
    max-width: calc(100% - 300px);
    min-width: 0;
}

/* Когда фильтр скрыт, контент занимает всю ширину */
body:not(.filter-active) .hasfilter {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
}

/* Комбинация: меню открыто + фильтр активен/скрыт - будет переопределено в media query для desktop */

/* Убрано - используется новая структура макета */

#column-left + #content, #column-left + #content + #footer {
    position: relative;
    left: 0;
    margin-left: 0;
}

/* Убрано - меню теперь всегда видно и работает через hover */

/* ============================================
   НОВАЯ СТРУКТУРА МАКЕТА
   ============================================ */

/* Левая колонка (меню) - фиксированная 62px */
#column-left {
    width: 62px;
    height: 100vh;
    overflow: visible;
    background-color: #242d37;
    position: fixed;
    top: 0px;
    left: 0px;
    padding-top: 0;
    z-index: 1000;
    min-height: 73px;
    transition: width 0.3s ease;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

/* При наведении меню разворачивается поверх контента (не сдвигает центральную часть) */
#column-left:hover {
    width: 235px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001; /* Выше контента при наведении */
}

/* Скрываем названия пунктов меню по умолчанию */
#column-left #menu li a {
    white-space: nowrap;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#column-left #menu li a i {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    margin-right: 0;
}

#column-left #menu li a .menu-text {
    opacity: 0;
    width: 0;
    display: inline-block;
    transition: opacity 0.2s ease, width 0.2s ease;
    margin-left: 0;
}

/* При наведении показываем названия */
#column-left:hover #menu li a .menu-text {
    opacity: 1;
    width: auto;
    margin-left: 10px;
}

/* Аватарка по центру слева */
#navigation #user-profile {
    width: 40px;
    height: 40px;
    object-fit: cover;
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    flex-shrink: 0;
}

/* Блок с именем пользователя и селектором клиентов */
#navigation #user-info {
    position: absolute;
    left: 62px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.3s ease 0.2s, max-width 0.3s ease 0.2s;
    white-space: nowrap;
}

/* При наведении показываем имя пользователя с задержкой */
#column-left:hover #navigation #user-info {
    opacity: 1;
    max-width: 200px;
    transition: opacity 0.3s ease 0.2s, max-width 0.3s ease 0.2s;
}

/* Стили для #user-profile перенесены в #navigation #user-profile */

/* Убрано - аватарка не увеличивается при наведении */

/* Версия внизу меню */
#column-left .bottom-0 {
    opacity: 0;
    transition: opacity 0.2s ease;
}

#column-left:hover .bottom-0 {
    opacity: 1;
}

/* Центральная колонка */
#container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Шапка, контент и подвал */
.page-header,
#footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Контент занимает calc(100% - 62px) */
#content {
    width: calc(100% - 62px);
    max-width: calc(100% - 62px);
    box-sizing: border-box;
    height: 100vh;
}

/* Когда меню не активно, добавляем margin-left */
body:not(.left-menu-active) #container,
body:not(.left-menu-active) #content,
body:not(.left-menu-active) #footer {
    margin-left: 62px;
}

body.login-page #container,
body.reset-password-page #container {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
}

/* Контент внутри может содержать правую колонку (фильтр) */

#column-left select,
#column-left select:active {
    background: #19222E;
    border: none;
    margin-left: -4px;
}

/* Desktop */
@media (min-width: 768px) {
    /* Левая колонка (меню) - фиксированная 62px */
    #column-left {
        left: 0px;
        width: 62px;
    }
    
    /* При наведении меню разворачивается поверх контента */
    #column-left:hover {
        width: 235px;
        z-index: 1001;
    }

    /* Центральная колонка */
    #container {
        width: 100%;
        max-width: 100%;
    }
    
    /* Шапка и подвал */
    .page-header,
    #footer {
        width: 100%;
        max-width: 100%;
    }
    
    /* Контент занимает calc(100% - 62px) */
    #content {
        width: calc(100% - 62px);
        max-width: calc(100% - 62px);
    }
    
    /* Когда меню не активно, добавляем margin-left */
    body:not(.left-menu-active) #container,
    body:not(.left-menu-active) #content,
    body:not(.left-menu-active) #footer {
        margin-left: 62px;
    }

    /* Логин и сброс пароля — без бокового меню */
    body.login-page #container,
    body.reset-password-page #container {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }
    
    /* Стили для .row.pt-4 убраны, используются раздельные стили */
    
    /* Фильтр и контент на desktop */
    body.filter-active .hasfilter {
        flex: 0 0 calc(100% - 300px) !important;
        max-width: calc(100% - 300px) !important;
    }
    
    body:not(.filter-active) .hasfilter {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    #column-filter {
        width: 300px !important;
        max-width: 300px !important;
        min-width: 300px !important;
    }
}

/* Убрано - меню теперь всегда видно и работает через hover */

/* Убрано - правило уже определено выше */

/* Menu */
#menu, #menu ul, #menu li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#menu {
    margin-bottom: 25px;
}

#menu li a {
    text-decoration: none;
    display: block;
    padding: 10px;
    cursor: pointer;
    border-bottom: 0px solid #515151;
}

#menu li a.parent:after {
    font-family: FontAwesome;
    float: right;
    margin-right: 8px;
}

#menu li a.parent:after {
    content: "\f107";
}

#menu li a.collapsed:after {
    content: "\f105";
}

/* 1st lvl */
#menu > li {
    position: relative;
    border-bottom: 1px solid #2b3642;
}

#menu > li > a {
    font-size: 14px;
    color: #b3cbdd;
    padding-left: 20px;
    border-bottom: 0px solid #585858;
}

#menu > li > a:hover {
    background-color: #444444;
}

#menu > li > a > i {
    font-size: 16px;
    width: 18px;
    margin-right: 5px;
}

#menu > li.active > a {
    color: #0b91d2;
    background-color: #171b21;
}

#menu > li > ul {
    background-color: #293141;
}

/* 2nd lvl */
#menu li li a {
    color: #7f8a9b;
}

#menu li li a:before {
    content: "\f101";
    font-size: 13px;
    font-family: FontAwesome;
    margin-left: 10px;
    margin-right: 10px;
    transition: margin ease 0.5s;
}

#menu li li a:hover:before {
    margin-right: 20px;
}

#menu li li a:hover {
    color: #FFFFFF;
    background-color: #242d37;
}

#menu li li.active > a {
    color: #0b91d2;
    background-color: #242d37;
}

#menu li ul a {
    padding-left: 20px;
}

#menu li li ul a {
    padding-left: 40px;
}

#menu li li li ul a {
    padding-left: 60px;
}

#menu li li li li ul a {
    padding-left: 80px;
}

/* footer */
#footer {
    height: 100px;
    text-align: center;
}

/* Navs
/* Tabs */
.nav-tabs > li > a {
    color: #a5a5a5;
    border-radius: 2px 2px 0 0;
}

.nav-tabs > li > a:hover {
    border-color: #eee #eee #ddd;
}

.nav-tabs {
    margin-bottom: 25px;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    font-weight: bold;
    color: #333;
}

.form-control:hover {
    border: 1px solid #b9b9b9;
    border-top-color: #a0a0a0;
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
}

div.required .control-label:not(span):before, td.required:before {
    content: '* ';
    color: #F00;
    font-weight: bold;
}

.btn-group {
    white-space: nowrap;
}

.pagination {
    margin: 0;
}

.active>.page-link, .page-link.active {
    background: #ffca2c !important;
    border-color: lightgrey !important;
    color: #0b0b0b !important;
    border-radius: 0.25rem !important;
}

.page-link {
    color: #4b525d !important;
    border-color: transparent !important;
}

.form-group {
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 0;
}

.form-group + .form-group {
    border-top: 1px solid #ededed;
}

tbody > tr > td , th{
    border-left-width: 1px!important;
}

/* Panels */
.panel {
    border-radius: 0px;
}

.panel .panel-heading {
    position: relative;
}

.panel-heading h3 i {
    margin-right: 5px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.panel-heading h3 {
    font-weight: 500;
    display: inline-block;
}

/* Primary Panel */
.panel-primary {
    border: 1px solid #c3e4f6;
    border-top: 2px solid #5cb7e7;
}

.panel-primary .panel-heading {
    color: #1e91cf;
    border-color: #96d0f0;
    background: white;
}

/* Default Panel */
.panel-default {
    border: 1px solid #dcdcdc;
    border-top: 1px solid #dcdcdc;
}

.panel-default .panel-heading {
    color: #4c4d5a;
    border-color: #dcdcdc;
    background: #f6f6f6;
    text-shadow: 0 -1px 0 rgba(50, 50, 50, 0);
}

img.img-thumbnail {
    max-width: 100px;
    max-height: 100px;
}

img.img-thumbnail-small {
    max-width: 50px;
    max-height: 50px;
}

.img-thumbnail i {
    color: #FFFFFF;
    background-color: #EEEEEE;
    text-align: center;
    vertical-align: middle;
    width: 100px;
    height: 100px;
    padding-top: 20px;
    vertical-align: middle;
    display: inline-block;
}

.img-thumbnail.list i {
    width: 40px;
    height: 40px;
    padding-top: 10px;
}

/* Tiles */
.tile {
    margin-bottom: 15px;
    border-radius: 3px;
    color: #FFFFFF;
    transition: all 1s;
}

.tile-primary {
    background-color: #1b80c2;
}

.tile-success {
    background-color: #53b953;
}

.tile-warning {
    background-color: #f3aa41;
}

.tile-danger {
    background-color: #e45847;
}

.tile:hover {
    opacity: 0.95;
}

.tile a {
    color: #FFFFFF;
}

.tile-heading {
    padding: 5px 8px;
    text-transform: uppercase;
    color: #FFF;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .4);
    background-color: rgba(255, 255, 255, 0.1);
}

.tile .tile-heading .pull-right {
    transition: all 1s;
    opacity: 0.7;
}

.tile:hover .tile-heading .pull-right {
    opacity: 1;
}

.tile-body {
    padding: 15px;
    color: #FFFFFF;
    line-height: 48px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .4);
}

.tile .tile-body i {
    font-size: 50px;
    opacity: 0.3;
    transition: all 1s;
}

.tile:hover .tile-body i {
    color: #FFFFFF;
    opacity: 1;
}

.tile .tile-body h2 {
    font-size: 42px;
}

.tile-footer {
    padding: 5px 8px;
    background-color: rgba(0, 0, 0, 0.1);
}

#stats {
    border-radius: 2px;
    color: #808b9c;
    background: #2e3a47;
    margin: 15px 20px;
    padding: 5px 0;
}

#stats ul, #stats li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#stats li {
    font-size: 11px;
    color: #9d9d9d;
    padding: 5px 10px;
    border-bottom: 1px dotted #373737;
}

#stats div:first-child {
    margin-bottom: 4px;
}

#stats .progress {
    height: 3px;
    margin-bottom: 0;
}

.jqvmap-label {
    z-index: 999;
}

.alert {
    overflow: auto;
}

/* Fix form-group margin inside the modal */
.modal-body .form-group {
    margin: 0;
}

/* Fixed Sumernote Button Height */
.note-toolbar.panel-heading i {
    font-size: 14px;
}

/* Filemanager Folder Size */
#filemanager .fa-folder.fa-5x {
    font-size: 10.5em;
}

#extension-list {
    color: #4b525d;
}

#extension-list h2 {
    margin-top: 54px;
    margin-bottom: 44px;
}

#extension-list section {
    border: 1px solid #ddd;
}

#extension-list section > div {
    position: relative;
}

#extension-list section > div + div {
    border-top: 1px solid #ddd;
    padding: 10px;
}

#extension-list section:hover {
    border: 1px solid #1b80c2;
}

#extension-list > .row {
    margin-top: 40px;
}

#extension-list > .row > * {
    margin-bottom: 30px;
}

#extension-list .extension-preview {
    min-height: 150px;
}

#extension-list .extension-preview .extension-description {
    position: absolute;
    background-color: rgba(36, 45, 55, 0.9);
    color: #fff;
    padding: 10px;
    font-size: 14px;
    line-height: 16px;
    opacity: 0;
    height: 100%;
    width: 100%;
}

#extension-list .extension-preview .extension-description:hover {
    opacity: 1;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    #extension-list .extension-preview {
        min-height: 123px;
    }

    #extension-list .extension-preview .extension-description {
        font-size: 12.5px;
        padding: 6px;
    }
}

#extension-list .extension-preview img {
    margin: 0 auto;
}

#extension-list .extension-name {
    min-height: 100px;
}

#extension-list .extension-name p {
    color: #000;
    margin-bottom: 0;
    font-weight: 600;
}

#extension-list .extension-name p:first-child {
    font-size: 17px;
}

#extension-list .extension-name p span {
    color: #4b525d;
    font-weight: 400;
}

#extension-list .extension-name h4 a, #extension-list .extension-name p a {
    color: #000;
}

#extension-list .extension-name + div > .row {
    margin-top: 0;
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    #extension-list .extension-name + div > .row {
        font-size: 14px;
    }
}

#extension-list i {
    color: #10b4e9;
}

#extension-list span {
    font-weight: 600;
}

#marketplace-extension-info #banner img {
    margin-left: auto;
    margin-right: auto;
}

#marketplace-extension-info .extension-review {
    border-top: 5px solid #1b80c2;
    padding-top: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

#marketplace-extension-info .nav-tabs {
    font-size: 14px;
}

#marketplace-extension-info .nav-tabs + .tab-content {
    margin-top: 30px;
    margin-bottom: 30px;
}

#marketplace-extension-info iframe {
    width: 100%;
    height: 500px;
}

@media screen and (max-width: 767px) {
    #marketplace-extension-info iframe {
        height: 350px;
    }
}

#marketplace-extension-info #buy {
    color: #4b525d;
}

#marketplace-extension-info #buy #price {
    color: #000;
    font-size: 20px;
    padding-top: 15px;
    padding-bottom: 5px;
}

#marketplace-extension-info #buy i {
    color: #10b4e9;
}

#marketplace-extension-info #buy hr {
    border-color: #ddd;
    margin: 10px 0;
}

#marketplace-extension-info #sales {
    color: #4b525d;
}

#marketplace-extension-info #sales i {
    color: #7ec239;
    margin-right: 10px;
    font-size: 24px;
}

#marketplace-extension-info #sales strong {
    font-size: 24px;
}

#marketplace-extension-info #comment {
    color: #4b525d;
}

#marketplace-extension-info #comment i {
    margin-right: 10px;
    font-size: 22px;
}

#marketplace-extension-info #comment strong {
    font-size: 22px;
}

#marketplace-extension-info .reply > div {
    margin-top: 15px;
}

#marketplace-extension-info .well .media {
    line-height: 1.2;
}

#marketplace-extension-info .well .media .media-body {
    padding-top: 6px;
}

#marketplace-extension-info .well .media .media-body span {
    font-size: 24px;
    font-weight: 600;
}

#marketplace-extension-info .well .media .media-body small {
    color: #878f9a;
}

@media screen and (max-width: 992px) {
    #marketplace-extension-info .container-fluid {
        padding-bottom: 30px;
    }
}

.list-check {
    list-style: none;
}

.list-check li::before {
    font-family: 'FontAwesome';
    content: '\f00c';
    margin-left: -30px;
    width: 29px;
    display: inline-block;
    color: #7ebd38;
}

.list-check.list-color-blue li::before {
    color: #02afe9;
}

.well.filter {
    background-color: #ffffff;
}

html[dir="rtl"] .form-group ul.dropdown-menu {
    text-align: right;
    left: 0px !important;
    right: 31px !important;
}

html[dir="rtl"] #filter-product {
    overflow: hidden;
}

html[dir="rtl"] .pull-right {
    float: left !important;
}

html[dir="rtl"] .pull-left, html[dir="rtl"] .navbar-nav > li, html[dir="rtl"] .nav-tabs > li {
    float: right !important;
}

html[dir="rtl"] .text-left {
    text-align: right !important;
}

html[dir="rtl"] .text-right {
    text-align: left !important;
}

@media (min-width: 992px) {
    html[dir="rtl"] .col-md-push-9 {
        left: 0% !important;
    }

    html[dir="rtl"] .col-md-pull-3 {
        right: 0% !important;
    }
}

@media (min-width: 768px) {
    html[dir="rtl"] #column-left {
        right: 0px !important;
    }

    html[dir="rtl"] #column-left + #content, html[dir="rtl"] #column-left + #content + #footer {
        left: 0px !important;
        margin-right: 235px !important;
        margin-left: 0px !important;
    }

    html[dir="rtl"] .navbar-header {
        float: right !important;
    }

    html[dir="rtl"] .navbar-right {
        float: left !important;
    }
}

ul.breadcrumb li {
  display: inline;
  font-size: 18px;
}

/* Add a slash symbol (/) before/behind each list item */
ul.breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: "/\00a0";
}

td .rounded-circle {
    max-width: 30px;
}

.small td .rounded-circle {
    max-width: 20px;
}

.nav-link .rounded-circle {
    max-width: 20px;
}

.feed-categories-page .feed-category-list {
    height: 500px;
    position: relative;
}

.feed-categories-page .category-list {
    height: 500px;
    position: relative;
}

.list-item .category-title.active {
    font-weight: bold;
    color: #fd7e14;
}

.feed-categories-page .category-list .btn-match {
    display: none;
}

.feed-categories-page .category-list .list-item:hover .btn-match {
    display: block;
}

.feed-categories-page .category-list .list-item .action-list {
    min-width: 36px;
}

.feed-products-page .feed-product-list {
    height: 500px;
    position: relative;
}

.feed-products-page .product-list {
    height: 500px;
    position: relative;
}

.list-item .product-title.active {
    font-weight: bold;
}

.feed-products-page .product-list .btn-match {
    display: none;
}

.feed-products-page .product-list .list-item:hover .btn-match {
    display: block;
}

.feed-products-page .product-list .list-item .action-list {
    min-width: 36px;
}

.shops-page .action-list {
    min-width: 120px;
}

textarea.form-control {
    font-size: 13px;
    resize: none;
}

.bg-wht {
    background-color: #fff !important;
}

.invisible-scrollbar::-webkit-scrollbar {
  display: none;
}

.mostly-customized-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  background-color: #aaa; /* or add it to the track */
}

.mostly-customized-scrollbar::-webkit-scrollbar-thumb {
  background: #000;
}

.select2-container--bootstrap-5 .select2--small.select2-selection {
    border-radius: 0 !important;
}

.pointer {
    cursor: pointer;
}

.hidden {
    display: none !important;
}
.overflow:hover .ohidden, .overflow .ohidden.oshow {
    display: inline-block !important;
}
.clear {
    clear: both !important;
}

.active-menu a {
    color: white !important;
    font-weight: bold;
}

.copy-link .fa-check-circle {
    color: green;
}

.copy-link .fa-times-circle {
    color: red;
}
.note-editable {
    max-height: 500px !important;
}

.w500 {
    width: 500px;
}

.text-grey {
    color: #d0d0d0 !important;
}

a.text-grey:hover {
    color: #adb5bd !important;
}

.block-more pre {
    max-width: 600px;
}

.nav-pills .nav-item .nav-link {
    background-color: #fff;
    color: #000;
}

.nav-pills .nav-item .nav-link.active {
    background-color: #000;
    color: #fff;
}

.tab-content1 {
  border: 1px solid #dee2e6;
  border-top: transparent;
  padding: 15px;
}

.tab-content1 .tab-pane {
  background-color: #FFF;
  color: #0080FF;
  min-height: 200px;
  height: auto;
}

.btn-clear {
    border: 1px solid #ccc;
    margin-left: -5px;
}

.visits-list .list-item td {
    padding: 0;
}

.visits-list tr .tc {
    text-align: center;
}

.visits-list input {
    width: 100%;
    border: none;
    padding: 0;
    background: none;
    text-align: center;
}

.datepicker {
  padding: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  direction: ltr;
}
.datepicker-inline {
  width: 220px;
}
.datepicker.datepicker-rtl {
  direction: rtl;
}
.datepicker.datepicker-rtl table tr td span {
  float: right;
}
.datepicker-dropdown {
  top: 0;
  left: 0;
}
.datepicker-dropdown:before {
  content: '';
  display: inline-block;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #999999;
  border-top: 0;
  border-bottom-color: rgba(0, 0, 0, 0.2);
  position: absolute;
}
.datepicker-dropdown:after {
  content: '';
  display: inline-block;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #ffffff;
  border-top: 0;
  position: absolute;
}
.datepicker-dropdown.datepicker-orient-left:before {
  left: 6px;
}
.datepicker-dropdown.datepicker-orient-left:after {
  left: 7px;
}
.datepicker-dropdown.datepicker-orient-right:before {
  right: 6px;
}
.datepicker-dropdown.datepicker-orient-right:after {
  right: 7px;
}
.datepicker-dropdown.datepicker-orient-bottom:before {
  top: -7px;
}
.datepicker-dropdown.datepicker-orient-bottom:after {
  top: -6px;
}
.datepicker-dropdown.datepicker-orient-top:before {
  bottom: -7px;
  border-bottom: 0;
  border-top: 7px solid #999999;
}
.datepicker-dropdown.datepicker-orient-top:after {
  bottom: -6px;
  border-bottom: 0;
  border-top: 6px solid #ffffff;
}
.datepicker > div {
  display: none;
}
.datepicker table {
  margin: 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.datepicker td,
.datepicker th {
  text-align: center;
  width: 20px;
  height: 20px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  border: none;
}
.table-striped .datepicker table tr td,
.table-striped .datepicker table tr th {
  background-color: transparent;
}
.datepicker table tr td.day:hover,
.datepicker table tr td.day.focused {
  background: #eeeeee;
  cursor: pointer;
}
.datepicker table tr td.old,
.datepicker table tr td.new {
  color: #999999;
}
.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
  background: none;
  color: #999999;
  cursor: default;
}
.datepicker table tr td.highlighted {
  background: #d9edf7;
  border-radius: 0;
}
.datepicker table tr td.today,
.datepicker table tr td.today:hover,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover {
  background-color: #fde19a;
  background-image: -moz-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: -ms-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
  background-image: -webkit-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: -o-linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-image: linear-gradient(to bottom, #fdd49a, #fdf59a);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
  border-color: #fdf59a #fdf59a #fbed50;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #000;
}
.datepicker table tr td.today:hover,
.datepicker table tr td.today:hover:hover,
.datepicker table tr td.today.disabled:hover,
.datepicker table tr td.today.disabled:hover:hover,
.datepicker table tr td.today:active,
.datepicker table tr td.today:hover:active,
.datepicker table tr td.today.disabled:active,
.datepicker table tr td.today.disabled:hover:active,
.datepicker table tr td.today.active,
.datepicker table tr td.today:hover.active,
.datepicker table tr td.today.disabled.active,
.datepicker table tr td.today.disabled:hover.active,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today:hover.disabled,
.datepicker table tr td.today.disabled.disabled,
.datepicker table tr td.today.disabled:hover.disabled,
.datepicker table tr td.today[disabled],
.datepicker table tr td.today:hover[disabled],
.datepicker table tr td.today.disabled[disabled],
.datepicker table tr td.today.disabled:hover[disabled] {
  background-color: #fdf59a;
}
.datepicker table tr td.today:active,
.datepicker table tr td.today:hover:active,
.datepicker table tr td.today.disabled:active,
.datepicker table tr td.today.disabled:hover:active,
.datepicker table tr td.today.active,
.datepicker table tr td.today:hover.active,
.datepicker table tr td.today.disabled.active,
.datepicker table tr td.today.disabled:hover.active {
  background-color: #fbf069 \9;
}
.datepicker table tr td.today:hover:hover {
  color: #000;
}
.datepicker table tr td.today.active:hover {
  color: #fff;
}
.datepicker table tr td.range,
.datepicker table tr td.range:hover,
.datepicker table tr td.range.disabled,
.datepicker table tr td.range.disabled:hover {
  background: #eeeeee;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.datepicker table tr td.range.today,
.datepicker table tr td.range.today:hover,
.datepicker table tr td.range.today.disabled,
.datepicker table tr td.range.today.disabled:hover {
  background-color: #f3d17a;
  background-image: -moz-linear-gradient(to bottom, #f3c17a, #f3e97a);
  background-image: -ms-linear-gradient(to bottom, #f3c17a, #f3e97a);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
  background-image: -webkit-linear-gradient(to bottom, #f3c17a, #f3e97a);
  background-image: -o-linear-gradient(to bottom, #f3c17a, #f3e97a);
  background-image: linear-gradient(to bottom, #f3c17a, #f3e97a);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
  border-color: #f3e97a #f3e97a #edde34;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}
.datepicker table tr td.range.today:hover,
.datepicker table tr td.range.today:hover:hover,
.datepicker table tr td.range.today.disabled:hover,
.datepicker table tr td.range.today.disabled:hover:hover,
.datepicker table tr td.range.today:active,
.datepicker table tr td.range.today:hover:active,
.datepicker table tr td.range.today.disabled:active,
.datepicker table tr td.range.today.disabled:hover:active,
.datepicker table tr td.range.today.active,
.datepicker table tr td.range.today:hover.active,
.datepicker table tr td.range.today.disabled.active,
.datepicker table tr td.range.today.disabled:hover.active,
.datepicker table tr td.range.today.disabled,
.datepicker table tr td.range.today:hover.disabled,
.datepicker table tr td.range.today.disabled.disabled,
.datepicker table tr td.range.today.disabled:hover.disabled,
.datepicker table tr td.range.today[disabled],
.datepicker table tr td.range.today:hover[disabled],
.datepicker table tr td.range.today.disabled[disabled],
.datepicker table tr td.range.today.disabled:hover[disabled] {
  background-color: #f3e97a;
}
.datepicker table tr td.range.today:active,
.datepicker table tr td.range.today:hover:active,
.datepicker table tr td.range.today.disabled:active,
.datepicker table tr td.range.today.disabled:hover:active,
.datepicker table tr td.range.today.active,
.datepicker table tr td.range.today:hover.active,
.datepicker table tr td.range.today.disabled.active,
.datepicker table tr td.range.today.disabled:hover.active {
  background-color: #efe24b \9;
}
.datepicker table tr td.selected,
.datepicker table tr td.selected:hover,
.datepicker table tr td.selected.disabled,
.datepicker table tr td.selected.disabled:hover {
  background-color: #9e9e9e;
  background-image: -moz-linear-gradient(to bottom, #b3b3b3, #808080);
  background-image: -ms-linear-gradient(to bottom, #b3b3b3, #808080);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
  background-image: -webkit-linear-gradient(to bottom, #b3b3b3, #808080);
  background-image: -o-linear-gradient(to bottom, #b3b3b3, #808080);
  background-image: linear-gradient(to bottom, #b3b3b3, #808080);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
  border-color: #808080 #808080 #595959;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker table tr td.selected:hover,
.datepicker table tr td.selected:hover:hover,
.datepicker table tr td.selected.disabled:hover,
.datepicker table tr td.selected.disabled:hover:hover,
.datepicker table tr td.selected:active,
.datepicker table tr td.selected:hover:active,
.datepicker table tr td.selected.disabled:active,
.datepicker table tr td.selected.disabled:hover:active,
.datepicker table tr td.selected.active,
.datepicker table tr td.selected:hover.active,
.datepicker table tr td.selected.disabled.active,
.datepicker table tr td.selected.disabled:hover.active,
.datepicker table tr td.selected.disabled,
.datepicker table tr td.selected:hover.disabled,
.datepicker table tr td.selected.disabled.disabled,
.datepicker table tr td.selected.disabled:hover.disabled,
.datepicker table tr td.selected[disabled],
.datepicker table tr td.selected:hover[disabled],
.datepicker table tr td.selected.disabled[disabled],
.datepicker table tr td.selected.disabled:hover[disabled] {
  background-color: #808080;
}
.datepicker table tr td.selected:active,
.datepicker table tr td.selected:hover:active,
.datepicker table tr td.selected.disabled:active,
.datepicker table tr td.selected.disabled:hover:active,
.datepicker table tr td.selected.active,
.datepicker table tr td.selected:hover.active,
.datepicker table tr td.selected.disabled.active,
.datepicker table tr td.selected.disabled:hover.active {
  background-color: #666666 \9;
}
.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover {
  background-color: #006dcc;
  background-image: -moz-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -ms-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -o-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker table tr td.active:hover,
.datepicker table tr td.active:hover:hover,
.datepicker table tr td.active.disabled:hover,
.datepicker table tr td.active.disabled:hover:hover,
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.active,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled:hover.active,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active:hover.disabled,
.datepicker table tr td.active.disabled.disabled,
.datepicker table tr td.active.disabled:hover.disabled,
.datepicker table tr td.active[disabled],
.datepicker table tr td.active:hover[disabled],
.datepicker table tr td.active.disabled[disabled],
.datepicker table tr td.active.disabled:hover[disabled] {
  background-color: #0044cc;
}
.datepicker table tr td.active:active,
.datepicker table tr td.active:hover:active,
.datepicker table tr td.active.disabled:active,
.datepicker table tr td.active.disabled:hover:active,
.datepicker table tr td.active.active,
.datepicker table tr td.active:hover.active,
.datepicker table tr td.active.disabled.active,
.datepicker table tr td.active.disabled:hover.active {
  background-color: #003399 \9;
}
.datepicker table tr td span {
  display: block;
  width: 23%;
  height: 54px;
  line-height: 54px;
  float: left;
  margin: 1%;
  cursor: pointer;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.datepicker table tr td span:hover {
  background: #eeeeee;
}
.datepicker table tr td span.disabled,
.datepicker table tr td span.disabled:hover {
  background: none;
  color: #999999;
  cursor: default;
}
.datepicker table tr td span.active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled:hover {
  background-color: #006dcc;
  background-image: -moz-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -ms-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
  background-image: -webkit-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: -o-linear-gradient(to bottom, #0088cc, #0044cc);
  background-image: linear-gradient(to bottom, #0088cc, #0044cc);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0088cc', endColorstr='#0044cc', GradientType=0);
  border-color: #0044cc #0044cc #002a80;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active:hover:hover,
.datepicker table tr td span.active.disabled:hover,
.datepicker table tr td span.active.disabled:hover:hover,
.datepicker table tr td span.active:active,
.datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active.disabled:active,
.datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.active,
.datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled:hover.active,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active:hover.disabled,
.datepicker table tr td span.active.disabled.disabled,
.datepicker table tr td span.active.disabled:hover.disabled,
.datepicker table tr td span.active[disabled],
.datepicker table tr td span.active:hover[disabled],
.datepicker table tr td span.active.disabled[disabled],
.datepicker table tr td span.active.disabled:hover[disabled] {
  background-color: #0044cc;
}
.datepicker table tr td span.active:active,
.datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active.disabled:active,
.datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.active,
.datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled:hover.active {
  background-color: #003399 \9;
}
.datepicker table tr td span.old,
.datepicker table tr td span.new {
  color: #999999;
}
.datepicker .datepicker-switch {
  width: 145px;
}
.datepicker .datepicker-switch,
.datepicker .prev,
.datepicker .next,
.datepicker tfoot tr th {
  cursor: pointer;
}
.datepicker .datepicker-switch:hover,
.datepicker .prev:hover,
.datepicker .next:hover,
.datepicker tfoot tr th:hover {
  background: #eeeeee;
}
.datepicker .cw {
  font-size: 10px;
  width: 12px;
  padding: 0 2px 0 5px;
  vertical-align: middle;
}
.input-append.date .add-on,
.input-prepend.date .add-on {
  cursor: pointer;
}
.input-append.date .add-on i,
.input-prepend.date .add-on i {
  margin-top: 3px;
}
.input-daterange input {
  text-align: center;
}
.input-daterange input:first-child {
  -webkit-border-radius: 3px 0 0 3px;
  -moz-border-radius: 3px 0 0 3px;
  border-radius: 3px 0 0 3px;
}
.input-daterange input:last-child {
  -webkit-border-radius: 0 3px 3px 0;
  -moz-border-radius: 0 3px 3px 0;
  border-radius: 0 3px 3px 0;
}
.input-daterange .add-on {
  display: inline-block;
  width: auto;
  min-width: 16px;
  height: 18px;
  padding: 4px 5px;
  font-weight: normal;
  line-height: 18px;
  text-align: center;
  text-shadow: 0 1px 0 #ffffff;
  vertical-align: middle;
  background-color: #eeeeee;
  border: 1px solid #ccc;
  margin-left: -5px;
  margin-right: -5px;
}

.rel {
    position: relative;
}

.abs {
    position: absolute;
}

#service_rank_line{
    max-width: 80%;
}
#legend-container {
    width: 20%;
    display: inline-block;
    float: right;
}

.service_rank_line {
    max-width: 70%;
}
.legend-container {
    width: 30%;
    display: inline-block;
    float: right;
}

#tooltip {
    z-index: 10000;
}

.vals .dropdown-toggle::after {
    color: #ccc !important;
}

.list-group-item .rounded-circle {
    max-width: 20px;
}

.contact-tab .rounded-circle {
    max-width: 32px;
}

.contact-list {
    height: 500px;
}

.chat-list {
    height: 430px;
}

.t10 {
    font-size: 10px;
}
.undermatch {
    position: absolute;
    top: -15px;
    left: 15px;
    color: #7f758e;
}
/* Старые стили для алертов в верхнем правом углу удалены - теперь используются стили из header.twig для нижнего левого угла */

.contact-list .contact-title.active {
    font-weight: bold;
    color: #dc3545;
}

.no-data {
    background: #f6f6f6;
    height: 100%;
    line-height: 232px;
    text-align: center;
    color: #cdd3e9;
}
.w30 {
    width: 30px;
}
.bggrey {
    background: #eff1f3;
}

.list-item.competitor {
    border-color: #f6f6f6;
}
.list-item.blank {
    border-color: #f6f6f6;
    background: #f6f6f6;
}

tr.bordered {
    border-bottom: 1px solid #f9f9f9;
}
input.lh-in-form {
    line-height: 186%;
}