*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
  --main-bg-color: #131412;
  --main-hover-color: #38deec;
  --main-sidebar-hover-color: #00a693;
  --main-green-color: #66FF00;
  --main-red-color: #ff1f1f;
  --border-quality-width: 2px;
  --sidebar--transition--speed: 0.3s;
}
:target {
    scroll-margin-top: 50px; /* Отступ сверху */
}
body{
    background: #E4E9F7;
}
.invalid-date {
    border-color: red;
}
.select2-container--default .select2-selection--multiple{
    font-size: .875rem;
    border: none;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: none;
}
/* Стиль для контейнера выпадающего списка */
.select2-dropdown {
    border: none;
}

/* Стиль для элементов списка */
.select2-results__option {
    font-size: .875rem;
}

/* Стиль для выбранного элемента списка */
.select2-results__option[aria-selected="true"] {
}

/* Стиль для элемента списка при наведении */
.select2-results__option:hover {
}

/* Стиль выбранных элементов*/
.select2-selection__choice{
    padding: 1px 6px;
}
.curs{
    cursor: pointer;
}
.login-box{
  position: absolute;
  top: 550%;
  left: 40%;
  width: 400px;
  padding: 40px;
  transform: translate(-50%,-50%);
  background: rgba(0 ,0 ,0 ,.9);
  box-shadow: 0 15px 25px
             rgba(0 ,0 ,0 ,.6);
  border-radius: 10px;
}
.login-box h2{
  margin : 0 0 30px;
  padding: 0;
  color :#fff;
  text-align: center;
}
.login-box .user-box{
  position :relative;
}
.login-box .user-box input{
  width:100%;
  padding :10px 0;
  font-size: 18px;
  color: #fff;
  margin-bottom :30px;
  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  background: transparent ;
}
.login-box .user-box input:-webkit-autofill,
.login-box .user-box input:-webkit-autofill:hover,
.login-box .user-box input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset;
  transition: background-color 5000s ease-in-out 0s;
}
.login-box .user-box label{
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px;
  font-size: 16px;
  color: #fff;
  pointer-events: none;
  transition: .5s;
}

.login-box .user-box input:focus ~ label,
.login-box .user-box input:valid ~ label{
  top: -25px;
  left: 0;
  color: #03e9f4;
  font-size: 14;
}
.login-box form button{
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #03e9f4;
  font-size: 16px;
  text-decoration: none;
  overflow: hidden;
  transition: .5s;
  margin-top: 40px;
  letter-spacing: 4px;
}
.login-box button:hover{
  background: #03e9f4;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 5px #03e9f4,
              0 0 25px #03e9f4,
              0 0 50px #03e9f4,
              0 0 100px #03e9f4;
}
.login-box button span{
  position: absolute;
  display: block;
}
.login-box button span:nth-child(1){
  top: 0;
  left: -100px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #03e9f4);
  animation: btn-anim1 1s linear infinite;
}
@keyframes btn-anim1{
  0%{
      left: -100%;
  }
  50%,100%{
      left: 100%;
  }
}
.login-box button span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #03e9f4);
  animation: btn-anim2 1s linear infinite;
  animation-delay: .25s
}

@keyframes btn-anim2 {
  0% {
    top: -100%;
  }
  50%,100% {
    top: 100%;
  }
}

.login-box button span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(270deg, transparent, #03e9f4);
  animation: btn-anim3 1s linear infinite;
  animation-delay: .5s
}

@keyframes btn-anim3 {
  0% {
    right: -100%;
  }
  50%,100% {
    right: 100%;
  }
}

.login-box button span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #03e9f4);
  animation: btn-anim4 1s linear infinite;
  animation-delay: .75s
}

@keyframes btn-anim4 {
  0% {
    bottom: -100%;
  }
  50%,100% {
    bottom: 100%;
  }
}














.back-hover{
    background: var(--main-sidebar-hover-color);
}

.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 260px;
    background: #11101d;
    z-index: 100;
    transition: all var(--sidebar--transition--speed) ease;
}
.sidebar.close{
    width: 76px;
}
.sidebar ul{
    padding-left: 0rem;
    padding-right: 0rem;
}
.sidebar li{
    padding-left: 0rem;
    padding-right: 0rem;
}
.sidebar .logo-details{
    height: 60px;
    width: 100%;
    display: flex;
    align-items: center;
}
.sidebar .logo-details:hover{
    background: #1d1b31;
    cursor: pointer;
}
.sidebar .logo-details i{
    font-size: 30px;
    color: #fff;
    height: 50px;
    min-width: 76px;
    text-align: center;
    line-height: 50px;
}

.sidebar .logo-details .logo_name{
    font-size: 22px;
    color: #fff;
    font-weight: 600;
    transition: var(--sidebar--transition--speed) ease;
    transition-delay: 0s;
}
.sidebar.close .logo-details i:hover{
    background: #1d1b31;
}
.sidebar.close .logo-details .logo_name{
    transition-delay: 0s;
    opacity: 0;
    pointer-events: none;
}
.sidebar .nav-links{
    height: 100%;
    padding: 0 0 150px 0;
    overflow: auto;
}
.sidebar.close .nav-links{
    overflow: visible;
}
.sidebar .nav-links::-webkit-scrollbar{
    display: none;
}
.sidebar .nav-links li{
    position: relative;
    list-style: none;
    transition: all var(--sidebar--transition--speed) ease;
}
.sidebar .nav-links li:hover{
    background: #1d1b31;
}
.sidebar .nav-links li .icon-link{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar.close .nav-links li .icon-link{
       display: block;
}
.sidebar .nav-links li i{
    height: 50px;
    min-width: 73px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: all var(--sidebar--transition--speed) ease;
}
.sidebar.close .nav-links li .badge-in-icon{
    font-size: 9px;
    position: absolute;
    top: 20%;
    left: 50%
}
.sidebar .nav-links li .sub-menu .badge-in-sub{
    font-size: 9px;
}

.sidebar .nav-links li.showMenu i.arrow{
    transform: rotate(-180deg);
}
.sidebar.close .nav-links i.arrow{
    display: none;
}
.sidebar .nav-links li a{
    display: flex;
    align-items: center;
    text-decoration: none;
}
.sidebar .nav-links li a .link_name{
    font-size: 18px;
    white-space: nowrap;
    font-weight: 400;
    color: #fff;
}
.sidebar.close .nav-links li a .link_name{
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
}
.sidebar .nav-links li .sub-menu{
    padding: 6px 6px 6px 70px;
    margin-top: 0px;
    background: #1d1b31;
    display: none;
}
.sidebar .nav-links li.showMenu .sub-menu{
    display: block;
}
.sidebar .nav-links li .sub-menu a{
    color: #fff;
    font-size: 15px;
    padding: 5px 0;
    font-weight: 400;
    white-space: nowrap;
    opacity: 0.6;
    transition: all var(--sidebar--transition--speed) ease;
}
.sidebar .nav-links li .sub-menu a:hover{
    opacity: 1;
}
.sidebar.close .nav-links li .sub-menu{
    position: absolute;
    left: 100%;
    top: -10px;
    margin-top: 0;
    padding: 10px 20px;
    border-radius: 0 6px 6px 0;
    transition: 0s;
    opacity: 0;
    display: block;
    pointer-events: none;
}
.sidebar.close .nav-links li:hover .sub-menu{
    top: 0;
    opacity: 1;
    pointer-events: auto;
    transition: all var(--sidebar--transition--speed) ease;
}
.sidebar .nav-links li .sub-menu .link_name{
    display: none;
}
.sidebar.close .nav-links li .sub-menu .link_name{
    font-size: 18px;
    opacity: 1;
    display: block;
}
.sidebar .nav-links li .sub-menu.blank{
    opacity: 1;
    pointer-events: auto;
    padding: 3px 20px 6px 16px;
    opacity: 0;
    pointer-events: none;
}
.sidebar .nav-links li:hover .sub-menu.blank{
    top: 50%;
    transform: translateY(-50%);
}
.sidebar .profile-details {
    position: fixed;
    bottom: 0;
    width: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1d1b31;
    padding: 10px 0;
    transition: all var(--sidebar--transition--speed) ease;
}
.sidebar.close .profile-details {
    background: none;
}
.sidebar.close .profile-hover {
    background: var(--main-sidebar-hover-color);
}
.sidebar.close .profile-details {
    width: 76px;
}
.sidebar .profile-details .profile-content{
    display: flex;
    align-items: center;
}
.sidebar .profile-details img{
    height: 52px;
    width: 52px;
    object-fit: cover;
    border-radius: 16px;
    margin: 0 12px 0 12px;
    background: #1d1b31;
    transition: all var(--sidebar--transition--speed) ease;
}
.sidebar.close .profile-details img{
    padding: 10px;
}
.sidebar .profile-details .profile_name,
.sidebar .profile-details .job{
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}
.sidebar .profile-details .profile_name{
    white-space: normal;
}
.sidebar.close .profile-details i,
.sidebar.close .profile-details .profile_name,
.sidebar.close .profile-details .job{
    display: none;
}

.sidebar .profile-details .job{
    font-size: 12px;
}
.home-section{
    position: relative;
    background: #E4E9F7;
    height: 100%;
    left: 260px;
    width: calc(100% - 260px);
    transition: all var(--sidebar--transition--speed) ease;

}
.sidebar.close ~ .home-section{
    left: 76px;
    width: calc(100% - 76px);
}
.home-section .home-content{
    height: 45px;
}
.home-section .home-content .text{
    color: #11101d;
    font-size: 26px;
    font-weight: 600;
    margin: 20px;
}
.home-section .home-content .text i{
    padding: 8px;
}




#list-employees, #list-goods-manager{
    color: #212529;
}
#list-exchangerates {
    color: #212529;
}
#login-form{
    width: 330px
}
#create-employees-form, #card-employees-form{
    width: 330px
}
#create-client-form{
    width: 330px
}
#create-exchangerates-form{
    width: 300px
}
.password-container{
    position: relative;
}

.edit-icon-btn{
    opacity: 0;
    transition: opacity .35s ease;
}

.edit-icon-btn:hover{
    opacity: 1;
}

.edit-appeal-container{
    position: relative;
}

#edit-appeal-client, #edit-appeal-manager{
    position: absolute;
    top: 28%;
    right: 1.5%;
    cursor: pointer;
	width: 30px;
	height: 20px;
}

#show-password-login{
    position: absolute;
    top: 27%;
    right: .5%;
    cursor: pointer;
	width: 30px;
	height: 20px;
}

#show-password, #show-password-card{
    position: absolute;
    top: 30%;
    right: 13.5%;
    cursor: pointer;
	width: 30px;
	height: 20px;
}

#refresh-password-client{
    position: absolute;
    top: 30%;
    right: .5%;
    cursor: pointer;
	width: 30px;
	height: 20px;
}


#copy-password-client{
    position: absolute;
    top: 30%;
    right: 6.5%;
    cursor: pointer;
	width: 30px;
	height: 20px;
}


.tooltip_my_copy .tooltiptext_my {
    visibility: hidden;
    width: 140px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 150%;
    left: 50%;
    margin-left: -75px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip_my_copy .tooltiptext_my::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.tooltip_my_copy:hover .tooltiptext_my {
    visibility: visible;
    opacity: 1;
}

div.dataTables_wrapper {
        width: 100%;
        margin: 0 auto;
}
.table_border  {
  border-spacing: 0;
}
.table_border th  {
  border-right: 0.5px solid #333;
}
.table_border td  {
  border-right: 1px solid #CED4DA;
}
.table_border td:nth-child(2) {
  border-left: 1px solid #CED4DA;
}
.scrollable table {
    border-spacing: 0;
}
.scrollable thead {
    position: sticky;
    top: 0;
}

.loader{
        display: block;
        position: relative;
        height: 12px;
        width: 100%;
        border: 1px solid #fff;
        border-radius: 10px;
        overflow: hidden;
      }
      .loader:after{
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: #FF3D00;
        animation: 6s prog ease-in infinite;
      }

      @keyframes prog {
        to  {   width: 100%;}
      }

.td_for_modal:hover{
    color: #fff;
    background: gray;
    transition: .3s ease;
}
.my_td {
  position: relative;
  width: 150px;
}
.image_for_request {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}
.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}
.top-right {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  right: -5%;
  top: 10%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.my_td:hover .image_for_request {
  opacity: 0.3;
}
.my_td:hover .middle {
  opacity: 1;
}
.my_td:hover .top-right {
  opacity: 1;
}

.log-table{
    overflow-y: auto;
    overflow-x: auto;
    height: 695px;
    position: relative;
}

.logistic-table{
    width: 100%;
    text-align: center;
    vertical-align: middle;
}
.logistic-table table{
    border-collapse: separate;
    border-spacing: 0;
}
.logistic-table thead{
    color: white;
    background: #212529;
    height: 7em;
    top: 1px;
}
.logistic-table thead th, td{
    padding: 0.5em;
}
.logistic-table tbody{
    background: #ffffff;
}



.logistic-table thead th{
    outline: 1px solid #C0C0C0;
}
.logistic-table tbody tr th:nth-child(1){
    outline: 1px solid #C0C0C0;
}
.logistic-table tbody tr td:nth-child(2){
    outline: 1px solid #C0C0C0;
}
.logistic-table tbody tr td:nth-child(n+3){
    border-right: 1px solid #C0C0C0;
    border-bottom: 1px solid #C0C0C0;
}



.logistic-table-body{
    z-index: 1;
}

.logistic-table-body thead tr th:nth-child(1){
    position: sticky;
    top: 0;
    left: 0;
    background-color: rgb(17, 17, 17);
    z-index: 10;
}
.logistic-table-body thead tr th:nth-child(2){
    position: sticky;
    top: 0;
    left: 1.6em;
    background-color: rgb(17, 17, 17);
    z-index: 10;
}
.logistic-table-body thead tr th:nth-child(n+3){
    position: sticky;
    top: 0;
    background-color: #212529;
    z-index: 5;
}
.logistic-table-body tbody tr th:nth-child(1){
    position: sticky;
    left: 0;
    z-index: 1;
    background: #ffffff;
}
.logistic-table-body tbody tr td:nth-child(2){
    position: sticky;
    left: 1.6em;
    z-index: 1;
    background: #ffffff;
}

.logistic-table tbody tr:hover{
    background-color: #F0F0F0;
}

.a-clear{
    color: #000000;
    text-decoration: none;
}
.a-clear:hover{
    color: #B0B0B0;
}
.my-shadow {
  box-shadow:
    inset 0 0em 3em rgba(0, 0, 0, 0.1),
    0 0 0 1px rgb(255, 255, 255),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}
.label-check{
    position: absolute;
    top: 30%;
    right: 3.5%;
    cursor: pointer;
	width: 30px;
	height: 20px;
	font-size: 20px;
}
.label-check:hover{
    background: green;
    box-shadow:
    inset 0 0em 3em rgba(0, 0, 0, 0.1),
    0 0 0 2px  green,
    0.3em 0.3em 0.6em green;
}
.manager-bid:disabled{
    background: #00b3ff;
}
.active-bid:disabled{
    background: #91ff87;
}

.active-bid:hover{
    box-shadow:
    inset 0 0em 3em rgba(0, 0, 0, 0.1),
    0 0 0 2px  green,
    0.3em 0.3em 0.6em green;
}
/*
.check{
    position: absolute;
    top: 30%;
    right: 3.5%;
    cursor: pointer;
	width: 30px;
	height: 20px;
	font-size: 20px;
	color: gray;
	box-shadow:
    inset 0 0em 3em rgba(0, 0, 0, 0.1),
    0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 0.6em rgba(0, 0, 0, 0.3);
}
.check:hover{
    color: green;
    box-shadow:
    inset 0 0em 3em rgba(0, 0, 0, 0.1),
    0 0 0 2px  green,
    0.3em 0.3em 0.6em green;
}
.checked{
    color: green;
    box-shadow:
    inset 0 0em 3em rgba(0, 0, 0, 0.1),
    0 0 0 2px  green,
    0.3em 0.3em 0.6em green;
}
.checked:hover{
    color: gray;
	box-shadow:
    inset 0 0em 3em rgba(0, 0, 0, 0.1),
    0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 0.6em rgba(0, 0, 0, 0.3);
}*/
/*.my-input-checked{
    border-color: #91ff87;
}*/

.border-radius-0{
    border-radius: 0;
}

/* Стили для пагинации */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.page-links {
    display: flex;
    list-style: none;
    padding: 0;
}

.page-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    text-decoration: none;
    color: #333;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.page-link:hover {
    background-color: #ddd;
    color: #000;
}

.current-page {
    margin: 0 10px;
    font-weight: bold;
    padding: 8px 16px;
    background-color: #007bff;
    color: white;
    border: 1px solid #007bff;
    border-radius: 4px;
}

.current-page:hover {
    background-color: #0056b3;
}