@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

body {
    background-color: #f4f4f4;
    text-align: center;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: block; /* ❌ Remove flex properties that misalign content */
    font-family: 'Montserrat', sans-serif;
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the screen */
    z-index: -1; /* Keeps it behind other content */
    filter: blur(10px) brightness(100%);
}

h2 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-shadow: 2px 3px 25px black;

}

h3 {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-shadow: 2px 3px 25px black;

}

h4 {
    margin: auto;
}

input[type="text"], 
input[type="password"],
input[type="date"], 
select {
    width: 200px;
    padding: 10px;
    margin: 2px 5px;
    border: 3px solid #00000095;
    border-radius: 100px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    background-color: rgba(255, 255, 255, 0.748); /* Lightens the background */
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
}

input[type="text"]:focus, 
input[type="password"]:focus,
input[type="date"]:focus, 
select:focus {
    border-color: #ffd012; /* Changes border color when clicked */
    outline: none; /* Removes default browser outline */
    background-color: rgba(255, 255, 255, 0.748); /* Lightens the background */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Adds a subtle glowing effect */
    transition: all 0.3s ease-in-out; /* Smooth transition effect */
}



.filter-container {
    display: flex;
    justify-content: center;
    margin: 10px auto;
    flex-wrap: wrap; /* ✅ Prevents overflow by wrapping items */
    max-width: 100%; /* ✅ Ensures it stays inside the screen */
    overflow: hidden; /* ✅ Hides any accidental overflow */
    padding: 0 10px; /* ✅ Adds some spacing to prevent cut-off */
    box-sizing: border-box; /* ✅ Includes padding in the width calculation */
}

.filter-container input[type="text"],
.filter-container select {
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset;
}

.slot-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 800px;
    max-width: 100%;
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden; /* ✅ Prevents horizontal overflow */
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 10px auto;
    box-shadow: 0px 3px 20px;
    border-radius: 15px;
    scrollbar-gutter: stable; /* ✅ Keeps scrollbar width reserved inside */
    box-sizing: border-box; /* ✅ Ensures the scrollbar does not add extra width */
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

/* Custom Scrollbar */
.slot-container::-webkit-scrollbar {
    width: 8px; /* ✅ Adjusts scrollbar width */
}

/* Track (background of scrollbar) */
.slot-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 10px;
}

/* Scrollbar thumb (the draggable part) */
.slot-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/* Scrollbar thumb on hover */
.slot-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}



.slot {
    background-color: #000000;
    border-radius: 100px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
    cursor: pointer;
    display: inline-block;
    padding: 7px 20px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    transition: all 250ms;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    max-height: max-content;
}

.vacant {
    background-color: #90ee90;
}

.reserved {
    background-color: #ffcc00;
}

.paid {
    background-color: #ff6666;
    color: #f4f4f4;
    cursor: not-allowed;
}
.paid {
    cursor: not-allowed !important;
}

.slot.vacant,
.slot.reserved,
.slot.paid,
#reserveBtn {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.slot:hover {
    transform: translateY(-2px); /* Moves button slightly up */
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
}

/* Center the reserve button */
#reserveBtn {
    display: flex; /* Ensures centering */
    justify-content: center;
    align-items: center;
    width: 95%; /* Takes full width of its parent */
    max-width: 500px; /* Prevents it from being too wide */
    height: 80px;
    margin: 10px auto; /* Centers the button horizontally */
    background-image: radial-gradient(100% 100% at 100% 0, rgb(255, 141, 18) 0, #ffdf2c 100%);
    border: 0;
    border-radius: 15px;
    box-shadow: rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, rgb(255, 141, 18) 0 -3px 0 inset;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    padding: 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .15s, transform .15s;
    user-select: none;
    font-size: 35px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    text-shadow: 2px 3px 40px;
    margin-left: auto;
    margin-right: auto;
}

#reserveBtn:hover {
    box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(66, 58, 35, 0.3) 0 7px 13px -3px, #ff8d12 0 -3px 0 inset;
    transform: translateY(-2px);
}

#editModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Ensure it appears above other elements */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dimmed background */
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

/* Modal Styles */
.modal {
    display: none; /* Initially hidden */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure modal is on top */
    overflow-y: auto; /* allow vertical scrolling if needed */
    padding: 20px 0 40px;   /* add padding so content isn't cut off */
}

.modal-content p {
    margin: 3px 0px;
}
.modal-content h4 {
    text-align: left;
    margin-top: 10px;
}

.modal-content {
    background-color: #333;
    color: white;
    padding: 20px;
    width: 300px;
    max-height: 90vh; /* prevent content from going beyond screen */
    overflow-y: auto; /* scroll inside modal-content if needed */
    border-radius: 8px;
    margin: auto; /* center it even when scrolling */
}

.modal-content input {
    width: 90%;
    padding: 10px;
    margin: 2px 0;
}

.modal-content button {
    background-color: #000000;
    border-radius: 100px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
    cursor: pointer;
    display: inline-block;
    padding: 7px 20px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    transition: all 250ms;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.modal-content button:first-of-type {
    background-color: #3ee866;
    color: white;
}

.modal-content button:first-of-type:hover {
    background-color: #2ebf4d;
}

.modal-content button:last-of-type {
    background-color: #dc3545;
    color: white;
}

.modal-content button:last-of-type:hover {
    background-color: #c82333;
}

/* Highlight selected slots */
.selected {
    background-color: #b3d4fc !important;
}

.gcash-container {
    display: grid;
    gap: 0px;
    width: 90%;
    max-height: max-content;
    padding: 10px 25px;
    background-color: #007DFE    ;
    margin: 5px 10px 0px 10px;
    color: white;
    box-shadow: 2px 3px 20px;
    border-radius: 15px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer/Edge */
    box-sizing: border-box;
}

.gcash-container h1 {
    margin: 10px;
}

.admin-container,
.staff-container {
    display: grid;
    gap: 10px;
    max-width: 800px;
    max-height: max-content;
    height: 600px;
    overflow-y: auto;
    overflow-x: hidden; /* ✅ Prevents horizontal overflow */
    padding: 10px 25px;
    background-color: #333;
    margin: 20px auto;
    color: white;
    box-shadow: 2px 3px 20px;
    border-radius: 15px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer/Edge */
    box-sizing: border-box;
}

.reserve-container {
    display: grid;
    width: 90%;
    max-height: max-content;
    height: 400px;
    overflow-x: hidden; /* ✅ Prevents horizontal overflow */
    padding: 10px 10px;
    background-color: #333;
    margin: 5px 10px 0px 10px;
    color: white;
    box-shadow: 2px 3px 20px;
    border-radius: 15px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer/Edge */
    box-sizing: border-box;
}

.reserve-container p, h3 {
    margin: 5px;
}

.finalize-btn,
.view-image-btn,
.undo-btn,
.confirm-btn,
.cancel-btn {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,
                rgba(0, 0, 0, 0.15) 0 1px 2px,
                rgba(0, 0, 0, 0.15) 0 2px 4px,
                rgba(0, 0, 0, 0.15) 0 4px 8px,
                rgba(0, 0, 0, 0.15) 0 8px 16px,
                rgba(0, 0, 0, 0.15) 0 16px 32px;
    cursor: pointer;
    display: inline-block;
    padding: 7px 20px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-family: 'Montserrat', sans-serif;
}

/* Ensure last button has no extra margin */
.undo-btn {
    margin-right: 0;
}

.reservation {
    padding: 7px 7px;
    margin: 10px;
    max-height: max-content;
    border-radius: 10px;
    color: black;
    background-color: #ffcc00;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
}

.reservation input[type="text"]{
    width: 200px;
    margin-right: 15px;
    max-width: fit-content;
}


.reservation p {
    margin: 5px 10px;
    text-align: left;
}

.reservation button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 100px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,
                rgba(0, 0, 0, 0.15) 0 1px 2px,
                rgba(0, 0, 0, 0.15) 0 2px 4px,
                rgba(0, 0, 0, 0.15) 0 4px 8px,
                rgba(0, 0, 0, 0.15) 0 8px 16px,
                rgba(0, 0, 0, 0.15) 0 16px 32px;
    cursor: pointer;
    display: inline-block;
    padding: 7px 20px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-family: 'Montserrat', sans-serif;

}

.reservation button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,
                rgba(0, 0, 0, 0.15) 0 1px 2px,
                rgba(0, 0, 0, 0.15) 0 2px 4px,
                rgba(0, 0, 0, 0.15) 0 4px 8px,
                rgba(0, 0, 0, 0.15) 0 8px 16px,
                rgba(0, 0, 0, 0.15) 0 16px 32px;
}


.reset-btn {
    margin-top: 20px;
    padding: 10px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    background-color: #dc3545;
    color: white;
    border-radius: 5px;
}

.reset-btn:hover {
    background-color: #c82333;
}

/* Header Styling */
.header {
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    justify-content: center; /* Centers content */
    align-items: center;
    padding: 20px 0;
    position: fixed; /* Fixes header position */
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(5px); /* Optional: Adds a smooth blur effect */
}


/* Header Content Wrapper */
.header-content {
    width: 80%; /* Consistent width across all pages */
    max-width: 1200px; /* Prevents it from stretching too wide */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styling */
.logo {
    height: 50px; /* Adjust size as needed */
    filter: brightness(0) invert(1); /* Ensures visibility on dark background */
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* Ensure Content Starts Below Header */
.content {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ Centers the containers horizontally */
    justify-content: flex-start; /* Keeps content aligned properly */
    padding-top: 100px; /* Ensures content starts below the header */
    text-align: center;
    width: 100%;
}

.pay-column-one,
.pay-column-two {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ Centers the containers horizontally */
    justify-content: flex-start; /* Keeps content aligned properly */
    min-height: 100%;
    width: 430px;
}
 
.pay-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    min-height: 100%;
    margin-bottom: 20px;
}

.content-stats {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.progress-container {
    max-width: 500px;
    width: 50%;
    height: 50px;
    background-color: #ddd;
    border-style: solid;
    border-width: 3px;
    border-radius: 10px;
    margin: 5px auto;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
}

.progress-bar {
    height: 20px;
    background-color: #28a745;
    width: 0;
    transition: width 0.5s ease-in-out;
}

#progressText {
    text-align: center;
    margin-top: 5px;
}

/* Modal Background */
.imgmodal {
    display: none; /* ✅ Hides the modal initially */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    opacity: 0; /* ✅ Ensures it's fully invisible */
    visibility: hidden; /* ✅ Prevents accidental display */
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

/* Show the modal when it's activated */
.imgmodal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* Modal Image */
.imgmodal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

#scroll-container {
    display: none; 
}

@media (max-width: 768px) {
    .imgmodal-content {
        max-width: 95%; /* ✅ More width for smaller screens */
        max-height: 85vh;
    }
}

.image-upload{
    font-family: 'Montserrat', sans-serif;
}

.staff-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333; /* Dark background */
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
}

.staff-header p {
    margin: 0;
    font-size: 18px;
}

.logout-btn {
    background-color: #dc3545; /* Red button for logout */
    color: white;
    padding: 5px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-left: 10px;

}

.logout-btn:hover {
    background-color: #c82333;
}

.status-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #333; /* Dark background for contrast */
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: 2px 3px 20px rgba(0, 0, 0, 0.3);
}

.status-container h2 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
}

.status-container p {
    margin: 3px 0px;
}

.finalizedGroup {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.confirmGroup{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.status-container-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #333; /* Dark background for contrast */
    color: white;
    padding: 10px;
    width: 1200px;
    height: 350px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 3px 20px rgba(0, 0, 0, 0.3);
}

.status-container-list h2 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
}

.active-status-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #333; /* Dark background for contrast */
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: 2px 3px 20px rgba(0, 0, 0, 0.3);
}

.active-status-container h2 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
}

.active-status-container p {
    margin: 3px 0px;
}

.active-status-container-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #333; /* Dark background for contrast */
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px auto;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    box-shadow: 2px 3px 20px rgba(0, 0, 0, 0.3);
}

.active-status-container-list h2 {
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: bold;
}

.reset-btn {
    background-color: #dc3545; /* Red button for delete/reset */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px 5px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.reset-btn:hover {
    background-color: #c82333;
}

.admin-dashboard {
    width: 80%;
    max-width: 600px;
    margin: 20px auto;
    text-align: center;
    background: #333;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 3px 20px rgba(0, 0, 0, 0.2);
    color: #ddd;
}

#error-message {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-top: 5px;
}

/* Edit Button (Green) */
.edit-btn {
    background-color: #3ee866;
    color: white;
    border-radius: 100px;
    padding: 7px 20px;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-family: 'Montserrat', sans-serif;
}

.edit-btn:hover {
    background-color: #2ebf4d;
}

/* Delete Button (Red) */
.delete-btn {
    background-color: #dc3545;
    color: white;
    border-radius: 100px;
    padding: 7px 20px;
    font-weight: 500;
    text-align: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.delete-btn:hover {
    background-color: #c82333;
}

.bulkConfirm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background-color: #333;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 400px;
    height: 350px;
    max-width: 100%;
    border-radius: 10px;
    margin: auto;
}

.bulkConfirm textarea {
    width: 90%;
    height: 170px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: none;
    font-family: 'Montserrat', sans-serif;
    background-color: #333;
    color: white;
}

.bulkConfirm button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 100px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,
                rgba(0, 0, 0, 0.15) 0 1px 2px,
                rgba(0, 0, 0, 0.15) 0 2px 4px,
                rgba(0, 0, 0, 0.15) 0 4px 8px,
                rgba(0, 0, 0, 0.15) 0 8px 16px,
                rgba(0, 0, 0, 0.15) 0 16px 32px;
    cursor: pointer;
    display: inline-block;
    padding: 7px 20px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    font-family: 'Montserrat', sans-serif;
}

.finalizedGroup,
.confirmGroup,
.bulkConfirm {
    border: 8px  #000000;
}

.modal-content button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,
                rgba(0, 0, 0, 0.15) 0 1px 2px,
                rgba(0, 0, 0, 0.15) 0 2px 4px,
                rgba(0, 0, 0, 0.15) 0 4px 8px,
                rgba(0, 0, 0, 0.15) 0 8px 16px,
                rgba(0, 0, 0, 0.15) 0 16px 32px;
}

input[type="file"] {
    font-size: 16px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #333;
    color: #ccc;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    font-family: 'Montserrat', sans-serif;
}

#reserve-animation {
    opacity: 0; /* Start invisible */
    display: block; /* Ensure it's in the DOM */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    z-index: 1000;
    transition: opacity 0.5s ease-in-out; /* Smooth fade */
    background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none; /* ✅ Prevents blocking mouse interactions */
}
.hidden {
    display: none !important;
}

/* FAQ */
.faq-container {
    max-width: 1000px;
    margin: 15px;
    padding: 0 25px;

}

.faq-item {
    min-width: 350px;
    max-width: 500px;
    background: #fff;
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 15px;
    background: #333;
    color: #fff;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
}

.faq-question::after {
    content: "+";
    font-size: 20px;
    transition: transform 0.5s;
}

.faq-item.active .faq-question::after {
    content: "-";
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.3s ease-in-out;
    background: #f1f1f1;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: left; /* Center align content */
    gap: 10px; /* Add spacing between text and image */
}

.faq-answer ol,
.faq-answer ul {
    margin: 0;
    padding-left: 20px; /* Ensures ordered list is properly indented */
    text-align: left;
}

.faq-answer p {
    margin: 0;
    padding-left: 20px; /* Ensures ordered list is properly indented */
    text-align: left;
}

.faq-item.active .faq-answer {
    max-height: 600px; /* Large enough to fit text + image */
    padding: 15px;
}

/* Responsive Image */
.faq-answer img {
    max-width: 90%; /* Ensures image scales within container */
    height: auto; /* Keeps image aspect ratio */
    border-radius: 5px; /* Optional: Rounded corners */
    object-fit: cover; /* Ensures proper fitting */
    align-self: center; /* Center image within flexbox */
}

/* Responsive */
@media (max-width: 768px) {
    .faq-container {
        padding: 0 25px;
    }
    .faq-answer {
        text-align: center; /* Center text on small screens */
    }
}

/* Adjustments for screens smaller than 768px (common mobile devices) */
@media (max-width: 768px) {
    .header {
        padding: 10px 0; /* Reduce padding */
    }

    .header-content {
        width: 95%; /* Maximize available space */
    }

    .logo {
        height: 35px; /* Reduce logo size */
    }

    .nav-links {
        gap: 8px; /* Reduce space between links */
    }

    .nav-links a {
        font-size: 15px;
        padding-right: 15px; /* Make text smaller */
    }
    .content {
        padding-top: 80px; /* Reduce spacing from the header */
        width: 100%; /* Use more screen width */
    }
}

/* Extra adjustments for very small screens (iPhone 14 Pro Max, older models) */
@media (max-width: 480px) {
    .header {
        padding: 8px 0; /* Less padding */
        height: 40px;
    }

    .logo {
        height: 30px; /* Smaller logo */
    }

    .nav-links {
        display: flex; /* Ensure horizontal layout */
        justify-content: center; /* Center navigation links */
        gap: 5px; /* Reduce spacing */
    }

    .nav-links a {
        font-size: 15px; /* Smaller text */
        padding-right: 20px;
    }
    .content {
        padding-top: 60px; /* Reduce spacing even more */
        width: 100%; /* Max width for small screens */
        text-align: center; /* Keep text centered */
    }
    .filter-container {
        padding: 0 5px; /* Minimize horizontal spacing */
        max-width: 100%;
    }
    h2 {
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        text-shadow: 2px 3px 25px black;
        margin: 2px 0;
    
    }
    .filter-container input[type="text"],
    .filter-container select {
        box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset;
        width: 150px;
    }
    .progress-container {
        width: 90%;
        height: 50px;
        background-color: #ddd;
        border-style: solid;
        border-width: 3px;
        border-radius: 10px;
        margin: 2px auto;
        overflow: hidden;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
    }
    .modal-content {
        background-color: #333; /* Dark background for contrast */
        color: white;
        padding: 20px;
        margin: 50px auto;
        margin-bottom: 500px;
        width: 300px;
        text-align: center;
        border-radius: 8px;
    }
    .slot-container {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 800px;
        max-width: 100%;
        height: 450px;
        overflow-y: auto;
        overflow-x: hidden; /* ✅ Prevents horizontal overflow */
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.3);
        margin: 5px auto;
        box-shadow: 0px 3px 20px;
        border-radius: 5px;
        scrollbar-gutter: stable; /* ✅ Keeps scrollbar width reserved inside */
        box-sizing: border-box; /* ✅ Ensures the scrollbar does not add extra width */
    }
    .slot {
        background-color: #000000;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
        cursor: pointer;
        display: inline-block;
        padding: 7px 7px;
        text-align: center;
        font-weight: 500;
        text-decoration: none;
        transition: all 250ms;
        border: 0;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        max-height: max-content;
    }
    
    .vacant {
        background-color: #90ee90;
    }
    
    .reserved {
        background-color: #ffcc00;
    }
    
    .paid {
        background-color: #ff6666;
        color: #f4f4f4;
        cursor: not-allowed;
    }
    .paid {
        cursor: not-allowed !important;
    }
    
    
    .slot:hover {
        transform: translateY(-2px); /* Moves button slightly up */
        box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
    }


}

@media (max-width: 400px) {
    .header {
        padding: 8px 0; /* Less padding */
        height: 40px;
    }

    .logo {
        height: 23px; /* Smaller logo */
    }

    .nav-links {
        display: flex; /* Ensure horizontal layout */
        justify-content: center; /* Center navigation links */
        gap: 5px; /* Reduce spacing */
    }

    .nav-links a {
        font-size: 15px; /* Smaller text */
        padding-right: 20px;
    }
    .content {
        padding-top: 60px; /* Reduce spacing even more */
        width: 100%; /* Max width for small screens */
        text-align: center; /* Keep text centered */
    }
    .filter-container {
        padding: 0 5px; /* Minimize horizontal spacing */
        max-width: 100%;
        gap: 10px;
    }
    h2 {
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        text-shadow: 2px 3px 25px black;
        margin: 2px 0;
    
    }
    .filter-container input[type="text"],
    .filter-container select {
        box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset;
        width: 150px;
        margin: 3px auto;
    }
    .filter-container{
        margin: 5px;
    }
    .progress-container {
        width: 90%;
        height: 50px;
        background-color: #ddd;
        border-style: solid;
        border-width: 3px;
        border-radius: 10px;
        margin: 2px auto;
        overflow: hidden;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
    }
    .modal-content {
        background-color: #333; /* Dark background for contrast */
        color: white;
        padding: 20px;
        margin: 50px auto;
        width: 300px;
        text-align: center;
        border-radius: 8px;
        font-size: 13px;
    }
    .slot-container {
        position: relative;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 800px;
        max-width: 100%;
        height: 450px;
        overflow-y: auto;
        overflow-x: hidden; /* ✅ Prevents horizontal overflow */
        padding: 10px;
        background-color: rgba(0, 0, 0, 0.3);
        margin: 5px auto;
        box-shadow: 0px 3px 20px;
        border-radius: 5px;
        scrollbar-gutter: stable; /* ✅ Keeps scrollbar width reserved inside */
        box-sizing: border-box; /* ✅ Ensures the scrollbar does not add extra width */
    }
    .slot {
        background-color: #000000;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
        cursor: pointer;
        display: inline-block;
        padding: 7px 7px;
        text-align: center;
        font-weight: 500;
        text-decoration: none;
        transition: all 250ms;
        border: 0;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
        max-height: max-content;
        font-size: 13px;
    }
    
    .vacant {
        background-color: #90ee90;
    }
    
    .reserved {
        background-color: #ffcc00;
    }
    
    .paid {
        background-color: #ff6666;
        color: #f4f4f4;
        cursor: not-allowed;
    }
    .paid {
        cursor: not-allowed !important;
    }
    
    
    .slot:hover {
        transform: translateY(-2px); /* Moves button slightly up */
        box-shadow: rgba(0, 0, 0, 0.2) 0 -25px 18px -14px inset,rgba(0, 0, 0, 0.15) 0 1px 2px,rgba(0, 0, 0, 0.15) 0 2px 4px,rgba(0, 0, 0, 0.15) 0 4px 8px,rgba(0, 0, 0, 0.15) 0 8px 16px,rgba(0, 0, 0, 0.15) 0 16px 32px;
    }
    /* Center the reserve button */
    #reserveBtn {
        display: flex; /* Ensures centering */
        justify-content: center;
        align-items: center;
        width: 95%; /* Takes full width of its parent */
        max-width: 500px; /* Prevents it from being too wide */
        height: 80px;
        margin: 5px auto; /* Centers the button horizontally */
        background-image: radial-gradient(100% 100% at 100% 0, rgb(255, 141, 18) 0, #ffdf2c 100%);
        border: 0;
        border-radius: 15px;
        box-shadow: rgba(45, 35, 66, .4) 0 2px 4px, rgba(45, 35, 66, .3) 0 7px 13px -3px, rgb(255, 141, 18) 0 -3px 0 inset;
        box-sizing: border-box;
        color: #fff;
        cursor: pointer;
        padding: 16px;
        position: relative;
        text-align: center;
        text-decoration: none;
        transition: box-shadow .15s, transform .15s;
        user-select: none;
        font-size: 30px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        text-shadow: 2px 3px 40px;
        margin-left: auto;
        margin-right: auto;
    }

    #reserveBtn:hover {
        box-shadow: rgba(45, 35, 66, .4) 0 4px 8px, rgba(66, 58, 35, 0.3) 0 7px 13px -3px, #ff8d12 0 -3px 0 inset;
        transform: translateY(-2px);
    }

        
}

@media (min-height: 1px) {
        /* Scroll Animation Container */
    #scroll-container {
        position: fixed;
        left: 50%;
        transform: translateX(-50%);
        width: 2000px;
        height: 400px;
        bottom: 0.01%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(to top, black 5%, rgba(0, 0, 0, 0));
        transition: opacity 0.2s ease-in-out;
    }

    /* Hide animation when needed */
    .hidden {
        opacity: 0;
        pointer-events: none;
    }
}

/* marquee */

.marquee-container {
    position: relative;
    width: 800px;
    max-width: 100%;
    height: 50px;
    margin: 5px auto;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marquee 30s linear infinite;
    width: max-content; /* Important for seamless effect */
    --gap: 20px;
    display: flex;
    gap: var(--gap);
}

.marquee-content span {
    padding: 0 20px; /* Space between text */
    font-size: 20px;
    font-weight: bold;
    color: white;
    gap: var(--gap);
}

.marquee-content img {
    height: 25px; /* Adjust as needed */
    margin: 0 20px; /* Space around the image */
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
  }  

@keyframes marquee {
    to {
        transform: translateX(calc(-100% - var(--gap)));
      }
}
