.sidebar {
    height: 100%;
    width: 0; /* Starts closed */
    position: fixed;
    z-index: 1001;
    top: 0;
    left: -1px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow-x: hidden;
    transition: width 0.3s ease-in-out;
    padding-top: 70px;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    border-right: 1px solid #e9ecef;
}

.sidebar-label {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    font-weight: bold;
}

.sidebar a {
    flex-shrink: 0;
    padding: 12px 12px 12px 40px;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2c3e50;
    display: block;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 10px 15px;
}

.normal-btn:hover {
    color: #007bff;
    background: linear-gradient(to right, #eff6ff, #dbeafe);
    border: 2px solid #60a5fa;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.sidebar .closebtn {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 36px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.sidebar .closebtn:hover {
    color: #dc3545;
}

.openbtn {
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    background-color: #000000;
    color: white;
    padding: 8px 10px;
    border: none;
    position: fixed;
    left: 8px;
    top: 15px;
    border-radius: 5px;
}

.openbtnstatic {
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    background-color: #000000;
    color: white;
    padding: 8px 10px;
    border: none;
    position: fixed;
    left: 8px;
    bottom: 15px;
    border-radius: 5px;
}

.openbtn:hover {
    background-color: #000000;
}

.openbtnstatic:hover {
    background-color: #000000;
}
.container {
    transition: margin-left 0.3s ease-in-out;
    padding: 20px;
    background-color: #f1f5f9;
    min-height: 100vh;
}

.normal-btn {
    border: 2px solid #e2e8f0;
    background: linear-gradient(to right, #ffffff, #f8fafc);
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
}


@media only screen and (min-width: 768px) {
    .openbtn {
    }
    .openbtn::after {
        content: "BusView";
    }
}

html {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Отключает зум при двойном тапе */
* {
    touch-action: manipulation;
}

/* Для iOS Safari */
body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

/* Отключает зум через CSS transform */
html, body {
    overflow-x: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
