﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
	 
	 background:#151515;
}

#restaurant-map-container {
    position: relative; /* Crucial for absolute positioning of children */
    width: 100%;
    max-width: 900px; /* Adjust max-width as needed for your design */
    margin: auto;
    /* Add padding/margin to prevent map from touching screen edges on mobile */
   /* padding: 10px;*/
    box-sizing: border-box; /* Include padding in width */
	padding-left: 15px;
    padding-right: 15px;
    padding-top: 0px;
}

#restaurant-map {
    width: 100%;
    height: auto;
    display: block;
    /* Optional: Add a border for visual separation */
    border: 1px solid #ddd;
}

.table-marker {
    position: absolute; /* Allows precise positioning within the container */
    /* Use 'em' or 'vw' for responsive sizing, or rely on JS for precise scaling */
    width: 3vw; /* Example: 6% of viewport width */
    height: 3vw;
    max-width: 50px; /* Prevent them from getting too large on big screens */
    max-height: 50px;
    min-width: 19px;  
    min-height: 19px;
    /*    background-color: #00800080;
*/ border-radius: 50%;
    text-align: center;
    color: #06ff06; /*white;*/
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Add a subtle shadow */
    /* Flexbox for perfect vertical and horizontal centering of text */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8em; /* Adjust font size relative to marker size */
    border-style: solid;
}

.reserved {
    /*    background-color: #ff00006e !important;
*/ color: #ff0000 !important;
}

/* New styling for filter container (copy from previous response if not already there) */
#filters-container {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    justify-content: center;
    gap: 15px;
}

    #filters-container label {
        font-weight: bold;
        margin-right: 5px;
        align-self: center;
    }

    #filters-container input[type="date"],
    #filters-container input[type="time"] {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
    }

    #filters-container button {
        padding: 10px 20px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
    }

        #filters-container button:hover {
            background-color: #0056b3;
        }


/* Modal Styles - ensure z-index is higher */
#modal, #thankYouModal {
    display: none;
    position: fixed;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Use translate to perfectly center */
    background: #7f7f7f;
    padding: 20px;
    border: 2px solid black;
    border-radius: 10px;
    z-index: 1000; /* Higher z-index */
    max-width: 90%; /* Responsive width */
    width: 70vw; /* Max width */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Deeper shadow */
}

    #modal h3, #thankYouModal h3 {
        margin-top: 0;
        text-align: center;
    }

    #modal form label, #modal form input {
        width: 100%;
        box-sizing: border-box; /* Include padding/border in width */
        margin-bottom: 10px;
    }

    #modal form button {
        width: auto; /* Buttons can size to content */
        margin-right: 10px;
    }

        #modal form button:last-child {
            margin-right: 0;
        }

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7); /* Slightly darker overlay */
    z-index: 999;
}

/* Media Queries for smaller screens (optional, but good for fine-tuning) */
@media (max-width: 768px) {
    #filters-container {
        flex-direction: column; /* Stack filters vertically on smaller screens */
        align-items: center;
    }

        #filters-container input, #filters-container button {
            width: 80%; /* Make inputs wider */
        }

    .table-marker {
        font-size: 0.5em; /* Slightly smaller text on smaller markers */
        /*width: 1vw;*/ /* Example: 6% of viewport width */
        /*height: 1vw;*/
    }
}




/*

#T1 {
    top: 15%;
    left: 20%;
}

#T2 {
    top: 15%;
    left: 33%;
}

#T3 {
    top: 15%;
    left: 50%;
}

#T4 {
    top: 15%;
    left: 63%;
}

#T5 {
    top: 30%;
    left: 20%;
}

#T6 {
    top: 30%;
    left: 33%;
}

#T7 {
    top: 30%;
    left: 50%;
}

#T8 {
    top: 30%;
    left: 63%;
}

#T9 {
    top: 51%;
    left: 20%;
}

#T10 {
    top: 51%;
    left: 33%;
}

#T11 {
    top: 51%;
    left: 50%;
}

#T12 {
    top: 51%;
    left: 63%;
}

#T13 {
    top: 19%;
    left: 80%;
}

#T14 {
    top: 48%;
    left: 80%;
}

#T15 {
    top: 76%;
    left: 80%;
}*/