
 
.menu-btn {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 25px;
    left: 15px;
    z-index: 2000;
    cursor: pointer;
}
.menu-btn.active svg {
    display: none;
}
.menu-btn span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.menu-btn span:nth-child(1) {
    top: 5px;
}

.menu-btn span:nth-child(2) {
    top: 14px;
}

.menu-btn span:nth-child(3) {
    top: 23px;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 14px;
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.menu.active {
    transform: translateX(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 2000;
}

.menu nav {
    padding: 50px 20px;
}

.menu ul {
    list-style: none;
}

.menu li {
    margin: 0px 0;
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 18PX;
    PX: AUTO 100PX;
}

@media (max-width: 768px) {
.menu.active {
    transform: translateX(0);
    display: flex;
    flex-direction: column !important;
    align-items: flex-start;
    padding-top: 100px;
}}




        body {
            transition: all 0.3s ease;
            font-family: Arial, sans-serif;
        }

        /* Світла тема за замовчуванням */
        .light-theme {
            background-color: #ffffff;
            color: #000000;
        }

        /* Темна тема */
        .dark-theme {
            background-color: #080808
        }

        /* Стиль перемикача */
     .switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    min-width: 50px;
}

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: transparent;
    border: 1px solid #000;
            transition: 0.4s;
            border-radius: 24px;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 3px;
             background-color: transparent;
    border: 1px solid #000;
            transition: 0.4s;
            border-radius: 50%;
        }

  input:checked + .slider {
    background-color: transparent;
    border: 1px solid #ffffff;
}
        input:checked + .slider:before {
              background-color: transparent;
    border: 1px solid #ffffff;
            transform: translateX(26px);
        }
 




 @media (max-width: 1440px) {

.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 16PX;
    PX: AUTO 100PX;
}}





@media (min-width: 768px) {

    .menu-btn, .close-btn {
        display: none;
    }
    .menu {
        transform: translateX(0);
        position: static;
        background: none;
        height: auto;
        z-index: 1000;
    }
    .menu nav {
        padding: 0;
    }
    .menu ul {
       
        justify-content: flex-end;
    }
    .menu li {
        margin: 0 15px;
    }
    .menu a {
        color: #fff;
    }
}
}


        body { background-color: #121212; color: #e0e0e0; font-family: Arial, sans-serif; margin: 0; padding: 20px; }
        h1, h2, h3 { color: #ffffff; }
        table { border-collapse: collapse; width: 100%; margin-bottom: 20px; background-color: transparent; table-layout: fixed; }
        th, td { border: 1px solid #333; padding: 10px; text-align: left; color: #e0e0e0; word-wrap: break-word; }
        th { background-color: #2c2c2c; cursor: pointer; }
        th.asc::after { content: ' ▲'; }
        th.desc::after { content: ' ▼'; }
        .spinner { animation: spin 1s linear infinite; display: inline-block; width: 16px; height: 16px; border: 3px solid #333; border-top: 3px solid #3498db; border-radius: 50%; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
      input, button {
    background-color: #2c2c2c;
    color: #e0e0e0;
    border: 1px solid #444;
    padding: 8px;
    border-radius: 4px;
    filter: grayscale(1);
}
        button:hover {   cursor: pointer; }
        .error { color: #ff4d4d; }
        img.avatar { width: 50px; height: 50px; border-radius: 50%; }
        #rating-columns { margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
        #rating-columns label { margin-right: 10px; color: #e0e0e0; display: flex; align-items: center; gap: 5px; }
        .table-wrapper { overflow-x: auto; margin-bottom: 20px; border: 1px solid #333; border-radius: 4px; }
        #filters { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
        #filters label { flex-direction: row; align-items: center; gap: 5px; }
        #filters input { width: 100px; }
        @media (max-width: 768px) {
            body { padding: 10px; }
            th, td { padding: 6px; font-size: 14px; }
            img.avatar { width: 40px; height: 40px; }
            #filters { flex-direction: column; gap: 10px; }
            #filters input { width: 100%; }
        }

        /* Стилі для фіксованого заголовка в окремому контейнері */
        .fixed-header {
            position: sticky;
            top: 43px !important;
            z-index: 2;
            background-color: #121212;
            overflow: hidden;

        }
         @media (max-width: 768px) {
           #filters label {
    font-size: 8px;
}
        #rating-columns label {
  
    font-size: 10px;
}
       #filters {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.fixed-header {
   
    position: sticky;
    top: 90px !important;
    z-index: 2;
    background-color: #121212;
    overflow: hidden;
}
.fixed-header tr th{
    font-size: 10px;
}
#filters input {
    margin-bottom: 4px;
}
  table th:nth-child(2) {
    width: 30%;
  }
  table   {
    width: 100% !important;
  }


  #ratingTable td:nth-child(2) {
    width: 30%;
  }img.avatar {
    width: 40px;
    height: 40px;
    display: block;
}
}
.done {
    text-decoration: line-through;
}
#sticky-header a {
    font-size: 14px;
    padding: 4px 10px;
    border: solid 1px #fff;
}

#sticky-header .dropdown  {
    display: flex;
    gap: 10px;
}

header, header ul {
    display: flex;
    list-style: none;
   
}
header, header ul li a{
   color: #fff !important;
   padding: 0;
   text-decoration: none !important;
   background-color: transparent;
}

header ul {
    list-style: none;
    gap: 30px;
    align-content: center;
    align-items: flex-end;
     flex-direction: row !important;
}

header {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
     padding-bottom: 10px;
    border-bottom: 1px solid;
    margin-bottom: 10px;
}

h1 {
    text-align: center;
    font-size: 27px;
    margin-top: 40px;
}
 
        .burger-menu {
            display: none;
        }
table, table * , .table  {
background-color: transparent !important;
}







@media (min-width: 768px) {
        #sticky-header {
 
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}
.navbar-collapse {
    display: flex !important;
    justify-content: center;
    padding-right: 100px;
}
}


        @media (max-width: 768px) {
            table, table *, .table {
    background-color: transparent !important;
    font-size: 10px;
}
            table a {
    font-size: 11px !important;
}
            .p {
                font-size: 12px;
            }
           .navbar-collapse.show {
    position: absolute;
    background: #000;
    padding: 20px 10px;
    border: solid 1px #fff;
    top: 1px;
    z-index: 999;
    right: 1px;
}
.logo {
    max-height: 60px;
    margin-left: 35%;
}


.p {
    font-size: 12px;
}
 .burger-menu {
    position: absolute;
    left: 20px;
    top: 40px;
}
            h1 {
    text-align: center;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}
            .burger-menu {
                display: block;
            }
            .nav-list {
                display: none;
            }
            .nav-list.active {
                display: block;
            }
            .navbar-collapse.show .nav-list {
                display: block;
            }
        }


 .light-theme header ul li a{
   color: #000 !important;
 
}
 .light-theme header {
  border-bottom: #000 1px solid;

}
 .light-theme  .burger-menu {
    filter: invert(100%);
}
 .light-theme .menu {
 
    background: #fff;
 
}
 .light-theme h1 {
    text-align: center;
    font-size: 30px;
      color: #000 !important;
}
 .light-theme .logo {
    filter: invert(100%);
 }

   #filters {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 10px;
        }
   #filters label {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-direction: column;
}
        #filters input {
            width: 100%;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }


#filters div{
    display: flex;
     gap: 10px;
}
#filtersDropdown {
    padding: 4px;
    font-size: 14px;
    background: transparent;
    border: #fff 1px solid;
    border-radius: 0;
}
#sticky-header {
    position: sticky;
    top: 0px;
    background-color: #000;
    border: 1px solid #333;
    padding: 4px;
}
#filters {
    max-width: 300px;
    gap: 10px;
}

        .dropdown-menu {
            min-width: 250px; /* Мінімальна ширина випадаючого меню */
        }
  .dropdown-menu{
 
    background: #333333e6;
}


  .dropdown-menu *{
    color: #fff !important;
  } 






 .light-theme #sticky-header{
  
    background-color: #fff !important;
   
}
.light-theme .fixed-header {
 
    filter: invert(1);
}
.light-theme * 
{
    color: #000 !important;
}
.light-theme .fixed-header *
{
    color: #fff !important;
}
svg.act 
{
    display: block;
}

.collapsed .svg_no_act {
    display: block;
}

.collapsed svg.act 
{
    display: none;
}
.svg_no_act {
    display: none;
}
.centered {
    text-align: center;
}



