/* Game Day Booking Form Styling */

.gamesday-booking-form-wrapper {
    max-width: 1000px; /* Slightly wider for better service grid */
    margin: 10px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.gamesday-booking-form-container {
    padding: 40px; 
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Step Indicator */
.gamesday-step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px; /* Reduced margin */
    position: relative;
}

.gamesday-step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.gamesday-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.gamesday-step .step-number {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.gamesday-step.active .step-number {
    background: #0073aa;
    color: white;
    box-shadow: 0 0 0 4px rgba(0, 115, 170, 0.1);
}

.gamesday-step.completed .step-number {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: white !important;
}

.gamesday-step.completed .step-label {
    color: #10b981 !important;
}

.gamesday-step .step-label {
    font-size: 12px;
    color: #666;
    text-align: center;
    max-width: 60px;
}

.gamesday-step.active .step-label {
    color: #0073aa;
    font-weight: bold;
}

/* Form Steps */
.gamesday-form-steps {
    position: relative;
    padding: 0;
    margin: 0;
    max-height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    height: auto !important;
}

/* Custom Scrollbar for Webkit */
/* Removed scrollbar styling as scroller is disabled */

.gamesday-form-step {
    display: none;
    width: 100%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.gamesday-form-step.active {
    display: block;
    animation: bookPageIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.gamesday-form-step.exiting {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    animation: bookPageOut 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes bookPageIn {
    0% {
        opacity: 0;
        transform: rotateY(90deg);
    }
    100% {
        opacity: 1;
        transform: rotateY(0deg);
    }
}

@keyframes bookPageOut {
    0% {
        opacity: 1;
        transform: rotateY(0deg);
    }
    100% {
        opacity: 0;
        transform: rotateY(-90deg);
    }
}

.gamesday-form-step h2 {
    font-size: 1.5rem !important;
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Step 1: Services Grid */
.gamesday-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 30px;
}

.gamesday-service-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gamesday-service-card:hover {
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.15);
    transform: translateY(-2px);
}

.gamesday-service-card .service-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.gamesday-service-card .service-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    min-height: 40px;
}

.gamesday-service-card .service-meta {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    font-size: 12px;
}

.gamesday-service-card .service-duration,
.gamesday-service-card .service-price {
    background: #f5f5f5;
    padding: 6px 12px;
    border-radius: 4px;
    color: #666;
}

.gamesday-service-card .service-price {
    font-weight: bold;
    color: #0073aa;
    background: rgba(0, 115, 170, 0.1);
}

/* Step 2: Date & Time */
.gamesday-slots-picker {
    margin-top: 20px;
}

.gamesday-slots-picker label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

.gamesday-date-picker {
    display: none; /* Hide since calendar is inline */
}

/* Staff Multi-select / Dropdown Styling */
.gamesday-staff-selector {
    margin-bottom: 30px;
    background: #fdfdfd;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #efefef;
}

.gamesday-staff-selector label {
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 12px !important;
    display: block;
}

.gamesday-staff-picker {
    width: 100%;
    padding: 10px 15px !important; /* Slightly more compact */
    border: 2px solid #e0e0e0 !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a11b34' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 18px !important;
    appearance: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    color: #333 !important;
    font-weight: 500 !important;
}

.gamesday-staff-picker:focus {
    border-color: #a11b34 !important;
    box-shadow: 0 0 0 4px rgba(161, 27, 52, 0.1) !important;
    outline: none;
}

/* Flatpickr Custom Styling - Full Width Circular Design */
.gamesday-form-step#step-2 {
    max-width: 100%;
}

.flatpickr-calendar.inline {
    width: 100% !important;
    max-width: 100% !important; /* Force Full Width */
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 20px 0 !important;
}

.flatpickr-innerContainer {
    width: 100% !important;
    display: block !important;
}

.flatpickr-rContainer {
    width: 100% !important;
    max-width: 100% !important;
}

.flatpickr-days {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.dayContainer {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important; /* Force 7 columns grid */
}

.flatpickr-months {
    margin-bottom: 30px;
    display: flex !important;
    justify-content: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.flatpickr-month {
    color: #1a1a1a !important;
    fill: #1a1a1a !important;
}

.flatpickr-current-month {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    position: static !important;
    width: auto !important;
    padding: 0 20px !important;
}

.flatpickr-weekday {
    font-weight: 800 !important;
    color: #1a1a1a !important;
    font-size: 1rem !important;
}

.flatpickr-day {
    border-radius: 50% !important; 
    height: unset !important;
    aspect-ratio: 1 / 1; 
    width: 85% !important; 
    max-width: 45px !important; /* More compact */
    line-height: normal !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 5px auto !important; /* Reduced margin */
    border: 2px solid #f0f0f0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #333 !important;
}

.flatpickr-day.today {
    border-color: #0073aa !important;
    color: #0073aa !important;
    background: #f0f7ff !important;
}

.flatpickr-day.selected, 
.flatpickr-day.selected:hover {
    background: #a11b34 !important; /* Maroon theme from image */
    border-color: #a11b34 !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(161, 27, 52, 0.4) !important;
    transform: scale(1.1);
}

.flatpickr-day:hover:not(.selected) {
    background: #fdf2f4 !important;
    border-color: #a11b34 !important;
    color: #a11b34 !important;
    transform: translateY(-3px);
}

.flatpickr-day:active {
    transform: scale(0.8) !important;
}

.flatpickr-day.nextMonthDay,
.flatpickr-day.prevMonthDay {
    opacity: 0.1;
    border-color: transparent !important;
}

.flatpickr-day.disabled, 
.flatpickr-day.flatpickr-disabled {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.flatpickr-calendar.date-selected {
    /* Optional: style for when a date is selected */
}

.gamesday-time-slots-container,
#gamesday-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

.gamesday-time-slots-container:empty {
    opacity: 0;
    max-height: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.time-slot {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
}

.time-slot:hover:not(:disabled) {
    border-color: #0073aa;
    background: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.1);
}

.time-slot:active {
    transform: scale(0.95);
}

.time-slot.available {
    cursor: pointer;
    color: #333;
}

.time-slot.booked,
.time-slot:disabled {
    background: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot.selected {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
    box-shadow: 0 6px 15px rgba(0, 115, 170, 0.3);
    animation: slotSelect 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slotSelect {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Step 3: Checkout View */
.gamesday-checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .gamesday-checkout-wrapper {
        grid-template-columns: 1fr;
    }
}

.gamesday-invoice {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.gamesday-invoice h3 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #ddd;
    color: #333;
}

.gamesday-invoice-content,
.gamesday-invoice-display {
    margin-bottom: 20px;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.invoice-item:last-child {
    border-bottom: none;
}

.invoice-item.price {
    font-size: 16px;
    font-weight: bold;
    color: #0073aa;
    padding: 15px 0 10px 0;
    border-top: 2px solid #ddd;
}

#edit-selection {
    width: 100%;
    margin-top: 15px;
}

.gamesday-client-form {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.gamesday-client-form h3 {
    margin-top: 0;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #333;
}

.form-group label .required {
    color: #dc3545;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.error-field {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
    animation: shake 0.4s ease-in-out;
}

.error-field-group {
    background-color: #fef2f2 !important;
    padding: 10px !important;
    border-radius: 8px !important;
    border: 1px solid #ef4444 !important;
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.pulse-highlight {
    animation: pulse-border 1s infinite alternate;
}

@keyframes pulse-border {
    from { box-shadow: 0 0 0 0px rgba(0, 115, 170, 0.4); }
    to { box-shadow: 0 0 0 10px rgba(0, 115, 170, 0.2); }
}

/* Success Page Animation */
.gamesday-success-page .success-icon {
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Form Navigation */
.gamesday-form-navigation {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.prev-step,
.next-step {
    cursor: pointer;
}

.prev-step:disabled,
.next-step:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Buttons */
.button {
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.button:hover {
    background: #f5f5f5;
    border-color: #aaa;
}

.undo-step {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
    margin-right: auto; /* Push next/prev buttons to the right */
    display: flex;
    align-items: center;
    gap: 5px;
}

.undo-step:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #333;
}

.button.button-primary {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.button.button-primary:hover {
    background: #005a87;
    border-color: #005a87;
}

.button.button-large {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
}

.select-service {
    width: 100%;
    padding: 12px;
    margin-top: auto; /* Push to bottom of card */
}

/* Add-on Services Restrictions */
.gamesday-service-card.is-addon-card {
    cursor: default !important;
    border-style: dashed;
    background-color: #fcfcfc;
    transition: none !important;
    pointer-events: none; /* Strictly prevent interaction */
}

.gamesday-service-card.is-addon-card:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: #e0e0e0 !important;
}

.gamesday-addon-notice {
    margin-top: auto;
    padding: 12px;
    background: #f0f0f0;
    border-radius: 6px;
    color: #666;
    font-size: 13px;
    font-style: italic;
    border: 1px solid #ddd;
}

/* ── Explore Add-ons Trigger Bar ─────────────────────────────────── */
.gamesday-addons-trigger-section {
    margin-top: 30px;
}

.addons-trigger-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 20px 25px;
    border-radius: 14px;
    flex-wrap: wrap;
}

.addons-trigger-text {
    display: flex;
    align-items: center;
    gap: 14px;
    color: white;
}

.addons-trigger-icon {
    font-size: 2rem;
    line-height: 1;
}

.addons-trigger-text strong {
    display: block;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 3px;
}

.addons-trigger-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ── Explore Add-ons Button ──────────────────────────────────────── */
.explore-addons-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #a11b34;
    color: #fff !important;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.explore-addons-btn:hover {
    background: #8b1729;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(161, 27, 52, 0.4);
}

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

/* Count badge on button */
.addon-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #a11b34;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-left: 4px;
}

/* ── Add-ons Modal Overlay ───────────────────────────────────────── */
.gamesday-addons-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.gamesday-addons-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ── Add-ons Modal Box ───────────────────────────────────────────── */
.gamesday-addons-modal-box {
    background: #fff;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.gamesday-addons-overlay.open .gamesday-addons-modal-box {
    transform: translateY(0) scale(1);
}

.close-modal-x {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    z-index: 1;
    transition: color 0.2s ease;
}

.close-modal-x:hover {
    color: #1e293b;
}

.addons-modal-title {
    margin: 0 0 6px 0;
    font-size: 1.4rem;
    color: #0f172a;
    padding: 30px 30px 0;
}

.addons-modal-subtitle {
    margin: 0 0 15px 0;
    color: #64748b;
    font-size: 0.9rem;
    padding: 0 30px;
}

/* ── Add-ons Grid (inside modal) ─────────────────────────────────── */
#gamesday-addons-list-container.gamesday-addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 16px;
    overflow-y: auto;
    padding: 10px 30px 20px;
    flex: 1;
}

#gamesday-addons-list-container.gamesday-addons-grid::-webkit-scrollbar {
    width: 6px;
}
#gamesday-addons-list-container.gamesday-addons-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
}
#gamesday-addons-list-container.gamesday-addons-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}

/* ── Addon Cards (in modal) ─────────────────────────────────────── */
.gamesday-addon-card {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    background: #fafafa;
}

.gamesday-addon-card:hover {
    border-color: #a11b34;
    box-shadow: 0 4px 14px rgba(161, 27, 52, 0.12);
    transform: translateY(-2px);
    background: #fff;
}

.gamesday-addon-card.selected {
    border-color: #a11b34;
    background: #fff5f7;
    box-shadow: 0 0 0 3px rgba(161, 27, 52, 0.15);
}

.addon-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1e293b;
}

.addon-description {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}

.addon-price {
    font-weight: 800;
    color: #a11b34;
    font-size: 1.1rem;
    margin-top: auto;
}

.select-addon-btn {
    margin-top: 8px;
    width: 100%;
    padding: 9px;
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-addon-btn:hover {
    background: #e2e8f0;
}

.select-addon-btn.added {
    background: #a11b34;
    border-color: #a11b34;
    color: #fff;
}

/* ── Modal Footer ───────────────────────────────────────────────── */
.addons-modal-footer {
    padding: 18px 30px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    background: #f8fafc;
}

/* ── Spinner ────────────────────────────────────────────────────── */
.gamesday-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #a11b34;
    border-radius: 50%;
    animation: gd-spin 0.7s linear infinite;
    display: inline-block;
}

@keyframes gd-spin {
    to { transform: rotate(360deg); }
}

/* Keep old .gamesday-loading working elsewhere */
.gamesday-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 115, 170, 0.3);
    border-radius: 50%;
    border-top-color: #0073aa;
    animation: gd-spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Messages */
.gamesday-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.gamesday-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.gamesday-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.gamesday-message.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Responsive */
@media (max-width: 600px) {
    .gamesday-booking-form-container {
        padding: 20px;
    }

    .gamesday-step-indicator {
        margin-bottom: 20px;
    }

    .gamesday-services-grid {
        grid-template-columns: 1fr;
    }

    .gamesday-form-navigation {
        flex-direction: row; /* Keep buttons side by side if possible */
    }

    .button {
        padding: 10px 15px;
    }
}

@media (max-width: 485px) {
    .gamesday-booking-form-wrapper {
        margin: 0;
        width: 100%;
        height: auto; 
        max-height: none;
        border-radius: 0;
    }
.gamesday-form-steps {
    perspective: 2000px;
    position: relative;
    /*height: auto!important;*/
    max-height: auto !important;
    /*min-height: auto!important;*/
    overflow-y: visible !important;
    overflow-x: visible !important;
}

    .gamesday-booking-form-container {
        padding: 15px;
    }

    .gamesday-step .step-label {
        display: none; 
    }

    .gamesday-step .step-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        line-height: 32px;
    }

    .gamesday-step-indicator {
        margin-bottom: 15px;
    }

    .gamesday-form-navigation {
        padding-top: 10px;
        margin-top: 15px;
    }

    .button {
        font-size: 13px;
        padding: 10px 15px;
    }

    .service-name {
        font-size: 1rem;
    }

    .flatpickr-current-month {
        font-size: 1.2rem !important;
    }

    .flatpickr-weekday {
        font-size: 0.9rem !important;
    }

    .flatpickr-day {
        font-size: 1rem !important;
        max-width: 40px !important;
    }

    .gamesday-form-step h2 {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
    }
}
/* ==========================================================================
   PREMIUM MODAL SYSTEM
   ========================================================================== */

.gamesday-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gamesday-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Add-ons modal uses .open class to avoid conflicts with alert modals */
#gamesday-addons-modal-overlay {
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#gamesday-addons-modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#gamesday-addons-modal-overlay.open .gamesday-modal-card {
    transform: scale(1) translateY(0);
}

.gamesday-modal-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.gamesday-modal-overlay.active .gamesday-modal-card {
    transform: scale(1) translateY(0);
}

.gamesday-modal-card.error { border-top: 6px solid #ef4444; }
.gamesday-modal-card.success { border-top: 6px solid #10b981; }

.gamesday-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
}

.gamesday-modal-card.error .gamesday-modal-icon {
    background: #fee2e2;
    color: #ef4444;
    animation: modalPulse 2s infinite;
}

.gamesday-modal-card.success .gamesday-modal-icon {
    background: #d1fae5;
    color: #10b981;
}

@keyframes modalPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.gamesday-modal-card h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.025em;
}

.gamesday-modal-card p {
    font-size: 1.05rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 32px 0 !important;
}

.gamesday-modal-button {
    background: #1e293b;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.gamesday-modal-button:hover {
    background: #0f172a;
    transform: translateY(-2px);
}

/* Add-ons Grid and Cards */
.gamesday-addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-height: 50vh;
    overflow-y: auto;
    padding: 10px;
    margin: 20px 0;
    text-align: left;
}

.gamesday-addon-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gamesday-addon-card:hover {
    border-color: #a11b34;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.gamesday-addon-card.selected {
    border-color: #a11b34;
    background: #fffafa;
    box-shadow: 0 0 0 2px #a11b34;
}

.addon-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.addon-description {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 15px;
}

.addon-price {
    font-weight: 800;
    color: #a11b34;
    font-size: 1.25rem;
    margin-top: auto;
    margin-bottom: 15px;
}

.select-addon-btn {
    width: 100%;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gamesday-addon-card.selected .select-addon-btn {
    background: #a11b34;
    border-color: #a11b34;
    color: white;
}

/* Custom Scrollbar for Modal Grid */
.gamesday-addons-grid::-webkit-scrollbar {
    width: 6px;
}

.gamesday-addons-grid::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.gamesday-addons-grid::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.gamesday-addons-grid::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
