*{ / /*меню*/
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul{
    list-style: none;
    background: #273c51;
    transition: all .5s ease-in-out;

}
ul li{
    display: inline-block;
    position: relative;
    text-align: center;
    transition: all .5s ease-in-out;

}
ul li a{
    display: block;
    width: 100%;
    padding: 1.5rem;
    color: #fff;
    text-decoration: none;
}
ul li ul.dropdown{
    display: block;
    position: absolute;
    width: 100%;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
}
ul li:hover .dropdown{
    opacity: 1;
    pointer-events: auto;
    }
    li:hover{
        background: #6a899e;
    }
    .sub-item{
        width: 100%;
    }
    span{
        display: inline-block;
        transition: all .5s ease-in-out;
        -webkit-transition: all .5s ease-in-out;
        -moz-transition: all .5s ease-in-out;
        -ms-transition: all .5s ease-in-out;
        -o-transition: all .5s ease-in-out;
    }
    ul li:hover span{
        transform: rotate(180deg);
        -webkit-transition: rotate(180deg);
        -moz-transition: rotate(180deg);
        -ms-transition: rotate(180deg);
        -o-transition: rotate(180deg);
    } 


/* вхід*/

.main-container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: calc(100vh - 56px); /* 56px is the height of the nav */
        }
        .login-container {
            background-color: #fff;
            padding: 20px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            width: 300px;
        }
        .login-container h2 {
            text-align: center;
            margin-bottom: 20px;
        }
        .login-container input[type="text"],
        .login-container input[type="password"] {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 3px;
        }
        .login-container button {
            width: 100%;
            padding: 10px;
            background-color: #4CAF50;
            border: none;
            color: white;
            border-radius: 3px;
            cursor: pointer;
			
        }
		
		.centering {
    display: flex;
    justify-content: center;
    align-items: center;
		}
        .login-container button:hover {
            background-color: #45a049;
        }  






        /* таблиця*/
table {
    width: 100%; /* Задає ширину таблиці 100% */
    border-collapse: collapse; /* Об'єднує межі комірок */
    margin: 2px 0; /* Відступи зверху і знизу */
}

td:nth-child(1) {
    width: 50px; /* Встановіть ширину для ID */
} /* Закриваюча дужка для селектора */

th, td {
    padding: 10px; /* Внутрішні відступи для комірок */
    text-align: left; /* Центрування тексту праворуч */
    border: 1px solid #ddd; /* Сірі межі комірок */
}

th {
    background-color: #f2f2f2; /* Світло-сірий фон для заголовків */
    font-weight: bold; /* Жирний шрифт для заголовків */
}

tr:nth-child(even) {
    background-color: #f9f9f9; /* Світліший фон для парних рядків */
}

tr:hover {
    background-color: #f1f1f1; /* Зміна фону при наведенні на рядок */
}

 /* Випадаюче для районів */
.dropbtn {
  background-color: #4CAF50;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}
/*випадаюче меню  для районів */

/*повзунки перемикання  https://freefrontend.com/css-toggle-switches/ */
* {
    box-shadow: none;
}



.container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.switch-holder {
    display: flex;
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: -8px -8px 15px rgba(255,255,255,.7),
                10px 10px 10px rgba(0,0,0, .3),
                inset 8px 8px 15px rgba(255,255,255,.7),
                inset 10px 10px 10px rgba(0,0,0, .3);
    justify-content: space-between;
    align-items: center;
}

.switch-label {
    width: 150px;
}

.switch-label i {
    margin-right: 5px;
}

.switch-toggle {
    height: 40px;
}

.switch-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    z-index: -2;
}

.switch-toggle input[type="checkbox"] + label {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 40px;
    border-radius: 20px;
    margin: 0;
    cursor: pointer;
    box-shadow: inset -8px -8px 15px rgba(255,255,255,.6),
                inset 10px 10px 10px rgba(0,0,0, .25);
    
}

.switch-toggle input[type="checkbox"] + label::before {
    position: absolute;
    content: 'НІ';
    font-size: 13px;
    text-align: center;
    line-height: 25px;
    top: 8px;
    left: 8px;
    width: 45px;
    height: 25px;
    border-radius: 20px;
    background-color: #d1dad3;
    box-shadow: -3px -3px 5px rgba(255,255,255,.5),
                3px 3px 5px rgba(0,0,0, .25);
    transition: .3s ease-in-out;
}

.switch-toggle input[type="checkbox"]:checked + label::before {
    left: 50%;
    content: 'ТАК';
    color: #fff;
    background-color: #00b33c;
    box-shadow: -3px -3px 5px rgba(255,255,255,.5),
                3px 3px 5px #00b33c;
}
		/*Стиль  мої*/
        input, button {
            padding: 8px;
            margin: 5px 0;
            font-size: 16px;
        }