/**
 * Presento Reserve - Frontend Styles
 * Reliqie Dark Gothic Theme
 */

/* CSS Variables - scoped, not in :root to avoid affecting entire site */
.presento-reserve-booking,
.presento-booking-calendar,
.presento-time-slots,
.presento-booking-form {
    --reliqie-gold: #c00d0e;
    --reliqie-dark: #1a1a1a;
    --reliqie-darker: #0f0f0f;
    --reliqie-gray: #2a2a2a;
    --reliqie-light: #e8e8e8;
    --reliqie-red: #8b0000;
}

/* ============================================
   DARK GOTHIC MAIN CONTAINER
   ============================================ */

.presento-reserve-booking {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 20px;
    background: var(--reliqie-darker);
}

/* ============================================
   DARK GOTHIC GAME HEADER
   ============================================ */

.presento-game-header {
    margin-bottom: 40px;
    text-align: center;
}

.presento-game-image {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(185, 151, 91, 0.3);
    border: 2px solid var(--reliqie-RED);
}

.presento-game-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.presento-game-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--reliqie-RED);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.presento-game-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--reliqie-light);
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.presento-game-meta {
    display: flex;
    justify-content: center;
    gap: 32px;
    font-size: 15px;
    color: var(--reliqie-light);
    flex-wrap: wrap;
}

.presento-game-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--reliqie-gray);
    border: 1px solid var(--reliqie-RED);
    border-radius: 20px;
    font-weight: 500;
    color: var(--reliqie-RED);
}

/* ============================================
   MINIMALIST PROFESSIONAL CALENDAR DESIGN
   ============================================ */

.presento-booking-calendar {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.presento-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.presento-calendar-month {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.presento-calendar-nav {
    display: flex;
    gap: 8px;
}

.presento-calendar-prev,
.presento-calendar-next {
    background: #ffffff;
    color: #666;
    border: 1px solid #e0e0e0;
    padding: 0;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.presento-calendar-prev:hover,
.presento-calendar-next:hover {
    background: #f8f8f8;
    border-color: #d0d0d0;
    color: #333;
}

.presento-calendar-prev:active,
.presento-calendar-next:active {
    transform: scale(0.95);
}

/* Calendar grid */
.presento-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-auto-rows: auto;
    gap: 4px;
}

.presento-calendar-day {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 15px;
    position: relative;
    background: #fafafa;
    color: #1a1a1a;
    border: 1px solid transparent;
}

/* Week day headers */
.presento-calendar-day.header {
    font-weight: 600;
    background: transparent;
    color: #1a1a1a;
    cursor: default;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    margin-bottom: 4px;
}

/* Weekend headers styling - removed to keep all days same color */

/* Empty days */
.presento-calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
    opacity: 0.3;
}

/* Available days */
.presento-calendar-day.available {
    background: #f8fafc;
    color: #1a1a1a;
    border-color: #3b82f6;
    border-width: 2px;
    font-weight: 600;
}

.presento-calendar-day.available:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Weekend days - removed to keep all days same color */

/* Selected day */
.presento-calendar-day.selected {
    background: #3b82f6;
    color: #ffffff;
    font-weight: 600;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    position: relative;
}

.presento-calendar-day.selected::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
}

/* Today indicator */
.presento-calendar-day.today {
    position: relative;
}

.presento-calendar-day.today::before {
    content: '';
    position: absolute;
    top: 4px;
    right: 4px;
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
}

.presento-calendar-day.today.selected::before {
    background: #ffffff;
}

/* Disabled/past days */
.presento-calendar-day.disabled {
    background: #fafafa;
    color: #d0d0d0;
    cursor: not-allowed;
    border-color: transparent;
}

/* Fully booked indicator */
.presento-calendar-day.fully-booked {
    background: #fff5f5;
    color: #ef4444;
    border-color: #fecaca;
    position: relative;
}

.presento-calendar-day.fully-booked::after {
    content: '●';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: #ef4444;
}

/* Limited availability indicator */
.presento-calendar-day.limited-availability {
    background: #fffbeb;
    color: #f59e0b;
    border-color: #fef3c7;
}

.presento-calendar-day.limited-availability::after {
    content: '●';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: #f59e0b;
}

/* Calendar legend */
.presento-calendar-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
}

.presento-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.presento-legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid #e0e0e0;
}

.presento-legend-dot.available {
    background: #ffffff;
    border-color: #e8e8e8;
}

.presento-legend-dot.selected {
    background: #3b82f6;
    border-color: #3b82f6;
}

.presento-legend-dot.limited {
    background: #fffbeb;
    border-color: #fef3c7;
}

.presento-legend-dot.fully-booked {
    background: #fff5f5;
    border-color: #fecaca;
}

/* Smooth animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.presento-calendar-grid {
    animation: fadeIn 0.3s ease-out;
}

/* ============================================
   MINIMALIST TIME SLOTS DESIGN
   ============================================ */

.presento-time-slots {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.presento-time-slots h3 {
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.presento-time-slots-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.presento-time-slot {
    padding: 16px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.presento-time-slot:hover {
    background: #f0f7ff;
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.presento-time-slot.selected {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.presento-time-slot.disabled {
    background: #f5f5f5;
    border-color: #e8e8e8;
    color: #d0d0d0;
    cursor: not-allowed;
}

.presento-time-slot.disabled:hover {
    transform: none;
    box-shadow: none;
    background: #f5f5f5;
    border-color: #e8e8e8;
}

/* Booked slot (fully occupied) */
.presento-time-slot-booked {
    background: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #dc2626 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

.presento-time-slot-booked:hover {
    transform: none !important;
    box-shadow: none !important;
    background: #fef2f2 !important;
    border-color: #fecaca !important;
}

.presento-time-slot-booked .presento-time-slot-time {
    color: #dc2626;
}

.presento-time-slot-booked .presento-time-slot-info {
    color: #dc2626;
    opacity: 0.8;
    font-weight: 500;
}

.presento-time-slot-time {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: inherit;
}

.presento-time-slot-info {
    font-size: 13px;
    opacity: 0.7;
    color: inherit;
}

.presento-time-slot.selected .presento-time-slot-info {
    opacity: 0.9;
}

/* Availability badge */
.presento-time-slot-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
}

.presento-time-slot.limited .presento-time-slot-badge {
    background: #f59e0b;
}

.presento-time-slot.disabled .presento-time-slot-badge {
    background: #d0d0d0;
}

/* ============================================
   MINIMALIST BOOKING FORM DESIGN
   ============================================ */

.presento-booking-form {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.presento-booking-form h3 {
    margin-top: 0;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #1a1a1a;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.presento-form-group {
    margin-bottom: 20px;
}

.presento-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 14px;
}

.presento-form-group input,
.presento-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    background: #ffffff;
    color: #1a1a1a;
    transition: all 0.2s ease;
    font-family: inherit;
}

.presento-form-group input:focus,
.presento-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: #f0f7ff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.presento-form-group input::placeholder,
.presento-form-group textarea::placeholder {
    color: #999;
}

/* Form Validation States */
.presento-form-group.has-error input,
.presento-form-group.has-error textarea {
    border-color: #ef4444;
    background: #fff5f5;
}

.presento-form-group.has-success input,
.presento-form-group.has-success textarea {
    border-color: #10b981;
    background: #f0fdf4;
}

.presento-form-error {
    display: none;
    color: #ef4444;
    font-size: 13px;
    margin-top: 6px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.presento-form-group.has-error .presento-form-error {
    display: flex;
}

.presento-form-error::before {
    content: '⚠';
    flex-shrink: 0;
}

/* Required Field Indicator */
.presento-form-group label.required::after {
    content: " *";
    color: #ef4444;
    font-weight: 600;
}

/* ============================================
   MINIMALIST BUTTONS DESIGN
   ============================================ */

.presento-add-to-cart,
.presento-book-now {
    background: #3b82f6;
    color: #ffffff;
    padding: 14px 28px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.presento-add-to-cart:hover,
.presento-book-now:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.presento-add-to-cart:active,
.presento-book-now:active {
    transform: translateY(0);
}

.presento-add-to-cart:disabled,
.presento-book-now:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}

/* Loading Indicator */
.presento-form-loading {
    display: none;
    text-align: center;
    padding: 24px;
}

.presento-form-loading.active {
    display: block;
}

.presento-spinner {
    border: 3px solid #e8e8e8;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Message */
.presento-form-success {
    display: none;
    background: #f0fdf4;
    color: #166534;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #86efac;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    margin-top: 20px;
}

.presento-form-success.active {
    display: block;
    animation: slideInDown 0.4s ease-out;
}

.presento-form-success::before {
    content: '✓ ';
    font-weight: bold;
    color: #10b981;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MINIMALIST ALL GAMES VIEW
   ============================================ */

.presento-reserve-booking-all {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 20px;
}

.presento-games-slots {
    margin-top: 40px;
}

.presento-selected-date-title {
    text-align: center;
    margin-bottom: 32px;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.presento-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.presento-game-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.presento-game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.presento-game-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.presento-game-card-content {
    padding: 24px;
}

.presento-game-card-content h4 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.presento-game-card-content p {
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 14px;
}

.presento-game-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: #666;
    gap: 12px;
}

.presento-game-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.presento-game-card-times {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.presento-game-card-time-btn {
    padding: 12px 16px;
    background: #ffffff;
    color: #3b82f6;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 14px;
}

.presento-game-card-time-btn:hover {
    background: #3b82f6;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.presento-game-card-time-btn:active {
    transform: translateY(0);
}

/* ============================================
   LOADING & ERROR STATES
   ============================================ */

.presento-loading {
    text-align: center;
    padding: 48px 24px;
    font-size: 16px;
    color: #666;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin: 24px 0;
}

.presento-loading::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #e8e8e8;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
    vertical-align: middle;
}

.presento-error {
    background: #fff5f5;
    color: #dc2626;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #fecaca;
    font-weight: 500;
    font-size: 14px;
}

.presento-error::before {
    content: '⚠ ';
    font-weight: bold;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .presento-calendar-grid {
        gap: 3px;
    }
    
    .presento-calendar-day {
        font-size: 14px;
    }
    
    .presento-time-slots-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .presento-games-grid {
        grid-template-columns: 1fr;
    }
    
    .presento-game-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {
    .presento-reserve-booking,
    .presento-reserve-booking-all {
        padding: 10px;
    }
    
    .presento-game-title {
        font-size: 24px;
    }
    
    .presento-time-slots-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RELIQIE DARK GOTHIC THEME OVERRIDES
   ============================================ */

/* Dark background */
.presento-reserve-booking {
    background: #0f0f0f !important;
}

/* Calendar dark style */
.presento-booking-calendar {
    background: #1a1a1a !important;
    border: 2px solid #c00d0e !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

/* Calendar header */
.presento-calendar-header {
    border-bottom: 2px solid #c00d0e !important;
}

.presento-calendar-month {
    color: #c00d0e !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Calendar nav buttons */
.presento-calendar-nav {
    background: #2a2a2a !important;
    color: #c00d0e !important;
    border: 1px solid #c00d0e !important;
}

.presento-calendar-nav:hover {
    background: #c00d0e !important;
    color: #1a1a1a !important;
}

/* Day headers */
.presento-calendar-day.header {
    color: #c00d0e !important;
    font-weight: 700 !important;
}

/* Empty days - more faded */
.presento-calendar-day.empty {
    opacity: 0.15 !important;
}

/* Regular days */
.presento-calendar-day {
    background: #2a2a2a !important;
    color: #666 !important;
}

/* Available days - RED border */
.presento-calendar-day.available {
    background: #2a2a2a !important;
    color: #c00d0e !important;
    border-color: #c00d0e !important;
    border-width: 2px !important;
    font-weight: 700 !important;
}

.presento-calendar-day.available:hover {
    background: #c00d0e !important;
    color: #1a1a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 151, 91, 0.4) !important;
}

/* Weekend available days - RED border */
.presento-calendar-day.available.weekend {
    background: #2a1515 !important;
    border-color: #8b0000 !important;
}

.presento-calendar-day.available.weekend:hover {
    background: #8b0000 !important;
    color: #fff !important;
}

/* Selected day */
.presento-calendar-day.selected {
    background: #c00d0e !important;
    color: #1a1a1a !important;
    border-color: #c00d0e !important;
    box-shadow: 0 4px 12px rgba(185, 151, 91, 0.5) !important;
}

/* Today indicator */
.presento-calendar-day.today::before {
    background: #c00d0e !important;
}

/* Game header */
.presento-game-title {
    color: #c00d0e !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.presento-game-description {
    color: #c4c4c4 !important;
}

.presento-game-meta span {
    background: #2a2a2a !important;
    border: 1px solid #c00d0e !important;
    color: #c00d0e !important;
}

.presento-game-image {
    border: 2px solid #c00d0e !important;
    box-shadow: 0 4px 20px rgba(185, 151, 91, 0.3) !important;
}

/* Time slots */
.presento-time-slot {
    background: #2a2a2a !important;
    border: 1px solid #c00d0e !important;
    color: #c00d0e !important;
}

.presento-time-slot:hover:not(.booked) {
    background: #c00d0e !important;
    color: #1a1a1a !important;
    border-color: #c00d0e !important;
}

.presento-time-slot.booked {
    background: #3a1a1a !important;
    border-color: #8b0000 !important;
    color: #8b0000 !important;
}

/* Form */
.presento-booking-form {
    background: #1a1a1a !important;
    border: 2px solid #c00d0e !important;
}

.presento-form-group label {
    color: #c00d0e !important;
}

.presento-form-group input,
.presento-form-group select,
.presento-form-group textarea {
    background: #2a2a2a !important;
    border: 1px solid #c00d0e !important;
    color: #c4c4c4 !important;
}

.presento-form-group input:focus,
.presento-form-group select:focus,
.presento-form-group textarea:focus {
    border-color: #c00d0e !important;
    box-shadow: 0 0 8px rgba(185, 151, 91, 0.3) !important;
}

/* Buttons - ONLY for plugin elements */
.presento-add-to-cart,
.presento-book-now,
.presento-reserve-button {
    background: #c00d0e !important;
    color: #1a1a1a !important;
    border: 2px solid #c00d0e !important;
    font-weight: 700 !important;
}

.presento-add-to-cart:hover,
.presento-book-now:hover,
.presento-reserve-button:hover {
    background: #1a1a1a !important;
    color: #c00d0e !important;
    box-shadow: 0 4px 12px rgba(185, 151, 91, 0.3) !important;
}

/* ============================================
   INLINE TIME SLOTS (Below Calendar Days)
   ============================================ */

.presento-timeslot-row {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    margin: 10px 0;
    border: 2px solid #c00d0e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.presento-inline-slots-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.presento-inline-slot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.presento-inline-slot:hover {
    border-color: #c00d0e;
    background: #333;
}

.presento-inline-slot-time {
    font-size: 16px;
    font-weight: 600;
    color: #c00d0e;
    letter-spacing: 0.5px;
    flex: 1;
}

.presento-inline-slot-price {
    font-size: 14px;
    font-weight: 500;
    color: #999;
    white-space: nowrap;
}

.presento-inline-slot-button {
    background: #c00d0e;
    color: #1a1a1a;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.presento-inline-slot-button:hover {
    background: #d4ae6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 151, 91, 0.4);
}

.presento-inline-slot-booked {
    background: #3a1a1a;
    color: #8b0000;
    padding: 10px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #8b0000;
}

/* ============================================
   MODAL POPUP
   ============================================ */

.presento-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.presento-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.presento-modal-content {
    position: relative;
    z-index: 999999999 !important;
    background: #1a1a1a;
    border: 3px solid #c00d0e;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.presento-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: #c00d0e;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    transition: all 0.2s ease;
}

.presento-modal-close:hover {
    color: #d4ae6f;
    transform: rotate(90deg);
}

.presento-modal-content h3 {
    color: #c00d0e;
    font-size: 24px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #c00d0e;
    padding-bottom: 15px;
}

.presento-modal-game-name {
    color: #999;
    font-size: 16px;
    margin: 0 0 20px 0;
    text-align: center;
}

.presento-modal-booking-info {
    background: #2a2a2a;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 1px solid #444;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.presento-modal-booking-info p {
    margin: 0;
    color: #c4c4c4;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.presento-modal-booking-info strong {
    color: #c00d0e;
}

.presento-modal-booking-info span {
    color: #fff;
    font-weight: 600;
}

.presento-modal .presento-form-group {
    margin-bottom: 15px;
}

.presento-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 5px;
}

.presento-modal .presento-add-to-cart,
.presento-modal .presento-book-now {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
}

/* ============================================
   CINEMA MODE SEATS
   ============================================ */

.presento-cinema-seats-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 8px;
    border: 2px solid #c00d0e;
}

.presento-cinema-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.presento-cinema-seats-section h4 {
    margin: 0;
    color: #c00d0e;
    font-size: 18px;
}

.presento-cinema-legend {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #ccc;
}

.presento-cinema-legend span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.presento-seat-demo {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #666;
}

.presento-seat-demo.presento-seat-available {
    background: #f8fafc;
    border-color: #3b82f6;
}

.presento-seat-demo.presento-seat-occupied {
    background: #3a1a1a;
    border-color: #8b0000;
    position: relative;
}

.presento-seat-demo.presento-seat-occupied::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #8b0000;
    font-size: 14px;
    font-weight: bold;
}

.presento-seat-demo.presento-seat-selected {
    background: #c00d0e;
    border-color: #d4ae6f;
}

#presento-cinema-teams-container {
    background: #1a1a1a;
    border-radius: 6px;
    border: 1px solid #444;
    padding: 12px;
}

.presento-cinema-team {
    margin-bottom: 8px;
    padding: 0 0 8px 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.presento-cinema-team:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.presento-cinema-team-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.presento-cinema-team-name {
    font-weight: 600;
    color: #c00d0e;
    font-size: 16px;
}

.presento-cinema-team-status {
    font-size: 13px;
    color: #999;
    display: none;
}

#presento-cinema-teams-container {
    background: #1a1a1a;
    border-radius: 6px;
    border: 1px solid #444;
    padding: 12px;
}

.presento-cinema-team {
    margin-bottom: 8px;
    padding: 0 0 8px 0;
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.presento-cinema-team:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.presento-cinema-seats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.presento-cinema-seat {
    width: 45px;
    height: 45px;
    border-radius: 6px;
    border: 2px solid #666;
    background: #f8fafc;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.presento-cinema-seat:hover:not(.occupied) {
    border-color: #c00d0e;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(185, 151, 91, 0.4);
}

.presento-cinema-seat.occupied {
    background: #3a1a1a;
    border-color: #8b0000;
    color: #8b0000;
    cursor: not-allowed;
    opacity: 0.6;
}

.presento-cinema-seat.occupied::after {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
}

.presento-cinema-seat.selected {
    background: #c00d0e;
    border-color: #d4ae6f;
    color: #1a1a1a;
    box-shadow: 0 0 12px rgba(185, 151, 91, 0.6);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .presento-modal-content {
        margin: 20px auto;
        padding: 20px;
        width: 95%;
    }
    
    .presento-cinema-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .presento-cinema-legend {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .presento-form-row {
        grid-template-columns: 1fr;
    }
    
    .presento-modal-booking-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .presento-cinema-team {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .presento-cinema-seat {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .presento-inline-slot {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        text-align: center;
    }
    
    .presento-inline-slot-button,
    .presento-inline-slot-booked {
        width: 100%;
        padding: 12px;
    }
}

/* ============================================
   WOOCOMMERCE CART - DISABLE QUANTITY SELECTOR FOR CINEMA
   ============================================ */

/* Hide quantity selector controls for cinema bookings */
.presento-cinema-booking .wc-block-components-quantity-selector button,
.presento-cinema-booking .quantity .minus,
.presento-cinema-booking .quantity .plus {
    display: none !important;
}

.presento-cinema-booking .wc-block-components-quantity-selector input,
.presento-cinema-booking input.qty {
    pointer-events: none !important;
    background: #f5f5f5 !important;
    border-color: #ddd !important;
    cursor: not-allowed !important;
}

.presento-cinema-booking .wc-block-components-quantity-selector {
    pointer-events: none;
    opacity: 0.6;
}

/* ============================================
   WEEKLY CALENDAR - COLUMN LAYOUT
   ============================================ */

.presento-weekly-calendar {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background: var(--reliqie-darker);
}

.presento-weekly-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--reliqie-gray);
    border-radius: 8px;
    border: 2px solid var(--reliqie-RED);
}

.presento-weekly-header h3 {
    color: var(--reliqie-RED);
    font-size: 24px;
    margin: 0;
}

.presento-week-prev,
.presento-week-next {
    background: var(--reliqie-RED);
    color: var(--reliqie-darker);
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.presento-week-prev:hover,
.presento-week-next:hover {
    background: #d4ae6f;
    transform: translateY(-2px);
}

.presento-weekly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.presento-weekly-game-column {
    background: var(--reliqie-gray);
    border-radius: 8px;
    border: 2px solid var(--reliqie-RED);
    overflow: hidden;
}

.presento-weekly-game-header {
    padding: 15px;
    background: var(--reliqie-dark);
    border-bottom: 2px solid var(--reliqie-RED);
    text-align: center;
}

.presento-weekly-game-image {
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.presento-weekly-game-image img {
    width: 100%;
    height: auto;
    display: block;
}

.presento-weekly-game-header h4 {
    color: var(--reliqie-RED);
    font-size: 18px;
    margin: 0 0 10px 0;
}

.presento-weekly-game-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: var(--reliqie-light);
    font-size: 13px;
    margin-top: 8px;
}

.presento-weekly-game-location {
    color: #999;
    font-size: 12px;
    margin: 5px 0 0 0;
}

.presento-weekly-days {
    display: flex;
    flex-direction: column;
}

.presento-weekly-day {
    border-bottom: 1px solid #444;
}

.presento-weekly-day:last-child {
    border-bottom: none;
}

.presento-weekly-day-header {
    padding: 10px 15px;
    background: #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.presento-weekly-day-header strong {
    color: var(--reliqie-RED);
    font-size: 14px;
}

.presento-weekly-day-header span {
    color: #999;
    font-size: 12px;
}

.presento-weekly-slots {
    padding: 10px;
    min-height: 60px;
}

.presento-weekly-loading {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding: 10px;
}

.presento-weekly-slot {
    background: var(--reliqie-dark);
    border: 2px solid var(--reliqie-RED);
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.presento-weekly-slot:hover {
    background: var(--reliqie-RED);
    color: var(--reliqie-darker);
    transform: translateX(3px);
}

.presento-weekly-slot-time {
    font-weight: 600;
    font-size: 13px;
}

.presento-weekly-slot-price {
    font-size: 12px;
    margin-top: 3px;
}

.presento-weekly-slot.booked {
    background: #3a1a1a;
    border-color: var(--reliqie-red);
    color: var(--reliqie-red);
    cursor: not-allowed;
    opacity: 0.6;
}

.presento-weekly-slot.booked:hover {
    transform: none;
    background: #3a1a1a;
    color: var(--reliqie-red);
}

.presento-weekly-no-slots {
    text-align: center;
    color: #666;
    font-size: 12px;
    padding: 15px;
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .presento-weekly-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media screen and (max-width: 768px) {
    .presento-weekly-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .presento-weekly-grid {
        grid-template-columns: 1fr;
    }
    
    .presento-weekly-header h3 {
        font-size: 18px;
    }
}
