/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Theme CSS - Start */
.site-logo-img .transparent-custom-logo img,
.ast-theme-transparent-header .site-logo-img img,
.site-logo-img img {
    filter: unset;
}

.ast-primary-header-bar {
    background-color: transparent;
}

.current-menu-item a {
    color: var(--ast-global-color-0) !important;
}

.site-footer {
    border-top: 1px solid #ffa500;
}

.site-footer,
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background-color: #0f051d;
}

.ast-separate-container .ast-article-single {
    padding: 1.5em;
}


@media (max-width: 921px) {
    .ast-primary-header-bar.ast-primary-header {
        background-color: transparent !important;
    }

    .ast-builder-menu-1 .main-header-menu,
    .ast-builder-menu-1 .main-header-menu .sub-menu,
    .ast-mobile-header-wrap .ast-mobile-header-content,
    .ast-desktop-header-content,
    .ast-header-break-point .main-navigation ul .menu-item .menu-link {
        background-color: #322A3E !important;
    }
}

@media (min-width: 922px) {
	.site-content .ast-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }
}

.wps-made-by-wolfpack {
    display: flex;
}

article.wps-page-content {
    padding: 0px !important;
}

@media (max-width: 767px) {

    header .custom-logo-link img,
    .ast-header-break-point .site-branding img,
    .ast-header-break-point .custom-logo-link img {
        max-width: 200px !important;
        width: 200px !important;
    }

    .e-con.e-flex>.e-con-inner {
        padding: 30% 0px 10%;
    }
}

.ast-container {
	max-width: 1280px;
}
@media (min-width: 1400px) {
    .ast-container {
        max-width: 1440px;
    }
}

@media (min-width: 1680px) {
    .ast-container {
        max-width: 1600px;
    }
}
/* Theme CSS - End */
/* WPS Table Availability - Reservation CSS */

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
    --wps-ta-color-primary: #fda329;
    --wps-ta-color-primary-dark: #e08700;
    --wps-ta-color-primary-darker: #e28e20;
    --wps-ta-color-success: #28a745;
    --wps-ta-color-success-bg: #dcfce7;
    --wps-ta-color-success-text: #166534;
    --wps-ta-color-danger-bg: #f8d7da;
    --wps-ta-color-danger-border: #f5c6cb;
    --wps-ta-color-danger-text: #721c24;
    --wps-ta-color-purple-bg: #d6c8f5;
    --wps-ta-color-purple-border: #b7a1e1;
    --wps-ta-color-purple-text: #3c096c;
    --wps-ta-color-warning-bg: #ffeeba;
    --wps-ta-color-warning-text: #856404;
    --wps-ta-color-available-bg: #e2f7e1;
    --wps-ta-color-available-border: #b2e5af;
    --wps-ta-color-live: #33e371;
    --wps-ta-color-neutral-bg: #f0f0f0;
    --wps-ta-color-neutral-border: #ddd;
    --wps-ta-color-text: #444;
    --wps-ta-color-text-muted: #555;
    --wps-ta-color-text-light: #888;
    --wps-ta-color-text-disabled: #ccc;
    --wps-ta-color-white: #ffffff;
    --wps-ta-color-gray-dark: #60646d;
    --wps-ta-border-radius-sm: 5px;
    --wps-ta-border-radius-md: 8px;
    --wps-ta-border-radius-lg: 12px;
    --wps-ta-border-radius-xl: 20px;
    --wps-ta-border-radius-pill: 25px;
    --wps-ta-transition-base: 0.3s ease;
    --wps-ta-transition-cubic: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --wps-ta-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --wps-ta-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
    --wps-ta-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --wps-ta-shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --wps-ta-shadow-btn: 0 4px 15px rgba(255, 107, 107, 0.4);
    --wps-ta-shadow-btn-hover: 0 8px 25px rgba(255, 107, 107, 0.6);
}


/* ==========================================================================
   LAYOUT - Page Wrappers
   ========================================================================== */
#tableReservation,
#tableAvailability,
#todayAvailability {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px 0;
    font-size: 14px;
}

#todayAvailability {
    min-height: unset;
}


/* ==========================================================================
   BOOKING CONTAINER
   ========================================================================== */
.reservation-btn {
    margin-top: 20px;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.booking-container {
    background-color: var(--wps-ta-color-white);
    padding: 0;
    border-radius: var(--wps-ta-border-radius-lg);
    width: 100%;
    max-width: 900px;
    box-sizing: border-box;
    position: relative;
}

.booking-container h1 {
    text-align: center;
    font-size: 26px;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--wps-ta-color-white);
    border: 1px solid var(--wps-ta-color-neutral-border) !important;
    border-radius: var(--wps-ta-border-radius-md);
    padding: 20px 15px;
    background-color: var(--wps-ta-color-primary);
    position: relative;
    line-height: 1.2;
}

.booking-container h2 {
    color: var(--wps-ta-color-text-muted);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.booking-container p {
    color: var(--wps-ta-color-text-muted);
    font-size: 16px;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin: 0 0 10px;
}

.booking-container label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--wps-ta-color-text);
}

.booking-container select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--wps-ta-color-neutral-border);
    border-radius: var(--wps-ta-border-radius-md);
    font-size: 16px;
    box-sizing: border-box;
}

.booking-main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.calendar-column,
.options-column {
    flex: 1;
}


/* ==========================================================================
   FORM GROUPS
   ========================================================================== */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center !important;
    margin-bottom: 25px !important;
}

#final-booking-form .form-group {
    margin-bottom: 0 !important;
}

.form-group input {
    padding: 10px;
    color: var(--wps-ta-color-text);
    border-radius: 3px;
    border: 1px solid #ccc;
}

.form-group .asterisk {
    color: red;
    margin-right: 2px;
}


/* ==========================================================================
   DATEPICKER GRID
   ========================================================================== */
.datepicker-grid {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: var(--wps-ta-border-radius-md);
    border: 1px solid #e0e0e0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.datepicker-grid .header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.datepicker-grid .header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: var(--wps-ta-border-radius-sm);
    transition: background-color 0.2s;
    color: #aaa;
    display: inline-flex;
    align-items: center;
}

.datepicker-grid .header button:hover {
    background-color: #eee;
    color: #000;
}

.datepicker-grid .header span {
    font-size: 16px;
    font-weight: 600;
}

.datepicker-grid .weekdays {
    grid-column: 1 / -1;
    display: contents;
    font-weight: bold;
    color: var(--wps-ta-color-text-light);
}

.datepicker-grid .day {
    padding: 12px 0;
    cursor: pointer;
    border-radius: var(--wps-ta-border-radius-sm);
    transition: background-color 0.2s;
    position: relative;
    color: #000;
}

.datepicker-grid .day:hover:not(.empty):not(.unavailable):not(.selected) {
    background-color: #e0e0e0;
}

.datepicker-grid .day.today::after {
    content: 'Today';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    font-weight: normal;
    color: var(--wps-ta-color-primary);
}

.datepicker-grid .day.selected {
    background-color: var(--wps-ta-color-primary);
    color: var(--wps-ta-color-white);
    font-weight: bold;
}

.datepicker-grid .day.unavailable,
.datepicker-grid .day.empty {
    color: var(--wps-ta-color-text-disabled);
    cursor: not-allowed;
    background-color: #f8f8f8;
}


/* ==========================================================================
   HOUR & TIME SLOT BUTTONS
   ========================================================================== */
.hours-selector-inline,
.time-slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hour-btn,
.time-slot-btn {
    flex-grow: 1;
    color: var(--wps-ta-color-text-muted);
    padding: 15px !important;
    text-align: center;
    border-radius: var(--wps-ta-border-radius-md) !important;
    cursor: pointer;
    transition: background-color var(--wps-ta-transition-base), border-color var(--wps-ta-transition-base);
}

.hour-btn {
    background-color: var(--wps-ta-color-neutral-bg);
    border: 1px solid var(--wps-ta-color-neutral-border) !important;
}

/* Available */
.time-slot-btn,
.time-slot-btn:hover {
    background-color: var(--wps-ta-color-available-bg) !important;
    border: 1px solid var(--wps-ta-color-available-border) !important;
    color: var(--wps-ta-color-text-muted) !important;
    font-weight: 600;
}

/* Selected */
.hour-btn.selected,
.time-slot-btn.selected {
    background-color: var(--wps-ta-color-primary) !important;
    color: var(--wps-ta-color-white) !important;
    border-color: var(--wps-ta-color-primary) !important;
    font-weight: 700;
}

/* Unavailable */
.time-slot-btn.unavailable,
.time-slot-btn.unavailable:hover {
    background-color: var(--wps-ta-color-danger-bg) !important;
    border-color: var(--wps-ta-color-danger-border) !important;
    color: var(--wps-ta-color-danger-text) !important;
    cursor: not-allowed !important;
    font-weight: 400;
}

/* Not Allowed */
.time-slot-btn.not-allowed,
.time-slot-btn.not-allowed:hover {
    background-color: var(--wps-ta-color-purple-bg) !important;
    color: var(--wps-ta-color-purple-text) !important;
    border: 1px solid var(--wps-ta-color-purple-border) !important;
    cursor: not-allowed !important;
    font-weight: 400;
}

/* Over Limit */
.time-slot-btn.over-limit,
.time-slot-btn.over-limit:hover {
    background-color: var(--wps-ta-color-warning-bg) !important;
    color: var(--wps-ta-color-warning-text) !important;
    border: 1px solid var(--wps-ta-color-warning-bg) !important;
    cursor: not-allowed !important;
    font-weight: 400;
}

.placeholder-text {
    color: #999;
    font-style: italic;
    text-align: center;
    width: 100%;
    padding: 20px;
}


/* ==========================================================================
   SLOT LEGEND
   ========================================================================== */
.slot-legend {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.slot-legend .legend-entry {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #333;
}

.slot-legend .legend-item {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-item.unavailable {
    background-color: var(--wps-ta-color-danger-bg);
    border: 1px solid var(--wps-ta-color-danger-border);
}

.legend-item.not-allowed {
    background-color: var(--wps-ta-color-purple-bg);
    border: 1px solid var(--wps-ta-color-purple-border);
}

.legend-item.over-limit {
    background-color: var(--wps-ta-color-warning-bg);
    border: 1px solid var(--wps-ta-color-warning-bg);
}

.legend-item.available {
    background-color: var(--wps-ta-color-available-bg);
    border: 1px solid var(--wps-ta-color-available-border);
}


/* ==========================================================================
   BOOKING SUMMARY
   ========================================================================== */
.booking-summary {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: var(--wps-ta-border-radius-md);
    margin-top: 20px;
}

.booking-summary h3 {
    margin-top: 0;
    border-bottom: 1px solid var(--wps-ta-color-neutral-border);
    padding-bottom: 10px;
    font-size: 16px;
    color: #666;
}

.booking-summary p {
    margin: 5px 0;
    color: #666;
}

.booking-summary span {
    font-weight: bold;
    color: #333;
}

.booking-summary-box p {
    margin: 8px 0;
}


/* ==========================================================================
   CTA BUTTON
   ========================================================================== */
.cta-book-btn {
    width: 100%;
    padding: 15px !important;
    border: none !important;
    border-radius: var(--wps-ta-border-radius-md) !important;
    background-color: var(--wps-ta-color-primary) !important;
    color: var(--wps-ta-color-white) !important;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color var(--wps-ta-transition-base), transform 0.2s;
}

.cta-book-btn:hover:not(:disabled) {
    background-color: var(--wps-ta-color-primary-dark) !important;
    transform: translateY(-2px);
}

.cta-book-btn:disabled {
    background-color: #e0e0e0 !important;
    color: #a0a0a0 !important;
    cursor: not-allowed;
}

.cta-book-btn.success {
    background-color: var(--wps-ta-color-success) !important;
    color: var(--wps-ta-color-white) !important;
}


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

.modal-content {
    background-color: var(--wps-ta-color-white);
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--wps-ta-border-radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--wps-ta-shadow-md);
    position: relative;
    color: var(--wps-ta-color-text);
}

.modal-content h2 {
    color: var(--wps-ta-color-text);
}

.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-content label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
}


/* ==========================================================================
   CLOSE BUTTONS (Back navigation in booking/availability/today)
   ========================================================================== */
#closeBooking,
#closeAvailability,
#closetoday {
    color: var(--wps-ta-color-white);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    position: absolute;
    left: 10px;
    top: 18px;
    padding: 10px;
    transition: all var(--wps-ta-transition-cubic);
    line-height: 1;
}

#closeBooking:hover,
#closeAvailability:hover,
#closetoday:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.15);
    border-radius: var(--wps-ta-border-radius-md);
}


/* ==========================================================================
   STATUS BAR
   ========================================================================== */
.status-bar {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 16px;
}

.status-item:last-child {
    margin-bottom: 0;
}

.status-item span::before {
    content: "•";
    margin-right: 10px;
}

.status-item span span::before {
    display: none;
}

.status-item .countdown {
    font-weight: bold;
    color: var(--wps-ta-color-primary);
}

#send-pnw-mail-modal .status-item span::before {
    display: none;
}

#send-pnw-mail-modal .status-item label {
    text-align: left;
}

.refresh-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wps-ta-color-live);
    font-weight: 600;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--wps-ta-color-live);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}


/* ==========================================================================
   TABLE CARDS GRID
   ========================================================================== */
.tables-grid {
    padding: 40px 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.table-card {
    background: white;
    border-radius: var(--wps-ta-border-radius-xl);
    box-shadow: var(--wps-ta-shadow-lg);
    overflow: hidden;
    transition: all var(--wps-ta-transition-cubic);
}

.table-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--wps-ta-shadow-xl);
    border-color: var(--wps-ta-color-primary);
}

.table-header {
    background: var(--wps-ta-color-primary);
    color: white;
    padding: 20px;
    text-align: center;
}

.table-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.table-size {
    font-size: 16px;
    opacity: 0.9;
}

.table-visual {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px;
    border-radius: 15px;
    overflow: hidden;
}

.table-visual .mask {
    position: relative;
    top: unset;
    right: unset;
    bottom: unset;
    left: unset;
    overflow: visible;
    background-attachment: unset;
    height: unset;
    width: unset;
}

.book-section {
    padding: 25px;
    text-align: center;
}

.availability-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--wps-ta-border-radius-xl);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.available {
    background: var(--wps-ta-color-success-bg);
    color: var(--wps-ta-color-success-text);
}

.in-use {
    background-color: var(--wps-ta-color-danger-bg);
    color: #000;
}


/* ==========================================================================
   BOOK BUTTON & WPS TA BUTTON
   ========================================================================== */
.book-btn,
.wps-ta-btn {
    background: var(--wps-ta-color-primary);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: var(--wps-ta-border-radius-pill);
    cursor: pointer;
    transition: all var(--wps-ta-transition-base);
    box-shadow: var(--wps-ta-shadow-btn);
}

.book-btn {
    width: 100%;
}

.book-btn:hover,
.book-btn:focus,
.wps-ta-btn:hover,
.wps-ta-btn:focus {
    color: inherit;
    transform: translateY(-2px);
    box-shadow: var(--wps-ta-shadow-btn-hover);
}

.book-btn:active {
    transform: translateY(0);
}

.book-btn.use {
    background: var(--wps-ta-color-gray-dark);
    box-shadow: 0 4px 15px rgba(96, 101, 107, 0.4);
    cursor: not-allowed;
}

.book-btn.use:hover {
    box-shadow: 0 4px 15px rgba(96, 101, 107, 0.6);
}


/* ==========================================================================
   FLOATING REFRESH BUTTON
   ========================================================================== */
.floating-refresh {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transition: all var(--wps-ta-transition-base);
    z-index: 1000;
}

.floating-refresh:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}


/* ==========================================================================
   TABS
   ========================================================================== */
.custom-tabs {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.tab-btn {
    font-size: 18px;
    background: var(--wps-ta-color-primary);
    border: none;
    color: var(--wps-ta-color-white);
    padding: 10px 20px;
    margin-right: 5px;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    font-weight: bold;
    transition: background var(--wps-ta-transition-base);
}

.tab-btn:hover {
    background: var(--wps-ta-color-primary-darker) !important;
    color: var(--wps-ta-color-white) !important;
}

.tab-btn.active {
    background: #333 !important;
    color: var(--wps-ta-color-white);
}

.tab-btn:focus {
    color: var(--wps-ta-color-white) !important;
}

.tab-content-custom {
    border: 2px solid var(--wps-ta-color-primary);
    padding: 15px;
    border-radius: 0 6px 6px 6px;
    background: var(--wps-ta-color-white);
}

.tab-pane-custom {
    display: none;
}

.tab-pane-custom.active {
    display: block;
}


/* ==========================================================================
   CARDS (inside tabs)
   ========================================================================== */
.card-custom {
    font-size: 16px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: var(--wps-ta-border-radius-md);
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: var(--wps-ta-shadow-sm);
    color: var(--wps-ta-color-text-muted);
}

.card-custom br {
    margin-bottom: 5px;
}

.card-custom br:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */
.today_print {
    float: right;
    cursor: pointer;
    display: flex;
}

.wps-display-flex {
    display: flex;
}

.wps-text-center {
    text-align: center;
}

.wps-content-center {
    align-items: center;
    justify-content: center;
    width: 100%;
}

.wps-margin-bottom-20 {
    margin-bottom: 20px;
}


/* ==========================================================================
   RESPONSIVE - Mobile (<= 767px)
   ========================================================================== */
@media screen and (max-width: 767px) {
    .container {
        padding-right: 0;
        padding-left: 0;
    }

    .booking-container {
        padding: 20px 15px;
    }

    .booking-container h1 {
        font-size: 16px !important;
        margin-top: 0 !important;
        line-height: 1.6 !important;
    }

    .booking-container h2 {
        font-size: 20px;
    }

    .booking-container .tab-pane-custom h2 {
        font-size: 16px;
    }

    #closeBooking,
    #closeAvailability,
    #closetoday {
        font-size: 15px;
        top: 13px;
        left: -5px;
    }

    .datepicker-grid {
        padding: 15px 10px;
    }

    .datepicker-grid .header button {
        padding: 5px 0;
    }

    .status-bar {
        padding: 15px;
    }

    .status-item {
        align-items: self-start;
        font-size: 15px;
    }

    .status-item span:before {
        margin-right: 5px;
    }

    .slot-legend {
        flex-wrap: wrap;
        flex-direction: unset;
        align-items: flex-start;
        gap: 10px;
        font-size: 12px;
    }

    .slot-legend .legend-entry {
        gap: 10px;
        flex: 1 1 45%;
    }

    .slot-legend .legend-item {
        min-width: 14px;
        min-height: 14px;
        width: 14px;
        max-width: 14px;
        height: 14px;
        max-height: 14px;
    }

    .tables-grid {
        padding: 20px 0;
        grid-template-columns: 1fr;
    }

    .table-header {
        padding: 15px 20px;
    }

    .table-number {
        font-size: 22px;
    }

    .table-visual {
        height: 250px;
        margin: 15px;
    }

    .book-section {
        padding-top: 0;
    }

    .book-btn {
        font-size: 16px;
    }

    .hour-btn,
    .time-slot-btn {
        font-size: 12px;
    }

    .tab-btn {
        font-size: 15px;
    }

    .wps-ta-btn {
        padding: 10px;
        font-size: 13px;
    }

    .wps-margin-bottom-20 {
        margin-top: 20px;
    }
}


/* ==========================================================================
   RESPONSIVE - Small Tablet / Intermediate (768px - 1024px)
   (Covers both orientations; orientation-specific overrides follow)
   ========================================================================== */
@media only screen and (min-width: 768px) {
    .booking-container {
        padding: 40px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1281px) {
    .status-bar {
        padding: 15px 0;
    }

    .tables-grid {
        padding: 40px 0;
        gap: 20px;
    }

    .booking-container h1 {
        font-size: 22px;
        margin-bottom: 15px;
        padding: 15px;
        margin-top: 15px;
    }

    #closeBooking,
    #closeAvailability,
    #closetoday {
        top: 9px;
    }

    .slot-legend {
        flex-wrap: wrap;
        justify-content: center;
        font-size: 13px;
        gap: 8px 15px;
    }

    .slot-legend .legend-entry {
        font-size: 12px;
    }

    .time-slots-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }

    .time-slots-grid .time-slot-btn {
        font-size: 14px;
        padding: 12px !important;
        min-width: auto;
    }

    .time-slots-grid .placeholder-text {
        white-space: nowrap;
        text-align: center;
        font-size: 14px;
        font-style: italic;
        color: #999;
        margin: 0 auto;
    }
}

/* Tablet Portrait */
@media only screen and (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {
    .booking-container h1 {
        font-size: 24px !important;
    }

    .table-header {
        padding: 15px 20px;
    }

    .table-number {
        font-size: 22px;
    }

    .table-visual {
        height: 200px;
    }

    .tables-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    }

    .wps-ta-btn,
    .book-btn,
    .availability-status {
        font-size: 15px !important;
    }

    .hours-selector-inline,
    .time-slots-grid {
        gap: 20px;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 600px) and (max-width: 1024px) and (orientation: landscape) {
    .booking-container h1 {
        font-size: 26px !important;
    }
}


/* ==========================================================================
   RESPONSIVE - MacBook / Large Screens (1025px+)
   ========================================================================== */
/* MacBook 15" */
@media screen and (min-width: 1025px) and (max-width: 1280px) {
    .booking-container h1 {
        font-size: 26px !important;
    }
}

/* General MacBook (Retina) */
@media only screen and (min-width: 1280px) and (max-width: 1728px) and (-webkit-min-device-pixel-ratio: 2) {
    .booking-container h1 {
        font-size: 26px !important;
    }
}

/* WPS Table Availability - Reservation CSS - End */
