:root {
    --font-family-sans-serif: Inter, -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";

    --primary: #FFB800;
    --secondary: #00b1eb;

    --link-color: #00b1eb;

    --color-purple: #22183d;
    --color-muted: #958CA0;
    --hr-color: #E4E4E5;

    --grid-gutter: 30px;
    --container-gutter: 15px;
}

.material-icons,
.material-symbols-outlined {
    font-size: 1em;
}

a {
    color:var(--link-color);
}

a:hover {
    color: #0c9fd0;
}

.btn {
    font-size: 20px;
    font-weight: 700;
    padding: 10px .75rem 8px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--color-purple);
}

.btn-primary:hover,
.btn-primary:focus {
    --btn-primary-bg: #dfa714;
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    color: var(--color-purple);
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
    --btn-primary-bg: #d8a00a;
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    color: var(--color-purple);
}


.dashboard-page {
    --nav-sidebar: 100px;
    --header-height: 120px;
    --dashboard-padding-x: 30px;
}

@media (min-width: 1200px) {
    .dashboard-page {
        --nav-sidebar: 150px;
        --dashboard-padding-x: 70px;
    }
}

.dashboard-header:after {
    content: "";
    display: table;
    width: 100%;
    clear: both;
}

.nav-dashboard {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--nav-sidebar);
    border-right: 1px solid var(--hr-color);
    background: #fff;
    padding: 30px 0 170px 0;
    min-height: 100%;
    transition-duration: 300ms;
}

.nav-dashboard .logo-nav {
    --logo-nav-size: 50px;

    width: var(--logo-nav-size);
    height: var(--logo-nav-size);
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--hr-color);
    margin: 0 auto 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.nav-dashboard .logo-nav img {
    max-width: 100%;
    flex-shrink: 0;
}

.nav-dashboard .list-link {
    padding: 0 0 0 45px;
}

.nav-dashboard .link {
    text-decoration: none !important;
    margin: 0 0 50px 0;
    display: block;
    transition-duration: 300ms;
    color: #C0BBC7;
    --nav-link-bg: transparent;
}

.nav-dashboard .link .img {
    background-color: var(--nav-link-bg);
}

.nav-dashboard .link.active,
.nav-dashboard .link:hover {
    color: var(--secondary);
    --nav-link-bg: #EAF8FE;
}

.nav-dashboard .text {
    display: block;
    margin: 0 0 0 75px;
    font-size: 16px;
    line-height: 50px;
    font-weight: 600;
    transition-duration: 300ms;
    color: currentColor;
}

.nav-dashboard .img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    transition-duration: 300ms;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-dashboard .img a {
    height: 100%;
}

.nav-dashboard .img svg {
    width: 27px;
    height: 23px;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.nav-dashboard .back {
    background: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    border-top: 2px solid #f7f8fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-dashboard .back:after {
    content: "";
    width: 42px;
    height: 24px;
    background: url(../img/back.png) 0 0 no-repeat;
    position: absolute;
    left: 0;
    right: 0;
    top: 65px;
    margin: 0 auto;
    transition-duration: 300ms;
    transform: rotate(180deg);
}

.nav-dashboard .back:hover:after {
    background: url(../img/back-hover.png) 0 0 no-repeat;
}

.dashboard-header {
    height: var(--header-height);
    border-bottom: 1px solid var(--hr-color);
    position: absolute;
    top: 0;
    left: var(--nav-sidebar);
    right: 0;
    z-index: 15;
    padding: 0 var(--dashboard-padding-x);
    transition-duration: 300ms;
}

.dashboard-header .jq-selectbox {
    margin: 40px 0 0 0;
    float: left;
    background: none;
    border: none;
}

.dashboard-header .jq-selectbox .jq-selectbox__select .jq-selectbox__select-text {
    padding-left: 0;
    font-size: 20px;
    line-height: 40px;
    font-weight: 600;
}

.dashboard-header .header-user {
    margin: 50px 0 0 0;
    float: right;
}

.header-user {
    position: relative;
    display: inline-block;
    vertical-align: top;
    font-size: 15px;
    line-height: 15px;
    font-weight: 400;
    color: #898989;
    padding: 0 18px 0 0;
    background: url(../img/user.png) right 2px no-repeat;
    -webkit-background-size: 10px auto;
    background-size: 10px auto;
}

.header-user .header-user-text {
    color: var(--color-muted);
    transition-duration: 300ms;
    border-bottom: 1px solid transparent;
}

.header-user:hover .header-user-text {
    border-color: currentColor;
}

.header-user .header-user-text svg {
    width: 1em;
    height: 1em;
}

.header-user .select-custom {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: auto;
    min-height: 15px;
}

.header-user .select-custom .ic {
    opacity: 0;
    min-height: 15px;
}

#panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.dashboard-box {
    padding: 0 0 0 calc(var(--nav-sidebar) - var(--container-gutter));
    transition-duration: 300ms;
}

.dashboard-box.hide-menu .back:after {
    transform: rotate(0deg);
}

.dashboard-box.hide-menu .nav-dashboard .list-link {
    padding: 0 0;
}

.dashboard-box.hide-menu .nav-dashboard .img {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    float: none;
}

.dashboard-box.hide-menu .nav-dashboard .text {
    display: none;
}

.dashboard-content {
    --padding-y: 40px;
    background-color: #F1F2F8;
    padding: calc(var(--header-height) + var(--padding-y)) var(--dashboard-padding-x) var(--padding-y)  var(--dashboard-padding-x);
    position: relative;
    z-index: 5;
}

.dashboard-content .h2 {
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
    color: #000000;
}

.dashboard-content .table-btn {
    font-size: 0;
    margin: 25px 0 0 0;
}

.dashboard-content .table-btn .btn, .dashboard-content .table-btn .btn-outline {
    margin: 0 0 0 0;
    max-width: 200px;
    font-weight: 600;
}

.dashboard-content .table-btn .btn-outline {
    margin: 0 20px 0 0;
}

.title-search {
    position: relative;
    min-height: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.title-search .form-search {
    order:2;
}

.form-search {
    position: relative;
    border-bottom: 1px solid #EBECEE;
    display: flex;
}

.form-search .input {
    flex-grow: 1;
    border: none;
    background: none;
    width: 100%;
}

.form-search .submit {
    background: none;
    width: 25px;
    z-index: 2;
    border: none;
    padding: 3px;
    color: var(--color-muted);
    cursor: pointer;
}


.form-search .submit svg {
    display: block;
    width: 100%;
    height: 100%;
}

.table {
    color: var(--color-purple);
}

.table-block {
    background: #fff;
}

.table-block .mob-title {
    display: none;
}

.table-block .table {
    margin: 0 0;
    min-height: 200px;
}
.table-responsive{
    overflow-x: unset!important;
}



.table-block .no-res {
    text-align: center;
    font-size: 15px;
    line-height: 17px;
    font-weight: 400;
    color: #000;
    background: #fff;
    padding: 20px 15px;
}

.table-block th, .table-block td {
    padding: 25px 10px;
    vertical-align: middle;
    border-top: 1px solid #f3f3f3;
}
.table-block th {
    border-bottom: 1px solid #D1CDD6;
}
.table-block tr:first-child th ,
.table-block tr:first-child td {
    border-top: none;
}

.table-block .td:first-child .title {
    text-align: left;
}

.table-block th:last-child,
.table-block td:last-child {
    text-align: right;
    padding-right: 35px;
}

.table-block .title {
    text-transform: uppercase;
    color: var(--color-muted);
    white-space: nowrap;
    font-weight: 700;
}

.table-block .checkbox {
    float: left;
    margin: 0 20px 0 0;
}

.table-block .checkbox.mt {
    margin-top: 8px;
    margin-right: 0;
}

.table-block .user {
    display: flex;
    align-items: center;
    gap: 25px;
}

.table-block .user .link-modal {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.table-block .user .img {
    width: 100px;
    height: 40px;
    text-align: center;
    flex-shrink: 0;
}

.table-block .user .img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: top;
}

.table-block .user .name {
    text-align: left;
    padding: 0 0 0 0;
    font-weight: 700;
    display: flex;
    align-items: center;
}
.name{
    cursor: pointer;
}
.table-block .status {
    white-space: nowrap;
    padding-left: 20px;
    position: relative;
    --status-color: #3aaa35;
}

.table-block .status.st-2 { --status-color: #f28d4f; }
.table-block .status.st-3 { --status-color: #e30613; }

.table-block .status:before {
    content: "";
    border-radius: 50%;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 4px;
    left: 0;
    background: var(--status-color);
}

.table-block .select-custom {
    float: right;
}

.table-block .link {
    text-decoration: none;
    color: #2a62fb;
    font-size: 15px;
    line-height: 17px;
    font-weight: 600;
    border-bottom: 1px solid #2a62fb;
}

.table-block .link:hover {
    border-color: transparent;
}

.no-records {
    text-align: center;
}

@media (min-width: 1200px) {
    .nav-dashboard .logo-nav {
        --logo-nav-size: 80px;
        margin-bottom: 45px;
        padding: 8px;
    }
    .table-block {
        padding: 0 25px;
    }
}

@media (max-width: 1400px) {
    .nav-dashboard .list-link {
        padding: 0 0 0 20px;
    }

    .table {
        font-size: 13px;
    }

    .nav-dashboard .text {
        margin: 0 0 0 60px;
        font-size: 14px;
    }

    .nav-dashboard .back {
        height: 70px;
    }

    .nav-dashboard .back:after {
        top: 21px;
    }

    .nav-dashboard .back img {
        max-width: 35px;
    }
}

@media (max-width: 1199px) {

    .table {
        font-size: 12px;
    }

    .dashboard-box {
        padding: 0 0 0 85px;
    }

    .dashboard-box .nav-dashboard .list-link {
        padding: 0 0;
    }

    .dashboard-box .nav-dashboard .back {
        display: none;
    }

    .dashboard-box .nav-dashboard .img {
        float: none;
        margin: 0 auto;
    }

    .dashboard-box .nav-dashboard .text {
        display: none;
    }

    .table-block th,
    .table-block td {
        padding: 15px 10px;
        font-size: 12px;
    }

    .table-block .checkbox {
        margin: 0 10px 0 0;
    }

    .table-block .checkbox.mt {
        margin-top: 8px;
    }

    .table-block .status:before {
        top: 2px;
    }
}

@media (max-width: 1100px) {
    .table-block {
        margin: 0 0 30px 0;
    }

    .dashboard-content .table-btn .btn {
        margin-top: 0;
    }
}

@media (max-width: 991px) {
    .nav-dashboard {
        display: none;
    }

    .dashboard-header {
        height: 80px;
        display: none;
    }

    .dashboard-header .jq-selectbox {
        margin: 22px 0 0 0;
    }

    .dashboard-header .jq-selectbox .jq-selectbox__select .jq-selectbox__select-text {
        font-size: 15px;
        line-height: 35px;
        font-weight: 500;
    }

    .dashboard-header .header-user {
        margin: 32px 0 0 0;
    }

    .dashboard-box {
        padding: 0 0 !important;
    }

    .dashboard-content {
        padding: 80px 0 50px 0;
    }

    .table-block {
        background: none;
        border: none;
    }

    .table-block .table {
        display: block;
    }

    .table-block .table .tr-title {
        display: none !important;
    }

    .table-block .table .tr {
        background: #fff;
        display: block;
        margin: 0 0 30px 0;
    }

    .table-block .table .td {
        padding: 10px 10px;
        display: block;
        width: 100%;
        text-align: left;
    }

    .table-block .mob-title {
        display: block;
        font-size: 16px;
        line-height: 18px;
        font-weight: 600;
        margin-bottom: 5px;
    }
}

@media (max-width: 767px) {

    .logo{
        height: 50px;
    }
    .dashboard-header .jq-selectbox {
        display: none !important;
    }


    .title-search {
        display: block;
    }

    .title-search .form-search {
        width: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .dashboard-box {
        padding: 60px 0 0 0;
    }

    .dashboard-header {
        height: 60px;
        left: 0;
        padding: 0 15px;
    }

    .dashboard-header .header-user {
        margin: 24px 0 0 0;
    }

    .dashboard-content {
        padding: 20px 0 50px 0;
    }
}

@media (max-width: 460px) {
    .dashboard-content .table-btn .btn-outline, .dashboard-content .table-btn .btn {
        width: 100%;
        margin: 0 0 15px 0;
        display: block;
        max-width: 100%;
    }
}

.mob-header {
    display: none;
}

.mobile-menu {
    display: none;
}
.widget__side_image{
    position: absolute;
    right:-20px;
    top:-5px;
    height: 130px;
}


.widget {
    min-height: 130px;
    overflow: hidden;
    position: relative;
    background: var(--secondary);
    color: #fff;
    padding: 1.5rem; /* Уменьшение внутреннего отступа */
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 991px) {

    .containefr{
        margin-top: 55px;
    }
    .mob-header {
        display: block;
        height: 60px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 500;
        border-bottom: 1px solid #e1e1e3;
        background: #f7f8fb;
        padding: 0 15px;
    }

    .mob-header .logo {
        width: 50px;
        float: none;
        margin: 2px 0 2px 0;
    }

    .mob-header .nav-dashboard {
        border: none;
        display: block;
        width: auto;
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        padding: 0 0;
        margin: 20px 0 0 0;
    }

    .mob-header .nav-dashboard .link {
        margin: 0 auto 20px;
    }

    .header-mobile {
        height: 100%;
        display: block;
        padding: 0 15px;
    }

    .mobile-menu-close {
        padding: 0;
        position: absolute;
        top: 10px;
        right: 5px;
        width: 40px;
        height: 40px;
    }

    .mobile-menu-close img {
        width: 100%;
    }

    .mobile-menu-trigger {
        display: block;
        position: absolute;
        top: 22px;
        right: 15px;
        width: 24px;
    }

    .mobile-menu-trigger span {
        height: 2px;
        background: #4F4F4F;
        display: block;
        margin: 0 0 4px 0;
    }

    .mobile-menu-content {
        overflow-y: auto;
        height: 100%;
        margin: 0 -15px 0 0;
        padding: 0 15px 0 0;
    }

    .mobile-menu {
        background: #fff;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 900;
        padding: 65px 15px 20px 15px;
    }

    .mobile-menu .nav-dashboard {
        min-height: 10px;
    }

    .mobile-menu .nav-dashboard .list-link {
        padding: 0 0;
    }

    .mobile-menu .nav-dashboard .back {
        display: none;
    }

    .widget__side_image{
        top:10px;
        right: -70px;
    }

}


.material-icons, .material-symbols-outlined{
    font-size: 0.8em;
}

.widget__icon {
    font-size: 25px; /* Уменьшение размера иконки */
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 100px;
    color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.widget__text {
    font-family: 'Industry Test', sans-serif;
    font-size: 28px; /* Уменьшение шрифта текста */
    margin-left:0px;
    font-weight: 600;
}
.widget__title {
    font-size: 12px; /* Уменьшение шрифта заголовка */
    color: #fff;
}




.widget-green .widget__side::before {
    content: '';
    position: absolute;
    width: 190px; /* Уменьшение размера фона */
    height: 190px;
    background: #00cd98;
    left: -20px;
    top: 50%;
    border-radius: 1000%;
    transform: translate(0, -50%);
    z-index: -1; /* Устанавливаем индекс ниже, чтобы не перекрывать текст */
}

.widget__side {
    position: relative;
    z-index: 2; /* Устанавливаем индекс выше, чтобы текст был над кругом */
}
.tooltip-icon {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

/* Стили для иконки вопроса */
.tooltip-icon-inner {
    cursor: pointer;
    margin-left: 5px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    border: 1px solid #fff;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #fff;
}

/* Стили для tooltip, отображаемого справа */
.tooltip-icon[data-toggle="tooltip"]::after {
    content: attr(title); /* Используем атрибут title для текста подсказки */
    position: absolute;
    top: 50%;
    left: 100%; /* Располагаем справа от элемента */
    transform: translateY(-50%);
    white-space: nowrap;
    background-color: #333; /* Цвет фона tooltip */
    color: #fff; /* Цвет текста tooltip */
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    opacity: 0; /* Изначально скрыт */
    visibility: hidden; /* Изначально скрыт */
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    margin-left: 10px; /* Отступ от иконки вопроса */
}

/* Показ tooltip при наведении */
.tooltip-icon:hover[data-toggle="tooltip"]::after {
    opacity: 1;
    visibility: visible;
}
/* Дополнительные стили для минимальных экранов */
@media (max-width: 375px) {
    .widgets__item {
        flex-basis: calc(50% - 5px); /* Сохраняем 2 блока в строке */
    }

    .widget__text {
        font-size: 25px; /* Ещё немного уменьшаем текст */
    }

    .widget__icon {
        font-size: 22px; /* Ещё немного уменьшаем иконку */
        width: 30px;
        height: 30px;
    }
}

.dashboard-header .jq-selectbox .jq-selectbox__select .jq-selectbox__select-text{
    font-size: 17px;
}

@media (min-width: 1600px) {
    .widget__text {
        font-size: 40px;
    }
    .widget__title {
        font-size: 24px;
    }
    .dashboard-header .jq-selectbox .jq-selectbox__select .jq-selectbox__select-text{
        font-size: 24px!important;
    }
    .tooltip-icon-inner{
        width: 27px;
        height:27px;
        font-size: 20px;
    }
    .widget__top{
        font-size: 20px;
    }
    .widget-green .widget__side::before{
        left:-60px;
    }
    .widget__side .widget__top, .widget__side .widget__text,.widget__side .widget__title {
        margin-left:-25px;
    }
}
