/**
 * reservations.css
 *
 * Styles for the interactive reservation system with an elegant video game style (Lumiere Nexus).
 * Corrected for unique class names and consistent Black/Gold color scheme.
 *
 * @package Lumiere_Lumiere_Lounge
 */

/* Custom properties for consistency - MATCHING HOMEPAGE THEME */
/* These variables should be defined in your main theme stylesheet (e.g., style.css or functions.php enqueue)
   and are referenced here. DO NOT define :root here as it affects the entire site. */

/* Map main theme fonts to reservation-specific font variables */
:root {
    --font-heading: var(--primary-font);
    --font-body: var(--secondary-font);
}

/* Nexus specific variables derived from theme colors */
/* These are scoped to the .lumiere-res-content to prevent global leakage */
.lumiere-res-content {
    --nexus-dark-bg: var(--black-background);
    --nexus-panel-bg: rgba(0, 0, 0, 0.7); /* More consistent with theme's dark panels */
    --nexus-border: rgba(218, 165, 32, 0.4); /* Subtle gold border */
    --nexus-glow-primary: var(--gold-color); /* Main gold glow color */
    --nexus-glow-secondary: #FFD700; /* Lighter gold for accents/gradients */
    --nexus-text-light: var(--text-color);
    --nexus-text-medium: rgba(224, 224, 224, 0.8); /* Muted text color */
    --nexus-success: #4CAF50; /* Darker, richer green */
    --nexus-error: #D32F2F; /* Darker, richer red */
    --nexus-reserved: var(--nexus-error);
    --nexus-available: var(--nexus-success);
    --nexus-partially-available: var(--nexus-glow-primary); /* Gold for partially available */
}

/* General and Hero styles, now with unique prefixes */
/* Inherit home-hero styles for consistency */
.lumiere-res-hero {
    /* The video and particle effects are handled by the .home-hero class and main.js */
    /* Ensure these match the home-hero in home.css */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    /* Remove specific border/shadow from here, let home-hero handle it if applicable */
    border-bottom: none;
    box-shadow: none;
}

.lumiere-res-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    margin-top: 80px; /* Align with home-hero content */
}

/* Hero titles and subtitles inherit from .gsap-hero-title and .gsap-hero-subtitle in style.css */
/* No specific overrides needed here, as they are already globally styled */

/* Section noise is handled by the .section-noise class from style.css */
.lumiere-res-section-noise::before {
    /* This rule is now redundant if section-noise is applied, but keeping it for clarity if needed */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAG0lEQVQYV2NkYGD4z8DAwMgABXAGiwE0AAAABJRU5ErkJggg==') repeat;
    opacity: 0.1; /* More pronounced noise */
    pointer-events: none;
    z-index: 1;
}

/* Section black is handled by the .section-black class from style.css */
.lumiere-res-section-black {
    background-color: var(--black-background);
    background-image: none; /* Override body's noise for this section */
    color: var(--nexus-text-light);
    padding: 80px 0;
    position: relative;
    z-index: 0;
}

.lumiere-res-content .container {
    max-width: 1600px; /* Wider container for the new layout */
    margin: 0 auto;
    padding: 0 20px;
}

.lumiere-res-nexus-interface-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    background: rgba(0, 0, 0, 0.7); /* Consistent with menu-hero-content-wrapper */
    border: 1px solid rgba(218, 165, 32, 0.4); /* Subtle gold border */
    border-radius: 15px; /* Consistent rounded corners */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 215, 0, 0.1); /* Deeper shadow with subtle inner glow */
    padding: 30px;
    backdrop-filter: blur(8px); /* Frosted glass effect for elegance */
}

.lumiere-res-nexus-filters-panel {
    flex: 1;
    min-width: 280px;
    padding: 20px;
    border-right: 1px solid var(--nexus-border);
}

.lumiere-res-nexus-map-area {
    flex: 3;
    min-width: 600px;
    padding: 20px;
}

.lumiere-res-nexus-details-panel {
    flex: 2;
    min-width: 350px;
    padding: 20px;
    border-left: 1px solid var(--nexus-border);
}

.lumiere-res-panel-title, .lumiere-res-map-title, .lumiere-res-form-title {
    font-family: var(--font-heading);
    font-size: 2.5rem; /* Adjusted to match other section titles */
    margin-bottom: 30px;
    color: var(--nexus-glow-secondary);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    text-align: center;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2); /* Consistent with menu-section-title */
    padding-bottom: 15px;
}

.lumiere-res-filter-group {
    margin-bottom: 25px;
}

.lumiere-res-filter-group label {
    font-family: var(--font-body);
    display: block;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--nexus-text-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lumiere-res-filter-group input,
.lumiere-res-filter-group select {
    width: calc(100% - 24px); /* Adjusted width to account for padding */
    padding: 12px;
    border: 1px solid var(--nexus-border);
    border-radius: 8px; /* Consistent rounded corners */
    background: rgba(20, 20, 40, 0.7); /* Darker input background */
    color: var(--nexus-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: inset 0 0 5px rgba(255, 215, 0, 0.1); /* Subtle inner glow */
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

.lumiere-res-filter-group input:focus,
.lumiere-res-filter-group select:focus {
    border-color: var(--nexus-glow-primary);
    box-shadow: 0 0 10px var(--nexus-glow-primary);
    outline: none;
}

/* Restaurant Map Container (formerly table-grid-container) */
.lumiere-res-restaurant-map-container {
    position: relative;
    height: 700px; /* Fixed height for the map */
    width: 100%;
    background: rgba(10, 10, 20, 0.9);
    border: 2px solid var(--nexus-glow-primary);
    border-radius: 10px;
    overflow: hidden; /* This is critical for clipping drop-shadow */
    filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.4)); /* Apply main map glow here */
    /* Grid overlay for a techy map look */
    background-image:
        linear-gradient(to right, rgba(255, 215, 0, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 215, 0, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Instructional text for map area */
.lumiere-res-map-instructions {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--nexus-text-medium);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* Table Node (formerly table-item) */
.lumiere-res-table-node {
    position: absolute;
    background: rgba(40, 40, 40, 0.9); /* Lighter background for tabletop */
    border: 2px solid var(--gold-color); /* Stronger border for tabletop */
    border-radius: 10px; /* Default rounded square */
    padding: 5px; /* Reduced padding to make room for chairs */
    text-align: center;
    cursor: pointer;
    /* REMOVED box-shadow from here */
    /* Smaller default size for Center/Standard */
    width: 80px; /* Reduced from 100px */
    height: 80px; /* Reduced from 100px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--font-body);
    color: var(--nexus-text-light);
    transition: transform 0.3s ease, filter 0.3s ease, border-color 0.3s ease; /* Changed box-shadow to filter */
    overflow: visible; /* Allow chairs/details to extend */
    position: relative; /* For glow and chairs positioning */
    z-index: 1; /* Ensure tables are above map grid */
    /* ADDED: Center the element on its top/left coordinates */
    transform: translate(-50%, -50%);
    /* Default drop-shadow */
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.5));
}

/* Chair common styles */
.lumiere-res-table-node::before,
.lumiere-res-table-node::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 215, 0, 0.6); /* Gold chairs */
    border: 1px solid var(--gold-color);
    border-radius: 5px; /* Rounded corners for chairs */
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3); /* Keep box-shadow on chairs, as they are part of the table's visual space */
    z-index: 0; /* Behind tabletop content */
    transition: background-color 0.3s ease, opacity 0.3s ease;
}

/* Specific Table Shapes and Sizes & Chair Placement */
.lumiere-res-table-node.center,
.lumiere-res-table-node.vip,
.lumiere-res-table-node.window {
    width: 80px; /* Reduced from 100px */
    height: 80px; /* Reduced from 100px */
    border-radius: 10px; /* Square/rectangular shape */
}

.lumiere-res-table-node.center::before,
.lumiere-res-table-node.vip::before,
.lumiere-res-table-node.window::before {
    width: 16px; height: 16px; /* Chair size reduced */
    top: -12px; left: 50%; transform: translateX(-50%); /* Top chair */
}
.lumiere-res-table-node.center::after,
.lumiere-res-table-node.vip::after,
.lumiere-res-table-node.window::after {
    width: 16px; height: 16px; /* Chair size reduced */
    bottom: -12px; left: 50%; transform: translateX(-50%); /* Bottom chair */
}

.lumiere-res-table-node.round-table {
    border-radius: 50%; /* Makes it circular */
    width: 80px; /* Reduced from 100px */
    height: 80px; /* Reduced from 100px */
}
.lumiere-res-table-node.round-table::before {
    width: 16px; height: 16px; border-radius: 50%; /* Round chair reduced */
    top: -8px; left: 50%; transform: translateX(-50%);
}
.lumiere-res-table-node.round-table::after {
    width: 16px; height: 16px; border-radius: 50%; /* Round chair reduced */
    bottom: -8px; left: 50%; transform: translateX(-50%);
}


.lumiere-res-table-node.long-table {
    width: 140px; /* Wider for a long table, reduced from 180px */
    height: 60px; /* Shorter, reduced from 80px */
    border-radius: 10px; /* Slightly rounded rectangle */
}
.lumiere-res-table-node.long-table::before {
    width: 16px; height: 16px; /* Chair size reduced */
    top: 50%; transform: translateY(-50%); left: -12px; /* Left chair */
}
.lumiere-res-table-node.long-table::after {
    width: 16px; height: 16px; /* Chair size reduced */
    top: 50%; transform: translateY(-50%); right: -12px; /* Right chair */
}


.lumiere-res-table-node.small-booth {
    width: 60px; /* Reduced from 80px */
    height: 60px; /* Reduced from 80px */
    border-radius: 8px; /* Small square with rounded corners */
}
.lumiere-res-table-node.small-booth::before {
    width: 30px; height: 12px; /* Bench-like seating reduced */
    bottom: -8px; left: 50%; transform: translateX(-50%);
    border-radius: 5px 5px 0 0;
}
.lumiere-res-table-node.small-booth::after {
    width: 30px; height: 12px; /* Bench-like seating reduced */
    top: -8px; left: 50%; transform: translateX(-50%);
    border-radius: 0 0 5px 5px;
}


.lumiere-res-table-node .lumiere-res-node-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%); /* Consistent with package-card glow */
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    border-radius: inherit; /* Inherit border-radius from parent for correct glow shape */
}

.lumiere-res-table-node:hover .lumiere-res-node-glow,
.lumiere-res-table-node.lumiere-res-selected .lumiere-res-node-glow {
    opacity: 1; /* Full glow on hover/selected */
}

/* Status-based styling */
.lumiere-res-table-node.lumiere-res-available {
    border-color: var(--nexus-available);
    /* Changed box-shadow to filter */
    filter: drop-shadow(0 0 20px rgba(76, 175, 80, 0.6)); /* Green glow for available */
}
.lumiere-res-table-node.lumiere-res-available::before,
.lumiere-res-table-node.lumiere-res-available::after {
    background-color: rgba(255, 215, 0, 0.6); /* Gold chairs */
}


.lumiere-res-table-node.lumiere-res-reserved {
    border-color: var(--nexus-reserved);
    opacity: 0.6; /* Slightly faded when reserved */
    filter: none; /* No drop-shadow for reserved */
    cursor: not-allowed;
}
.lumiere-res-table-node.lumiere-res-reserved::before,
.lumiere-res-table-node.lumiere-res-reserved::after {
    background-color: rgba(211, 47, 47, 0.6); /* Red chairs for reserved */
}


.lumiere-res-table-node.lumiere-res-selected {
    border-color: #FFD700; /* Lighter gold for selected */
    /* Changed box-shadow to filter */
    filter: drop-shadow(0 0 35px #FFD700);
    /* UPDATED: Combine with translate(-50%, -50%) */
    transform: translate(-50%, -50%) scale(1.1) !important;
    /* Ensure selected table is on top */
    z-index: 10;
}

.lumiere-res-table-node:hover:not(.lumiere-res-reserved):not(.lumiere-res-selected) {
    /* UPDATED: Combine with translate(-50%, -50%) */
    transform: translate(-50%, -50%) translateY(-5px) scale(1.05); /* Consistent with other card hovers */
    /* Changed box-shadow to filter */
    filter: drop-shadow(0 8px 25px rgba(255, 215, 0, 0.3)); /* Consistent with other card hovers */
    border-color: #FFD700; /* Lighter gold on hover */
}

.lumiere-res-node-icon {
    position: relative; /* Ensure icon is above glow and chairs */
    z-index: 2;
}
.lumiere-res-node-icon svg {
    width: 28px; /* Reduced from 35px */
    height: 28px; /* Reduced from 35px */
    color: var(--nexus-glow-secondary);
    stroke-width: 1.5;
    margin-bottom: 3px; /* Reduced from 5px */
}

.lumiere-res-node-name {
    font-family: var(--font-heading);
    font-size: 0.9rem; /* Reduced from 1.1rem */
    margin: 0;
    color: var(--nexus-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2; /* Ensure name is above glow and chairs */
}

.lumiere-res-node-details-panel {
    position: absolute;
    /* Adjusted top to be relative to the center of the table, not its top edge */
    /* This helps with tables near the top/bottom edges */
    top: 50%; /* Center vertically relative to the table node */
    left: 50%;
    /* Initial transform to place it below the table, then move up on hover */
    transform: translateX(-50%) translateY(calc(100% + 15px)); /* Initial position below table + offset */
    width: 180px; /* Slightly smaller for better fit, reduced from 200px */
    min-height: 90px; /* Slightly smaller */
    background: rgba(0, 0, 0, 0.95); /* Darker overlay for details */
    border: 1px solid var(--nexus-glow-primary);
    border-radius: 10px; /* Match node border-radius */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none; /* Initially prevent interaction */
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100; /* CRITICAL: Ensure this is higher than any table node z-index */
    padding: 10px; /* Reduced padding */
    box-sizing: border-box;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8); /* Keep box-shadow here, as it's on the panel itself */
}

.lumiere-res-table-node:hover .lumiere-res-node-details-panel,
.lumiere-res-table-node.lumiere-res-selected .lumiere-res-node-details-panel {
    opacity: 1;
    /* Move up from its initial position (which is below the table) */
    transform: translateX(-50%) translateY(calc(-100% - 15px)); /* Move up above the table + offset */
    pointer-events: auto; /* Allow interaction when visible */
}

/* Fallback for tables too close to the top edge: show pop-up below */
.lumiere-res-table-node.lumiere-res-near-top:hover .lumiere-res-node-details-panel,
.lumiere-res-table-node.lumiere-res-near-top.lumiere-res-selected .lumiere-res-node-details-panel {
    transform: translateX(-50%) translateY(calc(100% + 15px)); /* Show below */
}


.lumiere-res-node-capacity,
.lumiere-res-node-price,
.lumiere-res-node-status,
.lumiere-res-node-times {
    font-family: var(--font-body);
    font-size: 0.8rem; /* Slightly reduced for smaller pop-up */
    color: var(--nexus-text-medium);
    margin: 2px 0;
    line-height: 1.3;
}

.lumiere-res-node-status {
    font-weight: bold;
    color: var(--nexus-glow-primary);
    margin-top: 5px;
}

.lumiere-res-node-status::before {
    content: '>> '; /* Command line prompt style */
    color: var(--nexus-glow-primary);
}

.lumiere-res-node-times {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px; /* Reduced gap */
    max-height: 50px; /* Reduced height */
    overflow-y: auto;
    scrollbar-width: thin;
    -ms-overflow-style: auto;
}

.lumiere-res-node-times::-webkit-scrollbar {
    width: 3px; /* Reduced scrollbar width */
}

.lumiere-res-node-times::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

.lumiere-res-node-times::-webkit-scrollbar-thumb {
    background: var(--nexus-glow-primary);
    border-radius: 2px;
}

.lumiere-res-node-times span {
    background: rgba(255, 215, 0, 0.1); /* Slightly less opaque background */
    padding: 2px 5px; /* Reduced padding */
    border-radius: 4px; /* Slightly less rounded */
    border: 1px solid rgba(255, 215, 0, 0.3); /* Slightly less strong border */
    color: var(--nexus-text-light);
    font-size: 0.75rem; /* Reduced font size */
    font-weight: 500; /* A bit bolder */
    text-shadow: 0 0 2px rgba(255, 215, 0, 0.1); /* Subtle text glow */
}

/* Occupancy Indicator */
.lumiere-res-node-occupancy-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px; /* Reduced gap */
    margin-top: 5px; /* Reduced margin */
    font-size: 1rem; /* Reduced icon size */
    color: var(--nexus-glow-secondary);
    min-height: 16px; /* Reduced min-height */
    position: relative;
    z-index: 2; /* Ensure it's above chairs */
}

.lumiere-res-node-occupancy-indicator svg {
    width: 14px; /* Reduced icon size */
    height: 14px; /* Reduced icon size */
    fill: currentColor; /* Use current text color for fill */
    stroke: none;
}

.lumiere-res-node-occupancy-indicator .occupied-person {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.lumiere-res-node-occupancy-indicator .empty-person {
    opacity: 0.3; /* Faded for empty slots */
    transition: opacity 0.3s ease;
}


/* Booking button on table nodes */
.lumiere-res-initiate-booking-button {
    /* Inherits styles from .hero-cta-button or .book-button */
    display: inline-block;
    background: linear-gradient(45deg, var(--gold-color), #FFD700);
    color: var(--black-background);
    padding: 8px 15px; /* Reduced padding */
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--primary-font);
    font-size: 0.8rem; /* Reduced font size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    margin-top: 8px; /* Reduced margin */
    position: relative;
    z-index: 1;
    border: none; /* Ensure no default button border */
    cursor: pointer;
}

.lumiere-res-initiate-booking-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
    background: linear-gradient(45deg, #FFD700, var(--gold-color));
}

.lumiere-res-layout-legend.lumiere-res-nexus-legend {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--nexus-text-medium);
    justify-content: center;
}

.lumiere-res-legend-indicator {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1px solid var(--nexus-border);
    box-shadow: 0 0 8px currentColor;
}

.lumiere-res-legend-indicator.lumiere-res-available {
    background: var(--nexus-available);
    color: var(--nexus-available);
}

.lumiere-res-legend-indicator.lumiere-res-reserved {
    background: var(--nexus-reserved);
    color: var(--nexus-reserved);
}

.lumiere-res-legend-indicator.lumiere-res-partially-available {
    background: var(--nexus-partially-available);
    color: var(--nexus-partially-available);
}

/* Admin Panel & Forms - Inherit package-card styles */
.lumiere-res-admin-panel-container {
    background-color: rgba(0, 0, 0, 0.7); /* Consistent with package-card */
    border: 1px solid var(--gold-color); /* Consistent with package-card */
    border-radius: 15px; /* Consistent rounded corners */
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5); /* Consistent with package-card */
    position: relative;
    overflow: hidden;
}

.lumiere-res-admin-panel-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.lumiere-res-admin-panel-container:hover::before {
    opacity: 1;
}

.lumiere-res-admin-panel-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7); /* Similar to menu-category-nav */
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.lumiere-res-tab-button {
    /* Inherits from .book-button */
    background: linear-gradient(45deg, var(--gold-color), #FFD700);
    color: var(--black-background);
    padding: 12px 20px;
    border-radius: 50px; /* More rounded like main buttons */
    cursor: pointer;
    font-family: var(--primary-font);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.lumiere-res-tab-button.lumiere-res-active,
.lumiere-res-tab-button:hover {
    background: linear-gradient(45deg, #FFD700, var(--gold-color));
    color: var(--black-background);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px);
}

.lumiere-res-tab-content {
    display: none;
    padding-top: 20px;
}

.lumiere-res-tab-content.lumiere-res-active {
    display: block;
}

.lumiere-res-nexus-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lumiere-res-form-field label {
    font-family: var(--font-body);
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--nexus-text-medium);
    text-transform: uppercase;
}

.lumiere-res-form-field input,
.lumiere-res-form-field select,
.lumiere-res-form-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--nexus-border);
    border-radius: 8px;
    background: rgba(20, 20, 40, 0.7);
    color: var(--nexus-text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    box-shadow: inset 0 0 5px rgba(255, 215, 0, 0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box; /* Ensure padding is included in width calculation */
}

.lumiere-res-form-field input:focus,
.lumiere-res-form-field select:focus,
.lumiere-res-form-field textarea:focus {
    border-color: var(--nexus-glow-primary);
    box-shadow: 0 0 10px var(--nexus-glow-primary);
    outline: none;
}

.lumiere-res-form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.lumiere-res-submit-nexus-button {
    /* Inherits from .book-button */
    display: inline-block;
    background: linear-gradient(45deg, var(--gold-color), #FFD700);
    color: var(--black-background);
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--primary-font);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    margin-top: 15px;
    border: none;
}

.lumiere-res-submit-nexus-button:hover {
    background: linear-gradient(45deg, #FFD700, var(--gold-color));
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px);
}

.lumiere-res-submit-nexus-button.lumiere-res-toggle-polling-button {
    background: linear-gradient(45deg, var(--nexus-glow-secondary), #FFC000);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.lumiere-res-submit-nexus-button.lumiere-res-toggle-polling-button:hover {
    background: linear-gradient(45deg, #FFC000, var(--nexus-glow-secondary));
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

.lumiere-res-form-feedback {
    margin-top: 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: center;
}

.lumiere-res-form-feedback.lumiere-res-success {
    color: var(--nexus-success);
    text-shadow: 0 0 8px var(--nexus-success);
}

.lumiere-res-form-feedback.lumiere-res-error {
    color: var(--nexus-error);
    text-shadow: 0 0 8px var(--nexus-error);
}

.lumiere-res-booking-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.lumiere-res-booking-item {
    background: rgba(20, 20, 40, 0.7);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--nexus-border);
    box-shadow: inset 0 0 5px rgba(255, 215, 0, 0.1);
    font-family: var(--font-body);
}

.lumiere-res-booking-info {
    flex: 1;
    color: var(--nexus-text-light);
}

.lumiere-res-booking-info strong {
    color: var(--nexus-glow-secondary);
}

.lumiere-res-booking-actions {
    display: flex;
    gap: 10px;
}

.lumiere-res-booking-action-button {
    background: rgba(50, 50, 100, 0.5);
    color: var(--nexus-text-medium);
    border: 1px solid var(--nexus-border);
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lumiere-res-booking-action-button:hover {
    background: var(--nexus-glow-primary);
    color: var(--nexus-dark-bg);
    border-color: var(--nexus-glow-primary);
    box-shadow: 0 0 10px var(--nexus-glow-primary);
}

.lumiere-res-booking-action-button.lumiere-res-cancel {
    background: var(--nexus-error);
    border-color: var(--nexus-error);
    color: var(--nexus-dark-bg);
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.5);
}

.lumiere-res-booking-action-button.lumiere-res-cancel:hover {
    background: #A02522;
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.8);
}

.lumiere-res-nexus-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.lumiere-res-nexus-table th,
.lumiere-res-nexus-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--nexus-border);
    color: var(--nexus-text-light);
}

.lumiere-res-nexus-table th {
    background: rgba(30, 30, 60, 0.7);
    font-weight: bold;
    color: var(--nexus-glow-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lumiere-res-nexus-table td {
    background: rgba(20, 20, 40, 0.5);
}

.lumiere-res-pagination-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.lumiere-res-pagination-button {
    /* Inherits from .book-button */
    display: inline-block;
    background: linear-gradient(45deg, var(--gold-color), #FFD700);
    color: var(--black-background);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--primary-font);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.lumiere-res-pagination-button:disabled {
    background: rgba(50, 50, 100, 0.2);
    color: rgba(160, 160, 192, 0.5);
    cursor: not-allowed;
    box-shadow: none;
}

.lumiere-res-pagination-button:not(:disabled):hover {
    background: linear-gradient(45deg, #FFD700, var(--gold-color));
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px);
}

/* Confirmation Modal - Inherit package-card styles */
.lumiere-res-confirmation-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Darker overlay */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lumiere-res-confirmation-modal-content {
    background-color: rgba(0, 0, 0, 0.7); /* Consistent with package-card */
    border: 1px solid var(--gold-color); /* Consistent with package-card */
    border-radius: 15px; /* Consistent rounded corners */
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(255, 215, 0, 0.1); /* Deeper shadow with subtle inner glow */
    position: relative;
    overflow: hidden;
}

.lumiere-res-confirmation-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.lumiere-res-confirmation-modal-content:hover::before {
    opacity: 1;
}

.lumiere-res-confirmation-modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--nexus-glow-primary);
    text-shadow: 0 0 10px var(--nexus-glow-primary);
}

.lumiere-res-confirmation-modal-content p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--nexus-text-light);
    margin-bottom: 30px;
}

.lumiere-res-modal-button {
    /* Inherits from .book-button */
    display: inline-block;
    background: linear-gradient(45deg, var(--gold-color), #FFD700);
    color: var(--black-background);
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--primary-font);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 10px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    border: none;
}

.lumiere-res-modal-button.lumiere-res-cancel {
    background: var(--nexus-error);
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.5);
}

.lumiere-res-modal-button:hover {
    background: linear-gradient(45deg, #FFD700, var(--gold-color));
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px);
}

.lumiere-res-modal-button.lumiere-res-cancel:hover {
    background: #A02522;
    box-shadow: 0 0 25px rgba(211, 47, 47, 0.8);
}

.lumiere-res-toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.85); /* Darker background */
    color: var(--nexus-text-light);
    padding: 18px 25px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    z-index: 1000;
    border: 1px solid var(--nexus-glow-primary);
    font-family: var(--font-body);
    font-size: 1.1rem;
}

.lumiere-res-toast-notification.lumiere-res-error {
    background: rgba(30, 10, 20, 0.8);
    border-color: var(--nexus-error);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.4);
}

/* Public View Notice - Inherit package-card styles */
.lumiere-res-public-reservation-notice {
    background-color: rgba(0, 0, 0, 0.7); /* Consistent with package-card */
    border: 1px solid var(--gold-color); /* Consistent with package-card */
    border-radius: 15px; /* Consistent rounded corners */
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5); /* Consistent with package-card */
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lumiere-res-public-reservation-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.lumiere-res-public-reservation-notice:hover::before {
    opacity: 1;
}

.lumiere-res-notice-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #FFD700;
    margin-bottom: 25px;
    text-align: center;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
}

.lumiere-res-public-reservation-notice p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--nexus-text-light);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .lumiere-res-nexus-interface-wrapper {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .lumiere-res-nexus-filters-panel,
    .lumiere-res-nexus-map-area,
    .lumiere-res-nexus-details-panel {
        border: none;
        border-bottom: 1px solid var(--nexus-border);
        padding: 15px 0;
        min-width: unset;
        width: 100%;
    }

    .lumiere-res-nexus-filters-panel {
        order: 1;
    }

    .lumiere-res-nexus-map-area {
        order: 2;
    }

    .lumiere-res-nexus-details-panel {
        order: 3;
        border-bottom: none;
    }

    /* Adjust pop-up width for smaller screens */
    .lumiere-res-node-details-panel {
        width: 160px; /* Even smaller for consistency */
        padding: 8px; /* Reduced padding */
    }

    /* Adjust font sizes within pop-up for smaller screens */
    .lumiere-res-node-capacity,
    .lumiere-res-node-price,
    .lumiere-res-node-status,
    .lumiere-res-node-times {
        font-size: 0.7rem;
    }
    .lumiere-res-node-times span {
        font-size: 0.65rem;
        padding: 1px 2px;
    }
    .lumiere-res-initiate-booking-button {
        font-size: 0.7rem;
        padding: 6px 10px;
    }
}

@media (max-width: 768px) {
    .lumiere-res-hero {
        padding: 80px 0;
    }

    /* Hero titles and subtitles will inherit from global responsive styles */

    .lumiere-res-section-black {
        padding: 40px 0;
    }

    .lumiere-res-nexus-interface-wrapper {
        padding: 15px;
    }

    .lumiere-res-panel-title, .lumiere-res-map-title, .lumiere-res-form-title, .lumiere-res-notice-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .lumiere-res-map-instructions {
        font-size: 1rem;
    }

    .lumiere-res-restaurant-map-container {
        height: 400px; /* Shorter map on mobile */
    }

    /* Further reduce table sizes for very small screens */
    .lumiere-res-table-node {
        width: 60px; /* Reduced from 80px */
        height: 60px; /* Reduced from 80px */
        padding: 3px; /* Reduced padding */
        border-radius: 8px;
    }

    .lumiere-res-table-node.center,
    .lumiere-res-table-node.vip,
    .lumiere-res-table-node.window {
        width: 60px;
        height: 60px;
    }
    .lumiere-res-table-node.center::before,
    .lumiere-res-table-node.vip::before,
    .lumiere-res-table-node.window::before {
        width: 12px; height: 12px;
        top: -10px;
    }
    .lumiere-res-table-node.center::after,
    .lumiere-res-table-node.vip::after,
    .lumiere-res-table-node.window::after {
        width: 12px; height: 12px;
        bottom: -10px;
    }

    .lumiere-res-table-node.round-table {
        width: 60px;
        height: 60px;
    }
    .lumiere-res-table-node.round-table::before {
        width: 12px; height: 12px;
        top: -8px;
    }
    .lumiere-res-table-node.round-table::after {
        width: 12px; height: 12px;
        bottom: -8px;
    }

    .lumiere-res-table-node.long-table {
        width: 100px; /* Reduced from 140px */
        height: 50px; /* Reduced from 60px */
    }
    .lumiere-res-table-node.long-table::before {
        width: 12px; height: 12px;
        left: -10px;
    }
    .lumiere-res-table-node.long-table::after {
        width: 12px; height: 12px;
        right: -10px;
    }

    .lumiere-res-table-node.small-booth {
        width: 50px;
        height: 50px;
    }
    .lumiere-res-table-node.small-booth::before {
        width: 25px; height: 10px;
        bottom: -6px;
    }
    .lumiere-res-table-node.small-booth::after {
        width: 25px; height: 10px;
        top: -6px;
    }

    .lumiere-res-node-icon svg {
        width: 20px;
        height: 20px;
        margin-bottom: 2px;
    }

    .lumiere-res-node-name {
        font-size: 0.8rem;
    }

    .lumiere-res-node-details-panel {
        width: 140px; /* Even smaller */
        padding: 6px; /* Further reduced padding */
    }

    .lumiere-res-node-capacity, .lumiere-res-node-price, .lumiere-res-node-status, .lumiere-res-node-times {
        font-size: 0.65rem;
    }

    .lumiere-res-node-times span {
        padding: 1px 2px;
        font-size: 0.6rem;
    }

    .lumiere-res-initiate-booking-button {
        padding: 5px 8px;
        font-size: 0.7rem;
    }

    .lumiere-res-layout-legend.lumiere-res-nexus-legend {
        flex-direction: column;
        gap: 10px;
        font-size: 0.9rem;
    }

    .lumiere-res-submit-nexus-button {
        padding: 10px 15px;
        font-size: 1rem;
    }

    .lumiere-res-booking-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .lumiere-res-booking-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .lumiere-res-booking-action-button {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .lumiere-res-nexus-table th, .lumiere-res-nexus-table td {
        padding: 8px;
        font-size: 0.85rem;
    }

    .lumiere-res-confirmation-modal-content {
        padding: 20px;
    }

    .lumiere-res-confirmation-modal-content h3 {
        font-size: 1.5rem;
    }

    .lumiere-res-confirmation-modal-content p {
        font-size: 1rem;
    }

    .lumiere-res-modal-button {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .lumiere-res-toast-notification {
        bottom: 15px;
        right: 15px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }
}

#lumiere-res-admin-panel-container:hover {
    transform: none !important;
}
