html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    overflow-y: hidden;
    overflow-x: hidden;
}

* {
    font-family: 'Quicksand', sans-serif;
}
.checkbox-container {
    display: flex;
    justify-content: flex-end; /* Aligns the checkbox to the right */
    padding-right: 10px; /* Adds some padding on the right for spacing */
    margin-bottom: 10px; /* Optional: Adds some space below the checkbox */
}
#statitics-container {
    background-color: #f7f7f7;
    border-radius: 8px;
    padding: 20px;
    margin-top: -20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#statitics-container p {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
}

#statitics-container div {
    margin-top: 20px;
}

.appearances-by-vehicle {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 4px;
}

.initial-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    text-align: center;
}
/* Tree View Styles */
.collapsible-container {
    margin: 5px 0;
  }
  
  .collapsible {
    background-color: #f9f9f9;
    color: #444;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 12px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
  }
  
  .collapsible.active, .collapsible:hover {
    background-color: #ccc;
  }
  .collapsible.active {
    font-weight: bold;
  }
  
  .content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
    margin: 5px 0;
  }
  
  .content div {
    padding: 10px;
    background-color: #fff;
    margin: 5px 0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
  }
  
  .content div:hover {
    background-color: #f9f9f9;
  }
/* Close Button Style */
#close-chart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    background-color: #ff4d4d; /* Red background for visibility */
    color: white; /* White text */
    border: none;
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Cursor changes to pointer to indicate it's clickable */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Shadow for depth */
    z-index: 1002; /* Ensure it's above other elements */
}

#close-chart-btn:hover {
    background-color: #ff3333; /* Slightly darker red on hover */
}

#main-container {
    display: flex;
    position: absolute;
    height: 100vh;
    width: 100%;
    background-color: #f7f7f7;
    z-index: 1001;
}
#sidebar {
    width: 20%;
    overflow-y: auto;
    background-color: #f0f0f0;
    border-right: 2px solid #ccc;
    padding: 20px;
}

#dynamic-container,
#vehicle-distribution-container {
    width: 100%;
    margin-bottom: 50px;
}

#dynamicChart,
#vehicleDistributionChart {
    width: 100% !important;
    height: auto !important;
}
#chart-container {
    position: relative;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; 
    padding: 20px;
}



/* Style for supplier list items in the sidebar */
#sidebar div {
    font-size: 12px;
    cursor: pointer;
    padding: 10px;
    margin-bottom: 5px;
    transition: background-color 0.3s ease;
}

#sidebar div:hover {
    background-color: #e9e9e9; /* Light hover effect */
}

.gm-style iframe + div { border:none!important; }
.switch-container {
    
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: -8px 5px 10px 5px;
    background-color: #ffffff96;
    border-radius: 15px;
    padding: 5px;
  }
  
  #switch-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease-in-out;
    fill: #007BFF;
  }
  
  #switch-icon.reversed {
    transform: rotate(180deg);
  }
#vehicle-type {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none; /* Removes default chrome and safari style */
    -moz-appearance: none; /* Removes default style Firefox */
    appearance: none; /* Removes default style */
    position: relative;
    font-size: 12px;
    color: #333;
  }
  
  /* Arrow indicator for the select element */
  .vehicle-selector-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjusts the space between the elements */
    flex-wrap: wrap; /* Allows the elements to wrap onto the next line on smaller screens */
    margin-bottom: 5px;
  }
  
  .vehicle-selector-container > * {
    flex: 1; /* Allows the elements to grow and shrink as needed */
    margin: 0 10px; /* Adds some space between the elements */
  }
  
  #vehicle-type-container::after {
    content: '▼';
    position: absolute;
    top: 50%;
    right: 15px;
    pointer-events: none;
    transform: translateY(-50%);
    color: #333;
    font-size: 12px;
  }
  
  /* Optional: Style the select dropdown on focus */
  #vehicle-type:focus {
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
  }
.hidden-checkbox {
    display: none;
}
.checkbox-container {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px; /* Adds space between the checkbox and the label */
  }
  
  .checkbox-container input[type="checkbox"] {
    accent-color: #007bff; /* Changes the color of the checkbox */
    cursor: pointer;
  }
  
  .checkbox-container label {
    font-size: 10px;
    cursor: pointer;
    user-select: none; /* Prevents text selection */
  }
  
  /* Custom style for checkboxes */
  .checkbox-custom {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #f0f0f0;
    border-radius: 3px;
    border: 2px solid #d1d1d1;
    position: relative;
  }
  
  .checkbox-custom::after {
    content: '';
    position: absolute;
    width: 7px;
    height: 3.5px;
    border-left: 2px solid #007bff;
    border-bottom: 2px solid #007bff;
    transform: rotate(-45deg);
    top: 1.5px;
    left: 1px;
    opacity: 0;
  }
  
  input[type="checkbox"]:checked + .checkbox-custom::after {
    opacity: 1;
  }
  
  @media (max-width: 768px) {
    #display-options-container {
      padding: 5px;
    }
  }
#location-list,
#destination-list {
    z-index: 1000;
}

#booking-container {
    background-color: #ffffff96;
    opacity: 0.9;
    display: block;
    width: 640px;
    border-radius: 15px;
    position: fixed;
    bottom: 35px;
    left: 10px;
    z-index: 999;
    max-height: 70%;
    overflow-y: auto;
    overflow-x: auto;
    padding-top: 10px;
}
#data-table {
    font-size: 10px;
}
#data-table th:nth-child(1),
#data-table td:nth-child(1) {
    width: 10%; /* adjust as needed */
}

#data-table th:nth-child(2),
#data-table td:nth-child(2) {
    width: 20%; /* adjust as needed */
}

#data-table th:nth-child(3),
#data-table td:nth-child(3) {
    width: 20%; /* adjust as needed */
}

#data-table th:nth-child(4),
#data-table td:nth-child(4) {
    width: 20%; /* adjust as needed */
}
#data-table th:nth-child(5),
#data-table td:nth-child(5) {
    width: 20%; /* adjust as needed */
}
#data-table th:nth-child(6),
#data-table td:nth-child(6) {
    width: 10%; /* adjust as needed */
}
#data-table td.error-message {
    color: #8B0000;
}
form {
    max-width: 1180px;
}
form input[type="text"] {
    width: 195px;
}

form input[type="date"] {
    width: 20px;
}

form input[type="time"] {
    width: 90px;
}
form select {
    width: 70px;
}
#genius {
    width: 240px;
}
.is-loading {
    cursor: not-allowed;
    pointer-events: none;
}
#notification-container {
    top: 20px;
    z-index: 1000;
}
.notification, .warning {
    margin-top: 110px;
    left: 10px;
}
#places-table-container {
    border-radius: 15px;
    margin-top: 10px;
    width: auto; /* Adjusted to auto to accommodate table width */
    position: absolute;
    top: 50px;
    right: 11px;
    max-height: 86%;
    overflow-y: auto; /* Allows vertical scrolling */
    overflow-x: auto; /* Allows horizontal scrolling if the table is wider than the container */
}

#places-table {
    margin-top: 30px;
    opacity: 0.9;
    font-size: 10px;
    border-collapse: separate;
    width: 300px;
    table-layout: fixed; /* Add this line */
}
#places-table-id {
    margin-top: 30px;
    font-size: 10px;
    text-wrap: normal !important;
    max-width: 50px !important;
}
#places-table th:nth-child(1),
#places-table td:nth-child(1) {
    width: 20%; /* adjust as needed */
    text-align: center;
}

#places-table th:nth-child(2),
#places-table td:nth-child(2) {
    width: 80%; /* adjust as needed */
    text-align: center;
}

#places-table td:nth-child(1),
#places-table td:nth-child(2) {
    cursor: pointer;
}


#places-table td {
    word-wrap: break-word; /* Add this line */
}
#places-table th {
    font-size: 12px;
}
#places-table tr.selected {
    color: #E86826;
    background-color: #ddd;
}
#places-table tr:hover {
    color: #E86826;
    background-color: #cacaca;
}
#places-table td:hover {
    background-color: transparent;
    border-radius: 0;
}

#radius {
    width: 80px;
}
#points {
    width: 60px;
}
#map {
    height: 100%;
    width: 100%;
    position: relative;
    border-radius: 0;
}
#search-form {
    position: absolute;
    top: 40px; /* adjust as needed */
    left: 600px; /* adjust as needed */
    transform: translateX(-50%);
    z-index: 1000; /* Ensure the form is above the map */
}
#form-container {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; /* Ensure the form is above the map */
}
  
#map-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Space between form elements */
}
#top-container {
    margin-bottom: 0;
    z-index: 1001;
}
.spacer {
    height: 25px; 
}
::-webkit-scrollbar {
    width: 4px; 
    background-color: rgba(0,0,0,0);
-webkit-border-radius: 100px;
}

::-webkit-scrollbar:hover {
    background-color: rgba(0, 0, 0, 0.09);
}
::-webkit-scrollbar-thumb:vertical {

    background: rgba(0,0,0,0.5);
-webkit-border-radius: 100px;
}
::-webkit-scrollbar-thumb:vertical:active {
    background: rgba(0,0,0,0.61);
-webkit-border-radius: 100px;
}
::-webkit-scrollbar-track {
    margin-top: 10px;
    margin-bottom: 5px;
    border-radius: 100px;
}
.price-label {
    font-size: 10px !important;
    color: #2a62c4 !important;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif !important;
    background-color: #ffffff;
    border-radius: 5px;
    display: inline-block;
    white-space: normal;
    width: 100px;
    padding: 1px;
    line-height: 1.2;
    text-align: center;
}
.price-label-mtt {
    font-size: 10px !important;
    color: #E86826 !important;
    font-weight: bold;
    font-family: 'Quicksand', sans-serif !important;
    background-color: #ffffff;
    border-radius: 5px;
    display: inline-block;
    white-space: normal;
    width: 100px;
    padding: 1px;
    line-height: 1.2;
    text-align: center;
}

.download-button, #ref-url {
    background-color: #4CAF50;
    border: none;
    color: white;
    font-size: 9px;
    padding: 8px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
  }
  
  .download-button:hover {
    background-color: #45a049;
  }
#ref-url {
    background-color: #003B95; 
}
#ref-url:hover {
    background-color: #002C70;
}

