/* ============================================
   JEB PUBLIC STYLES - OPTIMIZED & CONSOLIDATED
   Version: 2.1
   Last Updated: December 2024
   
   Recent Changes:
   - Moved inline <style> blocks to external CSS
   - Extracted help-guide.php styles
   - Extracted help-guide-pa.php styles  
   - Extracted my-messages.php styles
   - Extracted booking-details-modal.php styles
   - Added utility classes for common patterns
   - Kept dynamic CSS variables inline (appropriate use)
   ============================================ */

/* ========== CSS CUSTOM PROPERTIES (Variables) ========== */
:root {
    /* Primary Colors */
    --jeb-primary: #4CAF50;
    --jeb-primary-dark: #45a049;
    --jeb-primary-light: #e8f5e9;
    
    /* Status Colors */
    --jeb-success: #155724;
    --jeb-success-bg: #d4edda;
    --jeb-error: #721c24;
    --jeb-error-bg: #f8d7da;
    --jeb-warning: #856404;
    --jeb-warning-bg: #fff3cd;
    --jeb-info: #0c5460;
    --jeb-info-bg: #d1ecf1;
    
    /* Neutral Colors */
    --jeb-text: #333;
    --jeb-text-muted: #666;
    --jeb-text-light: #999;
    --jeb-border: #e0e0e0;
    --jeb-bg-white: #fff;
    --jeb-bg-light: #f8f9fa;
    
    /* Spacing Scale */
    --jeb-spacing-xs: 5px;
    --jeb-spacing-sm: 10px;
    --jeb-spacing-md: 15px;
    --jeb-spacing-lg: 20px;
    --jeb-spacing-xl: 30px;
    
    /* Border Radius */
    --jeb-radius-sm: 4px;
    --jeb-radius-md: 6px;
    --jeb-radius-lg: 8px;
    --jeb-radius-xl: 10px;
    --jeb-radius-pill: 20px;
    
    /* Shadows */
    --jeb-shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --jeb-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --jeb-shadow-lg: 0 8px 20px rgba(0,0,0,0.12);
    
    /* Transitions */
    --jeb-transition: all 0.3s ease;
}

/* ========== BASE UTILITIES ========== */

/* Spacing - Consolidated margin and padding utilities */
.jeb-m-0 { margin: 0; }
.jeb-mt-10, .jeb-mt-sm { margin-top: var(--jeb-spacing-sm); }
.jeb-mt-20, .jeb-mt-lg { margin-top: var(--jeb-spacing-lg); }
.jeb-mb-10, .jeb-mb-sm { margin-bottom: var(--jeb-spacing-sm); }
.jeb-mb-15, .jeb-mb-md { margin-bottom: var(--jeb-spacing-md); }
.jeb-mb-20, .jeb-mb-lg { margin-bottom: var(--jeb-spacing-lg); }
.jeb-mb-30, .jeb-mb-xl { margin-bottom: var(--jeb-spacing-xl); }
.jeb-p-10, .jeb-p-sm { padding: var(--jeb-spacing-sm); }
.jeb-p-15, .jeb-p-md { padding: var(--jeb-spacing-md); }
.jeb-p-20, .jeb-p-lg { padding: var(--jeb-spacing-lg); }

/* Text Utilities */
.jeb-text-center { text-align: center; }
.jeb-text-right { text-align: right; }
.jeb-text-left { text-align: left; }
.jeb-font-bold, .jeb-bold { font-weight: 600; }
.jeb-font-normal { font-weight: 400; }
.jeb-text-uppercase { text-transform: uppercase; }

/* Color Utilities */
.jeb-text-success, .color-success { color: var(--jeb-success); }
.jeb-text-error, .color-danger { color: var(--jeb-error); }
.jeb-text-warning { color: var(--jeb-warning); }
.jeb-text-info { color: var(--jeb-info); }
.jeb-text-muted, .color-muted { color: var(--jeb-text-muted); }
.jeb-text-primary, .color-primary { color: var(--jeb-primary); }

/* Background Utilities */
.jeb-bg-white { background: var(--jeb-bg-white); }
.jeb-bg-light { background: var(--jeb-bg-light); }
.jeb-bg-success { background: var(--jeb-success-bg); }
.jeb-bg-error { background: var(--jeb-error-bg); }
.jeb-bg-warning { background: var(--jeb-warning-bg); }

/* Border Utilities */
.jeb-border { border: 1px solid var(--jeb-border); }
.jeb-rounded, .jeb-rounded-sm { border-radius: var(--jeb-radius-sm); }
.jeb-rounded-md { border-radius: var(--jeb-radius-md); }
.jeb-rounded-lg { border-radius: var(--jeb-radius-lg); }

/* Display Utilities */
.jeb-hidden { display: none; }
.jeb-block { display: block; }
.jeb-inline-block { display: inline-block; }
.jeb-inline { display: inline; }

/* Width Utilities */
.jeb-w-100 { width: 100%; }
.jeb-w-auto { width: auto; }
.jeb-max-w-100 { max-width: 100%; }

/* Status/Message Boxes */
.jeb-info-notice {
    background: #e7f5ff; 
    border-left: 4px solid #2271b1; 
    padding: 15px; 
    margin: 15px 0; 
    border-radius: 4px;
}

.jeb-info-notice p {
    margin: 0;
}

/* Spacing additions */
.jeb-mr-15 { margin-right: 15px; }
.jeb-ml-10 { margin-left: 10px; }

/* ========== ADMIN BAR NOTIFICATION ========== */
.jeb-admin-bar-badge {
    display: inline-block;
    background: #d63638;
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    line-height: 1;
}

#wpadminbar .jeb-parent-messages-link .ab-icon:before {
    content: '\f466';
    top: 2px;
}

.jeb-inline-block { display: inline-block; }

/* ========== CONTAINERS ========== */

/* Base Container - Unified container for all public pages */
.jeb-container,
.jeb-events-list,
.jeb-events-list-wrapper,
.jeb-event-details,
.jeb-registration-form,
.jeb-booking-form,
.jeb-my-bookings,
.jeb-my-profile {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--jeb-spacing-lg);
}

/* ========== ELIGIBILITY & INELIGIBLE STATES ========== */

/* Ineligible attendee rows in booking form */
.jeb-ineligible,
tr.jeb-ineligible,
label.member-card.ineligible {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

.jeb-ineligible input[type="checkbox"],
label.member-card.ineligible input[type="checkbox"] {
    cursor: not-allowed;
}

.jeb-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.jeb-status-success {
    color: var(--jeb-success);
}

.jeb-status-error {
    color: var(--jeb-error);
}

.jeb-status .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Eligibility reason text */
small.text-danger {
    color: var(--jeb-error);
    font-size: 12px;
    display: block;
    margin-top: 3px;
}

/* ========== BUTTONS ========== */

/* Base Button - Consolidated button styles */
.jeb-button,
.jeb-search-button,
.jeb-btn-primary,
.jeb-submit-button,
.jeb-view-button {
    padding: 12px 25px;
    background: var(--jeb-primary);
    color: white;
    border: none;
    border-radius: var(--jeb-radius-md);
    cursor: pointer;
    font-weight: 600;
    transition: var(--jeb-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}


/* Button Variants */
.jeb-button-secondary,
.jeb-reset-button {
    background: #f0f0f0;
    color: #666;
}


.jeb-button-danger,
.jeb-cancel-button {
    background: #dc3545;
    color: white;
}


.jeb-button-full {
    width: 100%;
    justify-content: center;
}

/* ========== BADGES ========== */

/* Base Badge - Consolidated badge system */
.jeb-badge,
.jeb-status-badge,
.jeb-price-badge,
.jeb-category-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--jeb-radius-pill);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badge Variants */
.jeb-badge-success,

.jeb-badge-warning,

.jeb-badge-info,



/* Badge Sizes */
.jeb-badge-sm { 
    font-size: 10px; 
    padding: 4px 8px; 
}

.jeb-badge-lg { 
    font-size: 14px; 
    padding: 8px 15px; 
    font-weight: 700;
}

/* ========== FILTER BAR ========== */

.jeb-filter-bar {
    background: var(--jeb-bg-light);
    padding: var(--jeb-spacing-lg);
    border-radius: var(--jeb-radius-lg);
    margin-bottom: var(--jeb-spacing-xl);
    border: 1px solid var(--jeb-border);
}

.jeb-search-box {
    margin-bottom: var(--jeb-spacing-lg);
}

.jeb-search-form {
    display: flex;
    gap: var(--jeb-spacing-sm);
}

.jeb-search-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: var(--jeb-radius-md);
    font-size: 15px;
    transition: var(--jeb-transition);
}


.jeb-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--jeb-spacing-md);
    align-items: center;
}

/* Filter Tabs */
.jeb-filter-tabs {
    display: flex;
    gap: var(--jeb-spacing-sm);
    flex-wrap: wrap;
}

.jeb-tab {
    padding: 10px 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: var(--jeb-radius-md);
    text-decoration: none;
    color: var(--jeb-text);
    font-weight: 500;
    transition: var(--jeb-transition);
}



/* Filter Dropdown */
.jeb-filter-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}




/* Advanced Filters */
.jeb-advanced-toggle {
    margin-top: var(--jeb-spacing-md);
    text-align: center;
}

.jeb-toggle-button {
    padding: 10px 20px;
    background: white;
    border: 2px solid #ddd;
    border-radius: var(--jeb-radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--jeb-text);
    transition: var(--jeb-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


.jeb-advanced-filters {
    margin-top: var(--jeb-spacing-lg);
    padding: 25px;
    background: white;
    border: 2px solid var(--jeb-border);
    border-radius: var(--jeb-radius-lg);
    animation: slideDown 0.3s ease;
}

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

.jeb-filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--jeb-spacing-lg);
    margin-bottom: var(--jeb-spacing-lg);
}

.jeb-filter-field {
    display: flex;
    flex-direction: column;
}




.jeb-filter-actions {
    display: flex;
    gap: var(--jeb-spacing-md);
    justify-content: center;
    padding-top: var(--jeb-spacing-md);
    border-top: 1px solid var(--jeb-border);
}

/* ========== RESULTS INFO ========== */

.jeb-results-info {
    margin-bottom: var(--jeb-spacing-lg);
    padding: 15px 20px;
    background: var(--jeb-primary-light);
    border-left: 4px solid var(--jeb-primary);
    border-radius: var(--jeb-radius-sm);
}


.jeb-clear-search {
    color: #f44336;
    text-decoration: none;
    font-weight: 600;
    margin-left: var(--jeb-spacing-sm);
}


/* ========== NOTICES & ALERTS ========== */

/* Base Notice - Consolidated alert styles */
.jeb-notice,
.jeb-error,
.jeb-success-message,
.jeb-info-box {
    padding: var(--jeb-spacing-lg);
    margin: var(--jeb-spacing-lg) 0;
    border-radius: var(--jeb-radius-md);
    border-left: 4px solid;
}

.jeb-notice-success,

.jeb-notice-error,

.jeb-notice-info,

/* ========== EVENT GRID ========== */

.jeb-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--jeb-spacing-xl);
    margin-top: var(--jeb-spacing-lg);
}

/* ========== EVENT CARD ========== */

.jeb-event-card {
    background: var(--jeb-bg-white);
    border: 1px solid var(--jeb-border);
    border-radius: var(--jeb-radius-xl);
    overflow: hidden;
    transition: var(--jeb-transition);
    box-shadow: var(--jeb-shadow-sm);
}


.jeb-event-image {
    position: relative;
    overflow: hidden;
}



/* Badge Positioning */



@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.jeb-event-content {
    padding: var(--jeb-spacing-lg);
}


.jeb-event-title a {
    color: var(--jeb-text);
    text-decoration: none;
    transition: var(--jeb-transition);
}


.jeb-event-meta {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: var(--jeb-spacing-md);
}

.jeb-meta-item {
    margin: 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.jeb-meta-item strong {
    color: #ffffff;
}

.jeb-meta-item .dashicons {
    color: #ffffff;
}


.jeb-event-excerpt {
    color: var(--jeb-text-muted);
    line-height: 1.6;
    margin-bottom: var(--jeb-spacing-md);
}

.jeb-event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--jeb-spacing-md);
    border-top: 1px solid var(--jeb-border);
}

.jeb-event-price {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--jeb-primary);
}


/* ========== PAGINATION ========== */

.jeb-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--jeb-spacing-sm);
    margin: var(--jeb-spacing-xl) 0;
}

.jeb-page-link {
    padding: 8px 15px;
    background: white;
    border: 2px solid var(--jeb-border);
    border-radius: var(--jeb-radius-sm);
    color: var(--jeb-text);
    text-decoration: none;
    transition: var(--jeb-transition);
    font-weight: 500;
}




/* ========== FORMS ========== */

/* Form Groups */
.jeb-form-group {
    margin-bottom: var(--jeb-spacing-lg);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.jeb-form-group input,
.jeb-form-group select,
.jeb-form-group textarea {
    box-sizing: border-box;
    max-width: 100%;
}

.jeb-form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--jeb-text);
}


/* Form Inputs - Consolidated input styles */
.jeb-form-input,
.jeb-form-select,
.jeb-form-textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: var(--jeb-radius-md);
    font-size: 15px;
    transition: var(--jeb-transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--jeb-primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.jeb-form-help {
    font-size: 13px;
    color: var(--jeb-text-muted);
    margin-top: var(--jeb-spacing-xs);
}

.jeb-form-error {
    font-size: 13px;
    color: var(--jeb-error);
    margin-top: var(--jeb-spacing-xs);
}

/* Form Grid */
.jeb-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--jeb-spacing-lg);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .jeb-container,
    .jeb-events-list,
    .jeb-events-list-wrapper {
        padding: var(--jeb-spacing-md);
    }
    
    .jeb-events-grid {
        grid-template-columns: 1fr;
        gap: var(--jeb-spacing-lg);
    }
    
    .jeb-filter-grid {
        grid-template-columns: 1fr;
    }
    
    .jeb-search-form {
        flex-direction: column;
    }
    
    .jeb-event-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--jeb-spacing-sm);
    }
}

@media (max-width: 480px) {
    .jeb-filter-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .jeb-tab {
        width: 100%;
        text-align: center;
    }
}

/* ========== MISSING CLASSES (Used in PHP but not in original CSS) ========== */

/* Booking Form Layout */
.jeb-booking-main {
    flex: 1;
    min-width: 0;
}

.jeb-booking-sidebar {
    width: 350px;
    flex-shrink: 0;
}

/* Bookings Table */
.jeb-bookings-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.jeb-bookings-table thead {
    background: linear-gradient(135deg, var(--jeb-header-bg, #667eea) 0%, var(--jeb-header-secondary, #764ba2) 100%);
    color: white;
}

.jeb-bookings-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.jeb-bookings-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.jeb-bookings-table tbody tr:hover {
    background-color: #f8f9fa;
}

.jeb-bookings-table tbody tr.hidden {
    display: none;
}

.jeb-bookings-filter {
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.jeb-bookings-filter label {
    margin-right: 20px;
    cursor: pointer;
    font-weight: 500;
}

.jeb-bookings-filter input[type="radio"] {
    margin-right: 5px;
}

.jeb-bookings-actions {
    margin-bottom: 20px;
}

.booking-actions a {
    display: block;
    margin: 5px 0;
    color: var(--jeb-primary, #667eea);
    text-decoration: none;
    font-size: 13px;
}

.booking-actions a:hover {
    text-decoration: underline;
}

.booking-actions a.jeb-cancel-link {
    color: #dc3545;
}

.jeb-bookings-filter-radio-label {
    display: inline-block;
    margin-right: var(--jeb-spacing-md);
}

/* Custom Login Page */
.jeb-custom-login-page {
    max-width: 500px;
    margin: 0 auto;
    padding: var(--jeb-spacing-lg);
}

/* Messages */
.jeb-message,
.jeb-error-box,
.jeb-error-message,
.jeb-message-error {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid;
}

.jeb-message-error,
.jeb-error-box,
.jeb-error-message {
    color: #d32f2f;
    background: #ffebee;
    border-left-color: #d32f2f;
}

.jeb-message-success {
    color: #2e7d32;
    background: #e8f5e9;
    border-left-color: #2e7d32;
}

.jeb-message p,
.jeb-error-box p {
    margin: 8px 0;
}

.jeb-message p:first-child,
.jeb-error-box p:first-child {
    margin-top: 0;
}

.jeb-message p:last-child,
.jeb-error-box p:last-child {
    margin-bottom: 0;
}

/* Form Validation Error Styling */
.jeb-field-error,
input.jeb-field-error,
select.jeb-field-error,
textarea.jeb-field-error {
    border-color: #dc3545 !important;
    background-color: #fff5f5 !important;
}

.jeb-field-error:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.jeb-message.error ul,
.jeb-message-error ul {
    margin: 10px 0 5px 20px;
    padding: 0;
}

.jeb-message.error ul li,
.jeb-message-error ul li {
    margin-bottom: 5px;
}

.jeb-message.error strong,
.jeb-message-error strong {
    display: block;
    margin-bottom: 8px;
}

/* Password Field with Toggle */
.jeb-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.jeb-password-wrapper input[type="password"],
.jeb-password-wrapper input[type="text"] {
    flex: 1;
    padding-right: 45px;
}

.jeb-password-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    line-height: 1;
    color: #666;
    transition: color 0.2s;
}

.jeb-password-toggle:hover {
    color: #333;
}

.jeb-password-toggle:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
    border-radius: 3px;
}

/* Password Strength Indicator */
.jeb-password-strength {
    margin-top: 8px;
}

.jeb-strength-bar {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 5px;
}

.jeb-strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.jeb-strength-fill.weak {
    width: 33%;
    background-color: #dc3545;
}

.jeb-strength-fill.medium {
    width: 66%;
    background-color: #ffc107;
}

.jeb-strength-fill.strong {
    width: 100%;
    background-color: #28a745;
}

.jeb-strength-text {
    font-size: 12px;
    font-weight: 500;
}

.jeb-strength-text.weak {
    color: #dc3545;
}

.jeb-strength-text.medium {
    color: #ffc107;
}

.jeb-strength-text.strong {
    color: #28a745;
}

/* Password Requirements List */
.jeb-password-requirements {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    font-size: 13px;
}

.jeb-password-requirements li {
    padding: 4px 0;
    transition: color 0.2s;
}

.jeb-password-requirements li.valid {
    color: #28a745;
}

.jeb-password-requirements li.valid::before {
    content: '✓ ';
    font-weight: bold;
}

.jeb-password-requirements li.invalid {
    color: #721c24;
}

.jeb-password-requirements li.invalid::before {
    content: '✗ ';
    font-weight: bold;
}

/* Password Match Indicator */
.jeb-password-match {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    font-weight: 500;
}

.jeb-password-match.match {
    color: #28a745;
}

.jeb-password-match.no-match {
    color: #dc3545;
}

/* Empty States */
.jeb-no-bookings {
    text-align: center;
    padding: var(--jeb-spacing-xl);
    color: var(--jeb-text-muted);
}

/* Event Header */
.jeb-event-header-content {
    padding: var(--jeb-spacing-lg);
}

/* Manage Attendees */
.jeb-manage-attendees-page {
    max-width: 1200px;
    margin: 0 auto;
}

/* Schedule Info */
.jeb-schedule-description,
.jeb-schedule-location {
    margin: var(--jeb-spacing-sm) 0;
    color: var(--jeb-text-muted);
}

/* Saved Search */
.jeb-save-search-row {
    margin-top: var(--jeb-spacing-md);
}

/* Action Buttons */
.jeb-view-booking,
.jeb-cancel-booking,
.jeb-cancel-refund-booking,
.jeb-btn-remove {
    padding: 6px 12px;
    border-radius: var(--jeb-radius-sm);
    text-decoration: none;
    display: inline-block;
    transition: var(--jeb-transition);
}



/* Advanced Form (if different from filter) */
.jeb-advanced-form {
    width: 100%;
}

/* Booking Status (base - specific statuses use dynamic classes) */
.jeb-booking-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--jeb-radius-sm);
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================
   COMPONENT-SPECIFIC STYLES
   Preserved from original for compatibility
   ========================================== */

.jeb-multi-day {
    display: inline-block;
    background: #fff3cd;
    color: #856404;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 5px;
}

/* Event Description/Excerpt */
.jeb-event-description {
    margin: 15px 0;
    color: #555;
    line-height: 1.7;
    font-size: 14px;
}

/* Event Tags System */
.jeb-event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.jeb-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    color: #555;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s;
}


/* Event Footer - Actions and availability section */

/* Availability Information System */
.jeb-availability-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jeb-spots-left {
    font-size: 14px;
    color: #333;
}


.jeb-capacity-bar {
    width: 100%;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.jeb-capacity-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    transition: width 0.5s ease;
    width: var(--capacity-percent, 0%);
}

.jeb-fully-booked {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #f44336;
    font-weight: 600;
    font-size: 14px;
}


.jeb-spots-available {
    color: #4CAF50;
    font-weight: 500;
}

.jeb-spots-full {
    color: #f44336;
    font-weight: 500;
}

/* Footer Actions - Price and booking buttons */
.jeb-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.jeb-price-info {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.jeb-price-large {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}


.jeb-price-small {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.jeb-price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.jeb-price-item {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.jeb-price-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    min-width: 60px;
}

.jeb-price-amount {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
}

/* ========== BUTTON SYSTEM ========== */

/* Base Button */
.jeb-btn,

/* Button Variants */
.jeb-button-primary {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #fff;
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}


.jeb-btn-secondary {
    background-color: #2196F3;
    color: #fff;
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.3);
}

.jeb-btn-secondary:hover {
    background-color: #1976D2;
    box-shadow: 0 4px 8px rgba(33, 150, 243, 0.5);
}

.jeb-btn-danger {
    background-color: #f44336;
    color: #fff;
}


.jeb-btn-sm {
    padding: 5px 10px;
    font-size: 12px;
}

.jeb-btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

.jeb-btn-block {
    width: 100%;
    display: block;
}

/* ========== FORM SYSTEM ========== */

/* Form Fieldset */
.jeb-fieldset {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}


/* Form Layout */
.jeb-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.jeb-form-row.jeb-form-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .jeb-form-row,
    .jeb-form-row.jeb-form-row-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Form Group */




/* Form Controls */
.jeb-input,
.jeb-select,
.jeb-textarea,


/* Child/Attendee Entry */
.jeb-child-entry {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}



.jeb-form-submit {
    text-align: center;
    margin-top: 30px;
}


/* ========== MESSAGE & ALERT SYSTEM ========== */

.jeb-messages {
    margin-bottom: 20px;
}

/* Base Message */
.jeb-message,
.jeb-alert {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 15px;
    border: 1px solid transparent;
    border-left-width: 4px;
}

/* Message Variants */
.jeb-message.success,
.jeb-alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    border-left-color: #28a745;
}

.jeb-message.error,
.jeb-alert-danger,
.jeb-alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
    border-left-color: #dc3545;
}

.jeb-message.warning,
.jeb-message-warning,
.jeb-alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
    border-left-color: #ffc107;
}

.jeb-message.info,
.jeb-message-info,
.jeb-alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
    border-left-color: #17a2b8;
}

/* ========== TABLE SYSTEM ========== */

.jeb-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
}



/* ========== STATUS BADGE SYSTEM ========== */


/* Status Variants */
.jeb-status-confirmed {
    background-color: #d4edda;
    color: #155724;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
}

.jeb-status-cancelled,
.jeb-badge-danger {
    background-color: #f8d7da;
    color: #721c24;
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
}

.jeb-status-pending,


.jeb-badge-primary {
    background-color: #cce5ff;
    color: #004085;
}

/* ========== CARD/SECTION SYSTEM ========== */

.jeb-card,
.jeb-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.jeb-card-header,
.jeb-section-header {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
    font-size: 1.2em;
    font-weight: 600;
}

/* Info Grid */
.jeb-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* Info Field */
.jeb-info-field {
    margin-bottom: 10px;
}



/* No Events Message */
.jeb-no-events {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    grid-column: 1 / -1;
}




/* Pagination */





.jeb-page-numbers {
    display: flex;
    gap: 5px;
}

.jeb-page-dots {
    padding: 10px 5px;
    color: #999;
}

/* Note: Responsive styles consolidated at bottom of file */

/* Loading State */
.jeb-loading {
    opacity: 0.6;
    pointer-events: none;
}

.jeb-spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4CAF50;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==============================================
   ADVANCED BOOKING FORM STYLES
   ============================================== */

.jeb-booking-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Event Header */
.jeb-event-header {
    background: linear-gradient(135deg, var(--jeb-header-bg, #667eea) 0%, var(--jeb-header-secondary, #764ba2) 100%);
    color: var(--jeb-header-text, white);
    padding: 40px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Event Header Top Row with Button */
.jeb-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.jeb-header-content {
    flex: 1;
    min-width: 0;
}

.jeb-header-action {
    flex-shrink: 0;
}

/* Event Meta - Inline Layout */
.jeb-event-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.jeb-event-code,
.jeb-event-price-badge,
.jeb-event-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.jeb-event-price-badge {
    background: rgba(255, 255, 255, 0.25);
}

/* Book Button Styles */
.jeb-book-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--jeb-primary, #667eea);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.jeb-book-button:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.jeb-book-button-large {
    padding: 16px 32px;
    font-size: 18px;
}

.jeb-book-button-prominent {
    padding: 16px 28px;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

/* Bottom Booking Section */
.jeb-bottom-booking-section {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--jeb-header-bg, #667eea) 0%, var(--jeb-header-secondary, #764ba2) 100%);
    border-radius: 15px;
    margin-top: 40px;
}

.jeb-book-button-bottom {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}






/* Login Required */
.jeb-login-required {
    text-align: center;
    padding: 60px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.jeb-login-icon {
    margin-bottom: 20px;
}

.jeb-requirements-list {
    text-align: left;
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2271b1;
}

.jeb-requirements-list ul {
    margin: 0;
    padding-left: 20px;
}

.jeb-requirements-list li {
    margin-bottom: 8px;
    color: #555;
}

/* Registration Form Capitalization */
.jeb-registration-form input[type="text"],
.jeb-registration-form input[type="email"]:not(.jeb-email-lowercase) {
    text-transform: capitalize;
}

/* Email inputs should remain lowercase */
.jeb-registration-form input[type="email"].jeb-email-lowercase,
input[type="email"].jeb-email-lowercase {
    text-transform: none;
}




.jeb-login-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}






.jeb-btn-outline {
    background: transparent;
    border: 2px solid #ddd;
    color: #666;
}


/* Booking Grid Layout */
.jeb-booking-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

/* Card Styles */


.jeb-card-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.jeb-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--jeb-header-bg, #667eea), var(--jeb-header-secondary, #764ba2));
    color: white;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
}

.jeb-card-subtitle {
    margin: 8px 0 0 44px;
    color: #666;
    font-size: 14px;
}

.jeb-card-body {
    padding: 30px;
}

/* Payment Methods */
.jeb-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.jeb-payment-option {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}





.jeb-payment-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}



/* Attendees Table */
.jeb-attendees-table {
    overflow-x: auto;
}






.jeb-attendee-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}


.jeb-badge-parent {
    background: #e3f2fd;
    color: #1976d2;
}

.jeb-badge-child {
    background: #f3e5f5;
    color: #7b1fa2;
}

.jeb-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
}

.jeb-status-success {
    color: #2e7d32;
}


.jeb-status-error {
    color: #c62828;
}



.jeb-price {
    font-size: 16px;
    color: #333;
}

.jeb-senior-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.jeb-free-badge {
    color: #2e7d32;
    font-weight: 700;
}

/* Empty State */
.jeb-empty-state,
.jeb-empty-summary {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}



/* Promo Code */
.jeb-promo-input-group {
    display: flex;
    gap: 10px;
}



.jeb-promo-message {
    margin-top: 12px;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}



/* Sticky Sidebar */
.jeb-sticky {
    position: sticky;
    top: 20px;
}

/* Booking Summary */
#booking_summary {
    font-size: 15px;
}

.jeb-summary-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}



.jeb-summary-name {
    font-weight: 500;
    color: #333;
}

.jeb-summary-price {
    font-weight: 600;
    color: #667eea;
}

.jeb-summary-totals {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.jeb-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}







.jeb-amount {
    font-weight: 600;
}

.jeb-promo-label {
    font-size: 12px;
    color: #2e7d32;
    font-weight: 600;
    text-transform: uppercase;
}

/* Complete Booking Button */
.jeb-complete-booking-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}



.jeb-free-event-notice {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-top: 15px;
}

/* Alerts */

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



/* Form Messages */
#jeb-form-messages {
    margin-bottom: 20px;
}

.jeb-form-messages {
    margin-bottom: 25px;
}

.jeb-form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}





/* ========== CONSOLIDATED INLINE STYLES ========== */

/* Booking Container */

/* Form Messages */

/* Promo Section */
.jeb-promo-section-redesign {
    background: linear-gradient(90deg, #f8fafc 60%, #e0f7fa 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 24px 16px;
}





#apply_promo_btn {
    background: #00bcd4 !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: bold;
}

#remove_promo_btn {
    display: none;
    background: #fff !important;
    color: #00bcd4 !important;
    border: 2px solid #00bcd4;
    border-radius: 6px;
    font-weight: bold;
}

.jeb-promo-codes-box {
    min-width: 240px;
    background: #fffde7;
    border-radius: 10px;
    box-shadow: 0 1px 6px #ffe082;
    padding: 16px 12px;
}

.jeb-promo-list-label {
    color: #f57c00;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 10px;
}


.jeb-promo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jeb-promo-list-item {
    margin-bottom: 10px;
}

.jeb-promo-select-btn {
    width: 100%;
    text-align: left;
    background: #fff !important;
    color: #f57c00 !important;
    border: 2px solid #ffe082;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1em;
    box-shadow: 0 1px 4px #ffe082;
    padding: 8px 12px;
}


.jeb-promo-description {
    color: #888;
    font-size: 90%;
}


/* Manage Attendees Page */
.jeb-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ddd;
}

.jeb-page-header > div {
    display: flex;
    gap: 10px;
    align-items: center;
}

.jeb-page-header a.jeb-btn {
    text-decoration: none;
}



.save-attendees-btn,
#save-attendees-btn-top,
#save-attendees-btn-bottom {
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
}

.save-attendees-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


.event-info {
    background: #e7f3ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}








.current-attendees-section {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
}

.attendees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}









/* Login Page Messages */



.jeb-error-box {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 5px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.resend-verification {
    margin-top: 10px;
}

#resend-verification-link {
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
}

.remember-me-group {
    display: flex;
    align-items: center;
    gap: 8px;
}



/* Utility Classes */
.text-right {
    text-align: right;
}

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

.text-left {
    text-align: left;
}

.font-weight-600 {
    font-weight: 600;
}

.color-primary {
    color: #2271b1;
}

.color-success {
    color: #00a32a;
}

.color-danger {
    color: #d63638;
}

.color-muted {
    color: #666;
}

/* ========== ADDITIONAL CONSOLIDATED STYLES ========== */

/* Event Info - Manage Attendees */



.required-text {
    color: #999;
    font-size: 12px;
    font-style: italic;
}

/* Attendees Total Row */
.attendees-total-row {
    background: #f9f9f9;
    font-weight: 600;
}


.no-attendees-text {
    color: #666;
    font-style: italic;
}

/* Add Attendees Section */
.add-attendees-section {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
}


/* Member Cards */
.member-card {
    display: block;
    padding: 15px;
    margin: 10px 0;
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}


.member-card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.member-card-left {
    display: flex;
    align-items: center;
}




.member-card-price {
    color: #2271b1;
    font-weight: 600;
    font-size: 16px;
}

/* Info Messages - Consolidated with Alert System */
.jeb-info-message {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}






/* Form Actions Sticky Bar */
.form-actions {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    position: sticky;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.form-actions .jeb-btn {
    padding: 10px 20px;
    font-size: 14px;
}

.form-actions a.jeb-btn {
    text-decoration: none;
}


/* Event Details Styling */
.jeb-price-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.jeb-availability-status.full {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.jeb-login-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    padding: 15px;
    border-radius: 6px;
    margin-top: 15px;
}







.jeb-book-button.secondary {
    background: linear-gradient(135deg, #50575e, #3c434a);
}

/* Advanced Search & Filters */
.hide-text {
    display: none;
}

.jeb-search-advanced,
#advanced-filters,
#jeb-advanced-filters {
    display: none;
}

#guardian-address-fields {
    display: none;
}

/* Events List Capacity - width set inline dynamically based on percentage */

/* Map Styling */
#web-events-map {
    display: none;
}

#map-canvas {
    width: 100%;
    height: 600px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

#map-sidebar {
    margin-top: 20px;
}

.map-empty-message {
    padding: 50px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 4px;
}

/* ============================================
   Map Display System - Consolidated
   ============================================ */

/* Map Info Window - Popup content in map markers */
.jeb-map-info-window,






/* Map Event Item - Event list items in map view */
.jeb-map-event-item {
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}







/* ============================================
   Bookings Management System - Consolidated
   ============================================ */

.jeb-bookings-actions {
    margin-bottom: 20px;
}

.jeb-bookings-filter {
    margin-bottom: 20px;
}



.jeb-booking-date-small,
.booking-date-small {
    color: #646970;
}


.payment-status-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    border: 1px solid;
}

.status-completed,
.status-paid {
    background-color: rgba(0, 163, 42, 0.13);
    color: #00a32a;
    border-color: #00a32a;
}

.status-pending,
.status-partial {
    background-color: rgba(240, 180, 41, 0.13);
    color: #f0b429;
    border-color: #f0b429;
}

.status-failed,
.status-refunded,
.status-cancelled {
    background-color: rgba(214, 54, 56, 0.13);
    color: #d63638;
    border-color: #d63638;
}

.receipt-number {
    color: #2271b1;
}

.pending-payment-text {
    font-weight: normal;
}



.no-promo-text {
    color: #666;
}

.action-link-danger {
    color: #d63638;
}

.event-completed-text {
    color: #999;
}

.booking-cancelled-text {
    color: #721c24;
}

/* ========== MODAL SYSTEM ========== */

.jeb-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.jeb-modal.show {
    display: flex;
}

.jeb-modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    z-index: 10001;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.jeb-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}


/* Admin - Presenters, Categories, etc. */
.tablenav.top {
    padding: 10px 0;
}

.button.batch-delete {
    margin-left: 10px;
    color: #d63638;
}


.status-active .dashicons {
    color: green;
}

.status-inactive .dashicons {
    color: red;
}

.card {
    max-width: 800px;
}


#photo_preview {
    margin-top: 10px;
}

#photo_preview img {
    max-width: 150px;
    border: 1px solid #ddd;
    padding: 5px;
}

/* Promo Codes */
#promo_code_input {
    text-transform: uppercase;
}

.event-select-multiple {
    width: 100%;
    max-width: 400px;
}

.promo-heading {
    margin-top: 20px;
}

.promo-event-info {
    color: #666;
}

.promo-status-active {
    color: #46b450;
    font-weight: 600;
}

.promo-status-inactive {
    color: #999;
}

.no-promo-codes {
    text-align: center;
}

/* Database Update Page */
.db-check-section h3 {
    margin-top: 20px;
}

.status-exists {
    color: green;
}

.status-missing {
    color: red;
}

/* Empty Table Message */
.empty-table-message {
    text-align: center;
}

/* Ticket Generator Styles - PDF Content */
.ticket-logo img {
    max-width: 150px;
    max-height: 150px;
    margin-bottom: 10px;
}

.ticket-title {
    font-size: 20px;
    margin-top: 5px;
}

.ticket-ref {
    font-size: 12px;
    margin-top: 5px;
}


.ticket-footer {
    margin-top: 10px;
    font-size: 9px;
}

.senior-badge {
    background: #ffc107;
    color: #000;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: bold;
}

/* Inline style overrides where dynamic values needed */
.width-40 {
    width: 40px;
}

/* ========== JAVASCRIPT GENERATED CONTENT STYLES ========== */

/* Loading Spinner */
.loading-center {
    text-align: center;
}

.spinner-inline {
    float: none;
}

/* Booking Modal Content */
.booking-modal-header {
    background: #f0f6fc;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}



.booking-modal-title {
    font-size: 16px;
}

.booking-modal-reference {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.booking-info-table {
    width: 100%;
    border-collapse: collapse;
}



.booking-status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}




.attendee-item {
    padding: 5px 0;
}

.attendee-type {
    color: #666;
}

.discount-amount {
    color: #00a32a;
}

.promo-code-text {
    color: #666;
}

.ticket-download-section {
    margin-top: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 5px;
    text-align: center;
}



/* Error Messages */
.error-message {
    color: #d63638;
}

/* Cancel Booking Modal */
.refund-info-box {
    background: #fff3cd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}



.no-refund-box {
    background: #f8d7da;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #d63638;
}




/* Attendee Warning */
.attendee-warning {
    color: #856404;
    padding: 10px;
    background: #fff3cd;
    border-radius: 5px;
}

/* Lightbox */
.jeb-lightbox {
    display: none;
}

/* Promo Validation */
.promo-validating {
    color: #00796b;
}

/* Alert Messages - Booking Form */



.jeb-alert-success-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jeb-alert-success-icon {
    font-size: 24px;
}

.jeb-alert-success-title {
    font-size: 16px;
}

.jeb-alert-success-message {
    font-size: 14px;
}

.jeb-alert-error-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.jeb-alert-error-icon {
    font-size: 24px;
    line-height: 1;
}

.jeb-alert-error-body {
    flex: 1;
}

.jeb-alert-error-title {
    font-size: 16px;
}

.jeb-alert-error-list {
    margin: 10px 0 0;
    padding-left: 20px;
    font-size: 14px;
}

.jeb-alert-error-message {
    font-size: 14px;
}

.jeb-alert-error-details {
    color: #999;
    margin-top: 5px;
    display: block;
}

/* Manage Attendees Styles */
.jeb-manage-attendees-event-info {
    background: #e7f3ff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.jeb-manage-attendees-event-title {
    margin: 0;
}

.jeb-manage-attendees-event-details {
    margin: 5px 0 0;
    font-size: 13px;
    color: #666;
}

.jeb-manage-attendees-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.jeb-manage-attendees-table-header {
    background: #f9f9f9;
    border-bottom: 2px solid #ddd;
}

.jeb-manage-attendees-table-cell {
    padding: 10px;
    text-align: left;
}

.jeb-manage-attendees-table-cell-center {
    padding: 10px;
    text-align: center;
}

.jeb-manage-attendees-table-row {
    border-bottom: 1px solid #eee;
}

.jeb-manage-attendees-remove-btn {
    color: #d63638;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.jeb-manage-attendees-required-text {
    color: #999;
    font-size: 12px;
}

/* Add attendees section */
.jeb-add-attendees-section {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
}

.jeb-add-attendees-description {
    margin: 0 0 10px;
}

.jeb-attendee-label {
    display: block;
    padding: 8px;
    margin: 5px 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.jeb-attendee-price-type {
    color: #666;
    margin-left: 10px;
}

.jeb-attendee-price-amount {
    float: right;
    color: #2271b1;
    font-weight: 600;
}

/* Event full warning */
.jeb-event-full-warning {
    background: #f8d7da;
    padding: 15px;
    border-radius: 5px;
    color: #721c24;
    margin-top: 20px;
}

.jeb-event-full-title {
    margin: 0;
}

.jeb-event-full-text {
    margin: 5px 0 0;
}

/* Form actions */
.jeb-form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* Messages */
.jeb-attendees-messages {
    margin-top: 15px;
}

/* Payment Status Badges */
.jeb-payment-status-badge {
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

.jeb-payment-status-paid {
    background: #d4edda;
    color: #155724;
}

.jeb-payment-status-unpaid {
    background: #fff3cd;
    color: #856404;
}

.jeb-payment-status-overdue {
    background: #f8d7da;
    color: #721c24;
}

/* Booking Actions */
.jeb-cancel-link {
    color: #d63638;
}

.jeb-cancel-modal {
    display: none;
}

/* Attendee Management */
.jeb-member-checkbox {
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

.jeb-member-name {
    font-size: 15px;
}

.jeb-member-badge {
    margin-left: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.jeb-no-attendees-message {
    padding: 20px;
    text-align: center;
    color: #999;
    font-style: italic;
}

/* Booking Modal System */
.jeb-booking-loading {
    text-align: center;
}


.jeb-booking-details {
    background: #f0f6fc;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.jeb-booking-details-title {
    margin: 0 0 5px;
    font-size: 16px;
}

.jeb-booking-details-ref {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.jeb-booking-info-table {
    width: 100%;
    border-collapse: collapse;
}



.jeb-booking-status-confirmed {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: #d4edda;
    color: #155724;
}

.jeb-booking-status-cancelled {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: #f8d7da;
    color: #721c24;
}

.jeb-booking-status-pending {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: #fff3cd;
    color: #856404;
}

/* Additional Booking Modal Styles */
.jeb-booking-attendee-info {
    padding: 5px 0;
}

.jeb-booking-attendee-type {
    color: #666;
}

.jeb-booking-discount-amount {
    color: #00a32a;
}

.jeb-booking-total-amount {
    font-weight: bold;
}

.jeb-booking-payment-paid {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: #d4edda;
    color: #155724;
}

.jeb-booking-payment-pending {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    background: #fff3cd;
    color: #856404;
}

.jeb-booking-ticket-section {
    margin-top: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 5px;
    text-align: center;
}

.jeb-booking-ticket-title {
    margin: 0 0 15px;
}

.jeb-booking-ticket-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.jeb-booking-ticket-buttons .jeb-btn {
    flex: 0 1 auto;
    min-width: 150px;
}

.jeb-booking-error {
    color: #d63638;
}



.jeb-refund-info {
    background: #fff3cd;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}


.jeb-refund-amount {
    margin: 10px 0 0;
}


.jeb-no-refund-info {
    background: #f8d7da;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border-left: 4px solid #d63638;
}


.jeb-attendee-warning {
    color: #856404;
    padding: 10px;
    background: #fff3cd;
    border-radius: 5px;
}


.jeb-promo-validating {
    color: #00796b;
}






.jeb-alert-success-text strong {
    font-size: 16px;
}




.jeb-alert-error-text {
    flex: 1;
}




.jeb-error-details {
    color: #999;
    margin-top: 5px;
    display: block;
    font-size: 12px;
}

/* ============================================
   RESPONSIVE STYLES - Consolidated Media Queries
   ============================================ */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
    .jeb-booking-grid {
        grid-template-columns: 1fr;
    }
    
    .jeb-sticky {
        position: static;
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    /* Event Grid */
    .jeb-events-grid {
        grid-template-columns: 1fr;
    }
    
    /* Event Header */
    .jeb-event-header {
        padding: 30px 20px;
    }
    
    .jeb-event-title {
        font-size: 24px;
    }
    
    .jeb-event-meta {
        grid-template-columns: 1fr;
    }
    
    /* Event Footer */
    .jeb-event-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .jeb-footer-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .jeb-price-info {
        justify-content: center;
        padding: 12px;
        background: #f8f9fa;
        border-radius: 6px;
    }
    
    /* Forms */
    .jeb-child-entry .remove-child-btn {
        position: static;
        margin-bottom: 15px;
    }
    
    /* Filters */
    .jeb-filter-bar {
        padding: 15px;
    }
    
    .jeb-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .jeb-filter-tabs {
        flex-direction: column;
    }
    
    .jeb-tab {
        text-align: center;
    }
    
    .jeb-filter-dropdown {
        flex-direction: column;
        align-items: stretch;
    }
    
    .jeb-filter-dropdown select {
        width: 100%;
    }
    
    .jeb-filter-grid {
        grid-template-columns: 1fr;
    }
    
    .jeb-advanced-filters {
        padding: 15px;
    }
    
    .jeb-filter-actions {
        flex-direction: column;
    }
    
    .jeb-filter-actions .jeb-button {
        width: 100%;
    }
    
    /* Pagination */
    .jeb-pagination {
        flex-wrap: wrap;
    }
    
    .jeb-page-numbers {
        flex-wrap: wrap;
    }
    
    /* Cards */
    .jeb-card-body {
        padding: 20px;
    }
    
    /* Tables */
    .jeb-attendees-table {
        font-size: 13px;
    }
    
    .jeb-attendees-table th,
    .jeb-attendees-table td {
        padding: 10px 8px;
    }
    
    /* Promo Code */
    .jeb-promo-input-group {
        flex-direction: column;
    }
    
    /* Login */
    .jeb-login-required {
        padding: 40px 20px;
    }
    
    .jeb-login-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    /* Buttons */
    .jeb-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== EVENTS LIST STYLES ========== */
/* Ensure styles load even if enqueue fails */
@media (max-width: 768px) {
    .jeb-events-grid { grid-template-columns: 1fr; }
    .jeb-filter-tabs { flex-direction: column; }
    .jeb-tab { text-align: center; width: 100%; }
}

/* ========== LOGIN STYLES ========== */

.jeb-custom-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.jeb-custom-login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.jeb-login-container {
    width: 100%;
    min-width: 900px;
    max-width: 1100px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
    position: relative;
}

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

.jeb-login-header {
    background: linear-gradient(135deg, var(--bg-color, #667eea) 0%, #764ba2 100%);
    padding: 50px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.jeb-login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.jeb-login-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.jeb-login-header h1 {
    position: relative;
    z-index: 1;
    font-size: 32px;
    margin: 0 0 10px 0;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.jeb-login-header p {
    position: relative;
    z-index: 1;
    margin: 0;
    opacity: 0.95;
    font-size: 16px;
}

.jeb-login-logo {
    margin-bottom: 20px;
}

.jeb-login-logo img {
    max-width: 200px;
    align-items: center;
}




.jeb-login-body {
    padding: 50px 70px;
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
}

/* Form Group Styling */
.jeb-login-form .jeb-form-group,
.jeb-register-form .jeb-form-group,
.jeb-lostpassword-form .jeb-form-group,
.jeb-resetpass-form .jeb-form-group {
    margin-bottom: 25px;
}

.jeb-login-form .jeb-form-group label,
.jeb-register-form .jeb-form-group label,
.jeb-lostpassword-form .jeb-form-group label,
.jeb-resetpass-form .jeb-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.jeb-login-form input[type="text"],
.jeb-login-form input[type="email"],
.jeb-login-form input[type="password"],
.jeb-register-form input[type="text"],
.jeb-register-form input[type="email"],
.jeb-register-form input[type="password"],
.jeb-lostpassword-form input[type="email"],
.jeb-resetpass-form input[type="password"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.jeb-login-form input:focus,
.jeb-register-form input:focus,
.jeb-lostpassword-form input:focus,
.jeb-resetpass-form input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    background: #fafbff;
}

/* Form Buttons */
.jeb-login-form .jeb-btn-primary,
.jeb-register-form .jeb-btn-primary,
.jeb-lostpassword-form .jeb-btn-primary,
.jeb-resetpass-form .jeb-btn-primary {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.jeb-login-form .jeb-btn-primary:hover,
.jeb-register-form .jeb-btn-primary:hover,
.jeb-lostpassword-form .jeb-btn-primary:hover,
.jeb-resetpass-form .jeb-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

.jeb-login-form .jeb-btn-primary:active,
.jeb-register-form .jeb-btn-primary:active,
.jeb-lostpassword-form .jeb-btn-primary:active,
.jeb-resetpass-form .jeb-btn-primary:active {
    transform: translateY(0);
}

.jeb-login-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: #f5f5f5;
    border-radius: 10px;
    padding: 5px;
}

.jeb-login-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: #666;
    text-decoration: none;
    display: block;
}

.jeb-login-tab:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.jeb-login-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}










.jeb-form-footer {
    margin-top: 25px;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
}

.jeb-form-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.jeb-form-footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.jeb-form-footer p {
    margin: 0;
    color: #666;
    font-size: 15px;
}

.jeb-footer-separator {
    display: inline-block;
    margin: 0 12px;
    color: #999;
    font-weight: 400;
}



.jeb-login-form,
.jeb-register-form,
.jeb-lostpassword-form,
.jeb-resetpass-form {
    display: none;
}

.jeb-login-form.active,
.jeb-register-form.active,
.jeb-lostpassword-form.active,
.jeb-resetpass-form.active {
    display: block !important;
    animation: fadeIn 0.3s ease-in;
}


.jeb-form-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Message styles handled in optimized core - duplicate removed */

.jeb-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #2e7d32;
}





@media (max-width: 1200px) {
    .jeb-login-container {
        min-width: 700px;
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .jeb-login-container {
        min-width: auto;
        max-width: 95%;
        margin: 10px;
    }
    
    .jeb-login-body {
        padding: 40px 35px;
    }
}

@media (max-width: 480px) {
    .jeb-login-container {
        border-radius: 16px;
        max-width: 100%;
        margin: 5px;
        min-width: auto;
    }
    
    .jeb-login-header {
        padding: 35px 25px;
    }
    
    .jeb-login-body {
        padding: 35px 25px;
    }
    
    .jeb-login-header h1 {
        font-size: 26px;
    }
}

/* ========== EVENT DETAILS STYLES ========== */
.jeb-event-details-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
}




.jeb-event-code {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.jeb-event-price-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #00a32a;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
}


.jeb-event-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.jeb-content-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

.jeb-main-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
}

.jeb-gallery-section {
    position: relative;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.jeb-gallery-main {
    width: 100%;
    height: 500px;
    background: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jeb-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.jeb-gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: #f8f8f8;
    overflow-x: auto;
}

.jeb-gallery-thumb {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 6px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.jeb-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}




.jeb-description-section {
    padding: 40px;
}


.jeb-description-content {
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 16px;
}

.jeb-schedules-section {
    padding: 40px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}


.jeb-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.jeb-schedule-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s;
}


.jeb-schedule-date {
    font-size: 18px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 8px;
}

.jeb-schedule-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    margin-bottom: 10px;
}

.jeb-schedule-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.jeb-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    box-sizing: border-box;
}

.jeb-info-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    box-sizing: border-box;
    overflow: hidden;
}


.jeb-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}


.jeb-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}


.jeb-info-content h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.jeb-presenters-section {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}



.jeb-presenters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.jeb-presenter-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}


.jeb-presenter-photo-large {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    width: 100%;
}

.jeb-presenter-photo-large img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}


.jeb-presenter-details {
    flex: 1;
    text-align: center;
}

.jeb-presenter-name {
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.jeb-presenter-title {
    color: #667eea;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.jeb-presenter-organization {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}


.jeb-presenter-bio {
    padding: 15px;
    background: white;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    border-left: 3px solid #667eea;
    margin: 15px 0;
    text-align: left;
}

.jeb-presenter-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.jeb-presenter-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid #667eea;
}



.jeb-capacity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.jeb-capacity-item {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.jeb-capacity-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.jeb-capacity-value {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.jeb-capacity-booked {
    font-size: 12px;
    color: #d63638;
    margin-top: 5px;
}

.jeb-capacity-available {
    font-size: 12px;
    color: #00a32a;
    margin-top: 5px;
}



.jeb-price-total {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 2px solid #ddd;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.jeb-booking-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: sticky;
    top: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Prominent Booking Card */
.jeb-booking-card-prominent {
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.jeb-booking-card-prominent h3 {
    font-size: 26px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.jeb-booking-card-prominent h3 .dashicons {
    font-size: 28px;
}

.jeb-booking-card-prominent .jeb-availability-status {
    padding: 20px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 18px;
    backdrop-filter: blur(10px);
}

.jeb-booking-card-prominent .jeb-availability-status strong {
    display: block;
    margin-top: 5px;
}

/* Login Warning Prominent */
.jeb-login-warning-prominent {
    padding: 25px 20px;
}

.jeb-login-warning-prominent .jeb-login-icon {
    margin-bottom: 15px;
}

.jeb-login-warning-prominent .jeb-login-icon .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    opacity: 0.9;
}

.jeb-login-warning-prominent h4 {
    font-size: 22px;
    margin: 15px 0 10px 0;
    color: white;
}

.jeb-login-warning-prominent p {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}








@media (max-width: 968px) {
    .jeb-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jeb-booking-card {
        position: static;
    }
    
    .jeb-event-header {
        padding: 30px 20px;
        margin: 0 -20px 20px -20px;
    }
    
    .jeb-event-header h1 {
        font-size: 28px;
    }
    
    .jeb-event-meta {
        gap: 10px;
    }
    
    .jeb-capacity-grid {
        grid-template-columns: 1fr;
    }
    
    .jeb-presenters-grid {
        grid-template-columns: 1fr;
    }
    
    .jeb-header-top {
        flex-direction: column;
    }
    
    .jeb-header-action {
        width: 100%;
    }
    
    .jeb-book-button-large {
        width: 100%;
        justify-content: center;
    }
    
    .jeb-bottom-booking-section {
        padding: 30px 20px;
    }
    
    .jeb-presenter-photo-large img {
        width: 120px;
        height: 120px;
    }
    
    .jeb-gallery-main {
        height: 300px;
    }
    
    .jeb-description-section,
    .jeb-schedules-section {
        padding: 20px;
    }
    
    .jeb-info-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .jeb-event-details-wrapper {
        padding: 15px;
    }
    
    .jeb-event-header {
        padding: 20px 15px;
        margin: 0 -15px 15px -15px;
        border-radius: 12px;
    }
    
    .jeb-event-header h1 {
        font-size: 24px;
    }
    
    .jeb-event-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .jeb-gallery-main {
        height: 250px;
    }
    
    .jeb-gallery-thumbnails {
        padding: 10px;
        gap: 8px;
    }
    
    .jeb-gallery-thumb {
        width: 80px;
        height: 56px;
    }
    
    .jeb-description-section,
    .jeb-schedules-section {
        padding: 15px;
    }
    
    .jeb-info-card {
        padding: 15px;
    }
    
    .jeb-info-item {
        gap: 10px;
    }
    
    .jeb-info-icon {
        width: 35px;
        height: 35px;
    }
    
    .jeb-content-grid {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .jeb-event-details-wrapper {
        padding: 10px;
    }
    
    .jeb-event-header {
        padding: 15px 10px;
        margin: 0 -10px 10px -10px;
    }
    
    .jeb-event-header h1 {
        font-size: 20px;
    }
    
    .jeb-gallery-main {
        height: 200px;
    }
    
    .jeb-description-section,
    .jeb-schedules-section {
        padding: 10px;
    }
    
    .jeb-info-card {
        padding: 10px;
    }
    
    .jeb-content-grid {
        gap: 10px;
    }
}

/* ========== MANAGE ATTENDEES STYLES ========== */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}
.badge-child {
    background: #d4edda;
    color: #155724;
}
.badge-adult {
    background: #cce5ff;
    color: #004085;
}
.badge-infant {
    background: #fff3cd;
    color: #856404;
}
.badge-senior {
    background: #e7e4f9;
    color: #5a2f82;
}
.badge-parent, .badge-guardian {
    background: #cce5ff;
    color: #004085;
}
.jeb-btn-link {
    background: none;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    color: #2271b1;
}

.jeb-btn-link:hover {
    color: #135e96;
    text-decoration: none;
}

.jeb-btn-link.color-danger {
    color: #d63638;
}

.jeb-btn-link.color-danger:hover {
    color: #b32d2e;
}

/* ========== MY BOOKINGS STYLES ========== */
.booking-row {
    transition: opacity 0.3s ease;
}
.booking-notes {
    color: #666;
    font-style: italic;
}
.event-past {
    color: #999;
    font-size: 11px;
}
.jeb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
}
.form-group {
    margin-bottom: 20px;
}
.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.booking-actions a {
    display: inline-block;
    margin: 2px 0;
    font-size: 13px;
}
.attendees-list {
    width: 100%;
    border-collapse: collapse;
}
.remove-attendee-btn {
    color: #d63638;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

/* ========== ADVANCED SEARCH FORM STYLES ========== */
.jeb-advanced-search {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 30px;
}

.jeb-search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}


.jeb-toggle-filters {
    background: none;
    border: none;
    color: #2271b1;
    cursor: pointer;
    font-size: 14px;
    text-decoration: underline;
}


.jeb-search-basic {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.jeb-search-keyword {
    flex: 1;
}

.jeb-search-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
}


.jeb-search-actions {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}


.jeb-search-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.jeb-search-field-full {
    grid-column: 1 / -1;
}

.jeb-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jeb-checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    margin: 0;
}

.jeb-view-switcher {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.jeb-view-btn {
    flex: 1;
    padding: 10px;
    background: #f0f0f1;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
}



@media (max-width: 768px) {
    .jeb-search-basic {
        flex-direction: column;
    }
    
    .jeb-search-row {
        grid-template-columns: 1fr;
    }
    
    .jeb-checkbox-group {
        flex-direction: column;
    }
}

/* ========== EVENTS MAP STYLES ========== */
.jeb-map-events-list {
    max-height: 600px;
    overflow-y: auto;
}



/* Google Maps info window styling */
.gm-style .gm-style-iw-c {
    padding: 12px !important;
}


#map-sidebar {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
}

#map-sidebar h4 {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #2271b1;
}

@media (max-width: 768px) {
    #map-canvas {
        height: 400px;
    }
}

/* ========== MY PROFILE STYLES ========== */
/* My Profile Styles */




.jeb-profile-section {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.jeb-profile-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.jeb-profile-section-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.jeb-profile-section-header .jeb-btn {
    margin-left: 15px;
}


.jeb-profile-info {
    padding: 20px;
}

.jeb-profile-field {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.jeb-profile-field:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.jeb-profile-field label {
    font-weight: 600;
    color: #555;
    padding-top: 2px;
}

.jeb-profile-field span {
    color: #333;
    line-height: 1.6;
}



/* Form Styles */
.jeb-profile-form {
    padding: 20px;
    background: #fff;
}

.jeb-profile-form h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.jeb-profile-form .jeb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.jeb-profile-form .jeb-form-group {
    margin-bottom: 0;
}

.jeb-profile-form .jeb-form-group.full-width {
    grid-column: 1 / -1;
}

.jeb-profile-form .jeb-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.jeb-profile-form .jeb-form-group input[type="text"],
.jeb-profile-form .jeb-form-group input[type="email"],
.jeb-profile-form .jeb-form-group input[type="tel"],
.jeb-profile-form .jeb-form-group input[type="date"],
.jeb-profile-form .jeb-form-group select,
.jeb-profile-form .jeb-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.jeb-profile-form .jeb-form-group input:focus,
.jeb-profile-form .jeb-form-group select:focus,
.jeb-profile-form .jeb-form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.jeb-profile-form .jeb-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.jeb-profile-form .jeb-form-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
    cursor: pointer;
}

.jeb-profile-form .jeb-address-fields {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}







.required {
    color: #e74c3c;
    font-weight: normal;
}

.jeb-profile-form .jeb-form-actions {
    display: flex;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.jeb-profile-form .jeb-form-actions .jeb-btn {
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jeb-profile-form .jeb-form-actions a.jeb-btn {
    text-decoration: none;
}


/* Button Styles */





.jeb-btn-small {
    padding: 6px 12px;
    font-size: 12px;
}

/* Child Profile Styles */
.jeb-child-profile {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.jeb-child-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.jeb-child-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.jeb-child-header .jeb-btn {
    padding: 6px 12px;
    font-size: 13px;
}

.jeb-child-info {
    padding: 20px;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.jeb-child-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.jeb-child-header .jeb-btn {
    padding: 6px 12px;
    font-size: 13px;
}

.jeb-child-info {
    padding: 20px;
}

.jeb-child-form {
    background: #fff;
    border: 2px solid #4CAF50;
    margin-bottom: 30px;
}

.jeb-child-form h4 {
    color: #4CAF50;
}


.jeb-child-actions .editing {
    color: #6c757d;
    font-style: italic;
    font-size: 12px;
}

.jeb-child-form {
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}


/* Address Fields Toggle */
.jeb-address-fields {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


/* Responsive Design */
@media (max-width: 768px) {
    .jeb-form-grid,
    .jeb-address-fields {
        grid-template-columns: 1fr;
    }
    
    .jeb-profile-section-header,
    .jeb-child-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .jeb-profile-section-header .jeb-btn {
        margin-left: 0;
        width: 100%;
    }
    
    .jeb-profile-field {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .jeb-profile-field label {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 0;
    }
    
    .jeb-form-actions,
    .jeb-profile-form .jeb-form-actions {
        flex-direction: column;
    }
    
    .jeb-profile-form .jeb-form-actions .jeb-btn {
        width: 100%;
        justify-content: center;
    }
    
    .jeb-profile-form .jeb-form-grid {
        grid-template-columns: 1fr;
    }
    
    .jeb-profile-form .jeb-address-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .jeb-my-profile {
        padding: 15px;
    }
    
    .jeb-profile-section-header,
    .jeb-profile-info,
    .jeb-profile-form {
        padding: 15px;
    }
    
    .jeb-child-header {
        padding: 12px 15px;
    }
}

/* ========== PLUGIN FOOTER STYLES ========== */
.jeb-plugin-footer {
    display: none !important;
}
.jeb-footer-content {
    max-width: 1200px;
    margin: 0 auto;
}
.jeb-footer-copyright {
    font-size: 15px;
    margin: 0 0 10px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.jeb-footer-credits {
    font-size: 13px;
    margin: 0;
    opacity: 0.95;
}
@media (max-width: 768px) {
    .jeb-plugin-footer {
        padding: 25px 15px;
        margin-top: 40px;
    }
    .jeb-footer-copyright {
        font-size: 14px;
    }
    .jeb-footer-credits {
        font-size: 12px;
    }
}
/* ========== PARENT MESSAGES PAGE ========== */
.jeb-my-messages {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.jeb-my-messages h2 {
    margin: 0 0 20px 0;
    font-size: 28px;
    color: var(--jeb-text);
}

.jeb-messages-header-actions {
    margin-bottom: 20px;
}

.jeb-messages-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    margin-top: 20px;
    min-height: 600px;
}

.jeb-messages-sidebar {
    background: white;
    border: 1px solid var(--jeb-border);
    border-radius: var(--jeb-radius-md);
    padding: 0;
    max-height: 700px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--jeb-shadow-sm);
}

.jeb-messages-sidebar h3 {
    margin: 0;
    padding: 15px 20px;
    font-size: 16px;
    border-bottom: 1px solid var(--jeb-border);
    background: var(--jeb-bg-light);
    font-weight: 600;
    color: var(--jeb-text);
}

.jeb-bookings-list {
    overflow-y: auto;
    flex: 1;
}

.jeb-booking-item {
    border-bottom: 1px solid var(--jeb-border);
    transition: all 0.2s ease;
}

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

.jeb-booking-item:hover {
    background: var(--jeb-bg-light);
}

.jeb-booking-item.active {
    background: #e7f5ff;
    border-left: 3px solid var(--jeb-primary);
}

.jeb-booking-item a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: inherit;
}

.jeb-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 10px;
}

.jeb-booking-header strong {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    color: var(--jeb-text);
    font-weight: 600;
}

.jeb-unread-badge {
    background: #d63638;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    flex-shrink: 0;
}

.jeb-booking-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.jeb-booking-details small {
    color: var(--jeb-text-muted);
    font-size: 12px;
    line-height: 1.4;
}

.jeb-messages-content {
    background: white;
    border: 1px solid var(--jeb-border);
    border-radius: var(--jeb-radius-md);
    display: flex;
    flex-direction: column;
    box-shadow: var(--jeb-shadow-sm);
}

.jeb-messages-header {
    padding: 20px;
    border-bottom: 1px solid var(--jeb-border);
    background: var(--jeb-bg-light);
}

.jeb-messages-header h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: var(--jeb-text);
    font-weight: 600;
}

.jeb-messages-header small {
    color: var(--jeb-text-muted);
    font-size: 13px;
}

.jeb-messages-thread {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 450px;
    min-height: 300px;
    background: #fafafa;
}

.jeb-no-messages,
.jeb-no-booking-selected,
.jeb-no-bookings {
    text-align: center;
    padding: 60px 20px;
    color: var(--jeb-text-muted);
}

.jeb-no-messages p,
.jeb-no-booking-selected p,
.jeb-no-bookings p {
    margin: 0 0 15px 0;
    font-size: 15px;
}

.jeb-message {
    margin-bottom: 15px;
    padding: 12px 15px;
    border-radius: var(--jeb-radius-md);
    max-width: 75%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    clear: both;
}

.jeb-message.parent {
    background: #e7f5ff;
    margin-left: auto;
    border: 1px solid #2271b1;
    float: right;
}

.jeb-message.admin {
    background: white;
    margin-right: auto;
    border: 1px solid var(--jeb-border);
    float: left;
}

.jeb-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    gap: 15px;
}

.jeb-message-header strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--jeb-text);
}

.jeb-message-header small {
    color: var(--jeb-text-muted);
    font-size: 11px;
    white-space: nowrap;
}

.jeb-message-body {
    line-height: 1.6;
    color: var(--jeb-text);
    font-size: 14px;
    word-wrap: break-word;
}

.jeb-message-type {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.jeb-message-type small {
    color: var(--jeb-text-muted);
    font-style: italic;
    font-size: 12px;
}

.jeb-message-form {
    padding: 20px;
    border-top: 1px solid var(--jeb-border);
    background: white;
}

.jeb-message-form .jeb-form-row {
    margin-bottom: 15px;
}

.jeb-message-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--jeb-text);
}

.jeb-message-form .jeb-form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--jeb-border);
    border-radius: var(--jeb-radius-sm);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.jeb-message-form .jeb-form-control:focus {
    outline: none;
    border-color: var(--jeb-primary);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.jeb-message-form textarea.jeb-form-control {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.jeb-message-form .jeb-form-actions {
    text-align: right;
    margin-top: 15px;
}

#jeb-message-response {
    margin-top: 15px;
}

#jeb-message-response .jeb-success-message {
    background: var(--jeb-success-bg);
    color: var(--jeb-success);
    padding: 12px 15px;
    border-radius: var(--jeb-radius-sm);
    border-left: 3px solid var(--jeb-success);
    font-size: 14px;
}

#jeb-message-response .jeb-error-message {
    background: var(--jeb-error-bg);
    color: var(--jeb-error);
    padding: 12px 15px;
    border-radius: var(--jeb-radius-sm);
    border-left: 3px solid var(--jeb-error);
    font-size: 14px;
}

@media (max-width: 992px) {
    .jeb-messages-container {
        grid-template-columns: 1fr;
    }
    
    .jeb-messages-sidebar {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .jeb-my-messages {
        padding: 15px;
    }
    
    .jeb-messages-sidebar {
        max-height: 300px;
    }
    
    .jeb-message {
        max-width: 90%;
    }
    
    .jeb-messages-thread {
        max-height: 350px;
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .jeb-message {
        max-width: 100%;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .jeb-message-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ========== HELP GUIDE STYLES ========== */
.jeb-help-guide {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.jeb-help-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2c3e50;
}

.jeb-help-header h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.jeb-help-header p {
    color: #7f8c8d;
    font-size: 1.1em;
}

.jeb-help-toc {
    background: #ecf0f1;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.jeb-help-toc h2 {
    color: #2c3e50;
    margin-top: 0;
    font-size: 1.3em;
}

.jeb-help-toc ul {
    list-style: none;
    padding-left: 0;
}

.jeb-help-toc li {
    margin: 8px 0;
}

.jeb-help-toc a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.jeb-help-toc a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.jeb-help-section {
    margin-bottom: 50px;
    scroll-margin-top: 80px;
}

.jeb-help-section h2 {
    color: #2c3e50;
    font-size: 2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.jeb-help-section h3 {
    color: #34495e;
    font-size: 1.4em;
    margin-top: 25px;
    margin-bottom: 10px;
}

.jeb-help-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.jeb-help-section ol,
.jeb-help-section ul {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.jeb-help-section li {
    margin-bottom: 10px;
}

.jeb-step-box {
    background: #fff;
    border-left: 4px solid #3498db;
    padding: 15px 20px;
    margin: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.jeb-step-box strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.jeb-info-box {
    background: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
}

.jeb-info-box .dashicons {
    color: #4caf50;
    font-size: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.jeb-warning-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
}

.jeb-warning-box .dashicons {
    color: #ffc107;
    font-size: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.jeb-success-box {
    background: #d5f4e6;
    border-left: 4px solid #27ae60;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
}

.jeb-help-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.jeb-quick-link {
    display: inline-block;
    background: #3498db;
    color: white !important;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none !important;
    margin: 5px;
    transition: background 0.3s;
}

.jeb-quick-link:hover {
    background: #2980b9;
}

.jeb-help-footer {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #ecf0f1;
}

.jeb-help-footer p {
    color: #7f8c8d;
    font-size: 0.95em;
}

@media (max-width: 768px) {
    .jeb-help-guide {
        padding: 15px;
    }
    
    .jeb-help-header h1 {
        font-size: 2em;
    }
    
    .jeb-help-section h2 {
        font-size: 1.6em;
    }
}

/* ========== MESSAGES PAGE STYLES ========== */
.jeb-my-messages { max-width: 1400px; margin: 0 auto; padding: 20px; }
.jeb-my-messages h2 { margin: 0 0 20px 0; font-size: 28px; }
.jeb-messages-header-actions { margin-bottom: 20px; }
.jeb-messages-container { display: grid; grid-template-columns: 320px 1fr; gap: 20px; min-height: 600px; }
.jeb-messages-sidebar { background: white; border: 1px solid #e0e0e0; border-radius: 6px; max-height: 700px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.jeb-messages-sidebar h3 { margin: 0; padding: 15px 20px; font-size: 16px; border-bottom: 1px solid #e0e0e0; background: #f8f9fa; font-weight: 600; }
.jeb-bookings-list { overflow-y: auto; flex: 1; }
.jeb-booking-item { border-bottom: 1px solid #e0e0e0; transition: all 0.2s ease; }
.jeb-booking-item:hover { background: #f8f9fa; }
.jeb-booking-item.active { background: #e7f5ff; border-left: 3px solid #4CAF50; }
.jeb-booking-item a { display: block; padding: 15px; text-decoration: none; color: inherit; }
.jeb-booking-header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.jeb-booking-header strong { flex: 1; font-size: 14px; font-weight: 600; }
.jeb-unread-badge { background: #d63638; color: white; padding: 3px 8px; border-radius: 12px; font-size: 11px; font-weight: bold; }
.jeb-booking-details { display: flex; flex-direction: column; gap: 4px; }
.jeb-booking-details small { color: #666; font-size: 12px; }
.jeb-messages-content { background: white; border: 1px solid #e0e0e0; border-radius: 6px; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.jeb-messages-header { padding: 20px; border-bottom: 1px solid #e0e0e0; background: #f8f9fa; }
.jeb-messages-header h3 { margin: 0 0 5px 0; font-size: 18px; font-weight: 600; }
.jeb-messages-header small { color: #666; font-size: 13px; }
.jeb-messages-thread { flex: 1; padding: 20px; overflow-y: auto; max-height: 450px; min-height: 300px; background: #fafafa; }
.jeb-no-messages, .jeb-no-booking-selected, .jeb-no-bookings { text-align: center; padding: 60px 20px; color: #666; }
.jeb-message { margin-bottom: 15px; padding: 12px 15px; border-radius: 6px; max-width: 75%; box-shadow: 0 1px 2px rgba(0,0,0,0.08); clear: both; }
.jeb-message.parent { background: #e7f5ff; margin-left: auto; border: 1px solid #2271b1; float: right; }
.jeb-message.admin { background: white; margin-right: auto; border: 1px solid #e0e0e0; float: left; }
.jeb-message-header { display: flex; justify-content: space-between; margin-bottom: 8px; gap: 15px; }
.jeb-message-header strong { font-size: 13px; font-weight: 600; }
.jeb-message-header small { color: #666; font-size: 11px; }
.jeb-message-body { line-height: 1.6; font-size: 14px; word-wrap: break-word; }
.jeb-message-type { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.08); }
.jeb-message-form { padding: 20px; border-top: 1px solid #e0e0e0; background: white; }
.jeb-message-form .jeb-form-row { margin-bottom: 15px; }
.jeb-message-form label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.jeb-message-form .jeb-form-control { width: 100%; padding: 10px 12px; border: 1px solid #e0e0e0; border-radius: 4px; font-size: 14px; font-family: inherit; box-sizing: border-box; }
.jeb-message-form .jeb-form-control:focus { outline: none; border-color: #4CAF50; box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1); }
.jeb-message-form textarea.jeb-form-control { resize: vertical; min-height: 100px; line-height: 1.5; }
.jeb-message-form .jeb-form-actions { text-align: right; margin-top: 15px; }
#jeb-message-response { margin-top: 15px; }
#jeb-message-response .jeb-success-message { background: #d4edda; color: #155724; padding: 12px 15px; border-radius: 4px; border-left: 3px solid #155724; }
#jeb-message-response .jeb-error-message { background: #f8d7da; color: #721c24; padding: 12px 15px; border-radius: 4px; border-left: 3px solid #721c24; }

@media (max-width: 992px) { 
    .jeb-messages-container { grid-template-columns: 1fr; } 
    .jeb-messages-sidebar { max-height: 400px; } 
}

@media (max-width: 768px) { 
    .jeb-my-messages { padding: 15px; } 
    .jeb-messages-sidebar { max-height: 300px; } 
    .jeb-message { max-width: 90%; } 
}

@media (max-width: 480px) { 
    .jeb-message { max-width: 100%; float: none !important; margin-left: 0 !important; margin-right: 0 !important; } 
}

/* ========== BOOKING DETAILS MODAL STYLES ========== */
.jeb-booking-details-modal h2 {
    margin-top: 0;
    color: #1e1e1e;
}

.jeb-booking-details-modal h3 {
    margin-top: 25px;
    margin-bottom: 15px;
    color: #1e1e1e;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 8px;
}

.jeb-details-table {
    width: 100%;
    border-collapse: collapse;
}

.jeb-details-table th {
    text-align: left;
    padding: 10px;
    width: 150px;
    font-weight: 600;
    color: #646970;
}

.jeb-details-table td {
    padding: 10px;
}

.jeb-details-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.jeb-booking-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e0e0e0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.jeb-booking-actions .jeb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.jeb-booking-actions .jeb-btn-primary {
    background: #2271b1;
    color: #fff;
}

.jeb-booking-actions .jeb-btn-primary:hover {
    background: #135e96;
}

.jeb-booking-actions .jeb-btn-secondary {
    background: #f0f0f1;
    color: #2c3338;
}

.jeb-booking-actions .jeb-btn-secondary:hover {
    background: #dcdcde;
}

.jeb-booking-actions .jeb-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.jeb-booking-actions .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* ========== LANGUAGE SWITCHER STYLES ========== */
.jeb-language-switcher {
    display: inline-block;
    margin-left: 15px;
}

.jeb-language-select {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
}

.jeb-language-select:hover {
    border-color: #2271b1;
}

/* ========== CUSTOM NAVBAR STYLES ========== */
/* Hide theme navigation */
body .site-header nav,
body #site-navigation,
body .main-navigation,
body nav.navbar,
body header nav:not(.jeb-custom-navbar) {
    display: none !important;
}

.jeb-custom-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #2c3e50;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.jeb-navbar-logo {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.jeb-navbar-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.jeb-nav-item {
    margin: 0;
}

.jeb-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: #ecf0f1 !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.jeb-nav-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff !important;
}

.jeb-nav-link.logout-link {
    background: #e74c3c;
    color: #fff !important;
}

.jeb-nav-link.logout-link:hover {
    background: #c0392b;
}

.jeb-nav-link.login-link {
    background: #3498db;
    color: #fff !important;
}

.jeb-nav-link.login-link:hover {
    background: #2980b9;
}

.jeb-nav-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #e74c3c;
    color: white;
    padding: 2px 5px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    text-align: center;
}

/* Add padding to body to prevent content overlap */
body {
    padding-top: 60px !important;
}

/* Mobile Menu */
.jeb-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .jeb-custom-navbar {
        padding: 0 15px;
    }
    
    .jeb-mobile-toggle {
        display: block;
    }
    
    .jeb-navbar-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 250px;
        height: calc(100vh - 60px);
        background: #2c3e50;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        transition: left 0.3s ease;
        align-items: stretch;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    }
    
    .jeb-navbar-menu.active {
        left: 0;
    }
    
    .jeb-nav-item {
        width: 100%;
    }
    
    .jeb-nav-link {
        width: 100%;
        border-radius: 0;
        padding: 12px 20px;
        justify-content: flex-start;
    }
}

/* ========== ATTENDANCE SHEET (PRINT) STYLES ========== */
.jeb-attendance-sheet body {
    font-family: Arial, sans-serif;
    margin: 20px;
}

.jeb-attendance-sheet .header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 20px;
}

.jeb-attendance-sheet .event-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.jeb-attendance-sheet .event-details {
    font-size: 14px;
    color: #666;
}

.jeb-attendance-sheet .attendance-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.jeb-attendance-sheet .attendance-table th,
.jeb-attendance-sheet .attendance-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.jeb-attendance-sheet .attendance-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.jeb-attendance-sheet .check-column {
    width: 50px;
    text-align: center;
}

.jeb-attendance-sheet .signature-column {
    width: 150px;
}

.jeb-attendance-sheet .status-checked {
    background-color: #d4edda;
}

.jeb-attendance-sheet .status-pending {
    background-color: #fff3cd;
}

.jeb-attendance-sheet .print-info {
    font-size: 12px;
    color: #999;
    margin-top: 20px;
    text-align: center;
}

@media print {
    .jeb-attendance-sheet .print-info {
        display: none;
    }
    
    .jeb-attendance-sheet body {
        margin: 0;
    }
}
