.insider {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f5f6f8;
    position: relative;
    color: #727982;
    font-size: 13px;
    line-height: 16px;

}
.insider .insider-control {
    display: flex;
    justify-content: space-between;
    padding: 24px 36px 0px 36px;
}

.insider .insider-tabs {
    display: flex;
}

.insider .insider-tab {
    background-color: #fff;
    border: 1px solid #eaeaea;
    color: #232324;
    font-size: 14px;
    cursor: pointer;
    line-height: 18px;
    padding: 8px 19px;
    transition: border-color 0.3s ease, color 0.3s ease; /* Плавный переход */
}

.insider .insider-tab:hover {
    border-color: #49b7f9;
    color: #49b7f9;
}

.insider .insider-tab.active {
    background-color: #49b7f9;
    border-color: #49b7f9;
    color: #fff;
}
#insiderForm .tab-content{
    display: none;
}
#insiderForm .tab-content.active{
    display: block;
}
.insider .button-change-insider{
    background-color: #49b7f9;
    border-color: #49b7f9;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    line-height: 18px;
    padding: 8px 19px;
    text-decoration: none;
}

.insider .insider-control-header-title{
    padding: 5px 10px;
    color: #4d4d4d;
    font-size: 18px;
    line-height: 22px;

}
.insider .wrapper_logo-insider{
    padding: 19px 24px;
}
.insider .wrapper_header-insider {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 6px 0 18px rgba(0, 0, 0, 0.06);
}

.insider .container{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 24px 30px 36px 30px;
    height: 100%;
    background-color: #fff;
    box-shadow: 6px 0 18px rgba(0, 0, 0, 0.06);
    border-radius: 2px;
}
.insider .insider-table{
    width: 100%;
    text-align: left;
}

.wrapper_container {
    height: calc(100vh - 115px);
}

.insider .insider-text{
    color: #4d4d4d;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.01em;
    line-height: 18px;
}

.table-container-items {
    display: grid;
    column-gap: 22px;
    border-bottom: 1px solid #ebeff2;
}
#departments .table-container-items {
    grid-template-columns: 70px repeat(4, calc((100vw - 170px)/2));
}
#employees .table-container-items {
    grid-template-columns: 70px repeat(4, calc((80vw - 220px)/4));
}

.table-container-item {
    white-space: nowrap;
    overflow: hidden;
    padding-top: 23px;
    padding-bottom: 23px;
}

.table-container-item:first-child{
    padding-left: 30px;
}

.table-container-item:last-child{
    padding-right: 30px;
}

.wrapper_table-container-items {
    overflow-y: scroll;
    overflow-x: hidden;
    max-height: calc(100vh - 350px);
    height: 100%;
}

.insider .insider-checkbox svg {
    height: 8px;
    width: 12px;
}
.insider span.insider-checkbox {
    display: flex;
    max-width: 20px;
    max-height: 20px;
    padding: 6px 4px;
}


.insider div.checkbox input {
    position: absolute;
    opacity: 0;
    height: 20px;
    width: 20px;
    margin: 0;
    cursor: pointer;
}

.insider div.checkbox {
    display: flex;
    max-height: 20px;
    max-width: 20px;
    align-items: center;
    border: 1px solid #eaeaea;
    transition: all 0.5s;
    border-radius: 2px;

}

.insider div.checkbox:hover {
    border: 1px solid #49b7f9;
}

.insider .checkbox.checked {
    background-color: #49b7f9;
    border-color: #49b7f9;
}
.insider .checkbox.checked .insider-checkbox svg {
    stroke: #fff;
}

#insiderForm{
    position: relative;
}
.wrapper_btn-send {
    position: absolute;
    top: -34px;
    left: 280px;
}

.wrapper_btn-send .btn{
    background-color: #fff;
    color: #4d4d4d;
    border: 1px solid #eaeaea;
    border-radius: 2px;
    font-size: 14px;
    letter-spacing: -0.154px;
    line-height: 18px;
    padding: 8px 19px;
    transition: all 0.5s;
    cursor: pointer;
}


.wrapper_btn-send .btn:disabled{
    color: #4d4d4d;
    border-color: #eaeaea;
    cursor: not-allowed;
}

.wrapper_btn-send .btn:hover:not(:disabled){

    color: #49b7f9;
    border-color: #49b7f9;
}

span.error {
    color: #ff0000;
    font-weight: 300;


}

.insider div.checkbox-error  {
    display: flex;
    max-height: 20px;
    max-width: 20px;
    align-items: center;
    border: 1px solid #eaeaea;
    transition: all 0.5s;
    border-radius: 2px;
}
.insider div.checkbox-error input {
    position: absolute;
    opacity: 0;
    height: 20px;
    width: 20px;
    margin: 0;
    cursor: not-allowed;
}




/* Scroll */
/* Создать контейнер для контента с кастомным скроллом */
.wrapper_table-container-items {
    width: 100%;
    overflow-y: auto; /* Добавить вертикальный скролл */
    overflow-x: hidden; /* Скрыть горизонтальный скролл */
    position: relative;
}

/* Стилизация кастомного скроллбара */
.wrapper_table-container-items::-webkit-scrollbar {
    width: 2px; /* Ширина скроллбара */
}

.wrapper_table-container-items::-webkit-scrollbar-track {
    background: #f1f1f1; /* Цвет фона трека */
}

.wrapper_table-container-items::-webkit-scrollbar-thumb {
    background: #888; /* Цвет ползунка */
    border-radius: 5px; /* Скругление углов ползунка */
}

.wrapper_table-container-items::-webkit-scrollbar-thumb:hover {
    background: #555; /* Цвет ползунка при наведении */
}


/* End Scroll */

.wrapper_insider-option {
    display: flex;
}

.wrapper_insider-option-selector {
    display: flex;
    background-color: #f5f6f8;
    justify-content: center;
    align-items: center;
    padding: 7px;
    border: 1px solid #eaeaea;
    cursor: pointer;
}
.wrapper_insider-option-selector svg{
    stroke: #727982;
}

.wrapper_insider-option-content {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border: 1px solid #eaeaea;
    border-right: none;
}

.dropdown-content {
    position: absolute;
    left: 125px;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #eaeaea;
}

.dropdown-content-item {
    padding: 6px 17px;
}
.dropdown-content-item:hover {
    background-color: #49b7f9;
    color: #fff;
    cursor: pointer;
}

.wrapper_option {
    display: flex;
    align-items: center;
    column-gap: 20px;
    padding: 30px;
}

.wrapper_option label,
.wrapper_option select{
    display: none;
}


#loading {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(82, 78, 92, 0.2);
    z-index: 10;
}

.spinner {
    width: 50px;
    height: 50px;
    animation: rotate 2s linear infinite;
  }
  
  .path {
    stroke: #34aff9;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
  }
  
  @keyframes rotate {
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes dash {
    0% {
      stroke-dasharray: 1, 150;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -35;
    }
    100% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -124;
    }
  }