/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #222; /* Dark background */
    color: #eee;            /* Light text */
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    color: #ddd;          /* Light color for the heading */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow */
    margin-top: 20px;
}

/* Map Styles */
#map {
    height: 600px;
    width: 80%;
    margin: 20px auto;
    border: 1px solid #555; /* Darker border for map */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Deeper shadow */
    border-radius: 8px;    /* Rounded corners */
}

/* Form Styles */
#searchForm {
    text-align: center;
    margin-bottom: 20px;
    background-color: #333; /* Dark form background */
    padding: 20px;
    border-radius: 8px;
}

#searchForm label {
    display: block;
    margin-bottom: 10px;
    color: #ddd;          /* Light color for the label */
}

#searchForm input[type="text"] {
    padding: 8px;
    border: 1px solid #555; /* Darker border for the input */
    border-radius: 4px;
    background-color: #444; /* Darker input background */
    color: #eee;          /* Light input text */
    margin-right: 10px;
    width: 200px;
}

#searchButton {
    padding: 8px 16px;
    background-color: #3498db;  /* Cool blue button */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#searchButton:hover {
    background-color: #2980b9;  /* Darker blue on hover */
}

/* Customer List Styles (if applicable) */
#customerList a {
    cursor: pointer;
    display: block;
    margin: 5px 0;
    color: #3498db;       /* Light blue for the link */
    text-decoration: none;
}

#customerList a:hover {
    text-decoration: underline;
}

/* Tooltip Styles */
.tooltip-info {
    margin-top: 20px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    font-size: 20px;
    color: #3498db;
}

.tooltip-info .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: left;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-info:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

/* Dropdown Menu Styles */
#navigationMenu {
    padding: 10px;
    border: 1px solid #555;  /* Darker border */
    border-radius: 5px;
    background-color: #333;  /* Dark background */
    box-shadow: 0px 2px 5px rgba(0,0,0,0.5); /* Deeper shadow */
    cursor: pointer;
    width: 220px;
    font-size: 16px;
    color: #eee;          /* Light text color */
    margin: 10px auto;
}

/* Style Dropdown Options */
#navigationMenu option {
    padding: 8px 10px;
    border-bottom: 1px solid #555; /* Darker border */
    background-color: #333;  /* Match dropdown background */
    color: #eee;
}

/* Hover Effect for Options */
#navigationMenu option:hover {
    background-color: #555;  /* Darker hover color */
    color: #fff;          /* White text on hover */
}

/* Change Dropdown Arrow Style (optional) */
#navigationMenu {
    -webkit-appearance: none; /* For Safari */
    -moz-appearance: none; /* For Firefox */
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23eee' d='M7 10l5 5 5-5z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #333;     /* Dark background */
    color: #eee;               /* Light text */
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #555;  /* Darker border */
    width: 80%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #eee;               /* Light text on hover */
    text-decoration: none;
    cursor: pointer;
}

#mapContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 20px auto;
}

#searchForm {
    text-align: center;
    margin-bottom: 10px;
    background-color: #333;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%; /* Make the form span the container width */
}

#map {
    height: 500px;
    width: 90%;
    max-width: 1100px; /* Example maximum width */
    margin: 20px auto;
    border: 1px solid #555;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.suggestion-box {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    width: 300px;
    z-index: 999;
}

.suggestion-box div {
    padding: 8px;
    cursor: pointer;
}

.suggestion-box div:hover {
    background-color: #f0f0f0;
}
.autocomplete-wrapper {
    position: relative;
    display: inline-block;
}

.suggestion-box {
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    border: 1px solid #555;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    z-index: 999;
    text-align: left;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    border-radius: 4px;
}

.suggestion-box div {
    padding: 8px 12px;
    cursor: pointer;
    white-space: nowrap;
    color: #eee;
}

.suggestion-box div:hover {
    background-color: #555;
    color: #fff;
}