html, body {
    margin: 0;
    padding: 0;
}

#map {
    height: 100vh;
}

.leaflet-control-zoom {
    display: none !important;
}

/* Sidebar */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    padding: 30px 20px;
    z-index: 1000;
    transition: transform 0.4s ease;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

#sidebar.hidden {
    transform: translateX(-100%);
}

#sidebar .close-x {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
    cursor: pointer;
}

#sidebar .close-x img {
    filter: grayscale(100%) brightness(0.4);
    transition: filter 0.2s ease;
}

#sidebar .close-x img:hover {
    filter: grayscale(0%) brightness(1);
}

#sidebar h2 {
    margin: 0 0 15px;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

#sidebar-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#sidebar-content ul li {
    margin-bottom: 12px;
}

#sidebar-content ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #444;
    padding: 10px 12px;
    display: block;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

#sidebar-content ul li a:hover {
    background: #e0e0e0;
    color: #111;
}



.tt-info h2 {
    font-size: 22px;
    color: #333;
    margin-bottom: 8px;
}

.requests-block {
    margin-top: 20px;
}

.requests-block h3 {
    margin-bottom: 12px;
    font-size: 20px;
    color: #444;
}

.requests-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.request-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.status {
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
}

.status.ontime {
    color: #2e7d32;
    background-color: #e8f5e9;
}

.status.overdue {
    color: #c62828;
    background-color: #ffebee;
}

.status.wait {
    color: #0000b499;
    background-color: #d0c7ff;
}


.request-body p {
    margin: 4px 0;
    font-size: 15px;
    color: #333;
}

.request-body a {
    color: #1565c0;
    text-decoration: none;
    font-weight: 500;
}

.request-body a:hover {
    text-decoration: underline;
}

.hint {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}   





/* Cluster styling */
.marker-cluster {
    background-color: rgba(51, 136, 255, 0.6);
    border-radius: 50%;
    color: #fff;
    line-height: 40px;
    font-weight: bold;
    z-index: 1000 !important;
}

.marker-cluster div {
    border-radius: 20px;
    font-size: 1.5rem;
}

.close-x {
    display: flex;
    justify-content: right;
    margin-bottom: 1rem;
}

.close-x #close-x {
    cursor: pointer;
}


.content{
    display: grid;
    grid-template-columns: 1fr 5fr;
}




.left-menu {
    /* width: 250px; */
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: Arial, sans-serif;
}

.menu-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

.menu-item {
    display: flex;
    flex-direction: column;
}

.menu-item label {
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

.menu-item select {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-item select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    background-color: #fefefe;
}

/* Match text input style with selects */
.menu-item input[type="text"],
.menu-item input[type="search"] {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-item input[type="text"]:focus,
.menu-item input[type="search"]:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    background-color: #fefefe;
}


.cluster-progress {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    background-color: gray;
    box-shadow: 0 0 0 2px #f0f0f0;
    font-size: 14px;
}


label {
    font-weight: bold;
}
