/* Frontend Styles */
.beo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Event Card (List) styling */
.beo-event-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
    background: #fff;
}
.beo-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* Inputs styling */
.beo-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}
.beo-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* -------------------------------------------------------------
   SINGLE EVENT PREMIUM REDESIGN
   ------------------------------------------------------------- */

/* Hero Banner Layout */
.beo-event-hero {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.beo-event-hero-image-wrapper {
    width: 100%;
    height: 100%;
}

.beo-event-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.beo-event-hero:hover .beo-event-hero-img {
    transform: scale(1.03);
}

.beo-event-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

/* Placeholder for events without thumbnail */
.beo-event-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.beo-event-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    z-index: 2;
}

.beo-event-hero-title {
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 800;
    margin: 15px 0 0 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.5px;
}

/* Taxonomy Badges Overlay */
.beo-event-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.beo-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.beo-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    border-color: rgba(255, 255, 255, 0.5);
}

.beo-pill-location {
    background: rgba(16, 185, 129, 0.4); /* Green */
}
.beo-pill-category {
    background: rgba(59, 130, 246, 0.4); /* Blue */
}
.beo-pill-type {
    background: rgba(139, 92, 246, 0.4); /* Purple */
}

.beo-pill .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

/* Split Columns Layout */
.beo-event-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    align-items: flex-start;
}

/* Left Column (66%) */
.beo-event-description-column {
    flex: 2;
    min-width: 0;
}

/* Right Column (33%) */
.beo-event-booking-column {
    flex: 1;
    min-width: 340px;
    position: -webkit-sticky;
    position: sticky;
    top: 30px;
}

/* Premium Card Style */
.beo-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.3s ease;
    box-sizing: border-box;
}

.beo-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.04);
}

/* Description Card CSS */
.beo-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.5px;
}

.beo-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: #3b82f6;
    border-radius: 2px;
}

.beo-detail-meta {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 25px;
    border-left: 4px solid #3b82f6;
    border-top: 1px solid #edf2f7;
    border-right: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.beo-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.beo-meta-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.beo-meta-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.beo-content-body {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
}

.beo-content-body p {
    margin-bottom: 1.5em;
}

.beo-content-body ul, .beo-content-body ol {
    margin-bottom: 1.5em;
    padding-left: 20px;
}

/* Booking Card (Right Side) */
.beo-booking-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.beo-booking-card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: -0.5px;
}

.beo-step-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e2e8f0;
}

.beo-step-section:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
    padding-bottom: 0;
}

.beo-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 0;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.beo-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3b82f6;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
}

/* Class Selection List */
.beo-class-selector-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.beo-class-box-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
}

.beo-class-box-item:hover {
    border-color: #cbd5e1;
    background: #f1f5f9;
}

.beo-class-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

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

.beo-class-price {
    font-weight: 800;
    color: #10b981;
    font-size: 0.95rem;
}

/* Slots Grid Style */
.beo-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
    gap: 6px;
}

.beo-slot {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    box-sizing: border-box;
}

.beo-slot.available:hover {
    border-color: #10b981;
    color: #10b981;
    background: #ecfdf5;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15);
}

.beo-slot.selected {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
    transform: scale(1.05);
}

.beo-slot.locked {
    background: #fef08a;
    border-color: #fde047;
    color: #854d0e;
    cursor: not-allowed;
}

.beo-slot.booked {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
    cursor: not-allowed;
}

/* Biodata Form Fields */
.beo-biodata-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.beo-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.beo-field-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
}

/* Payment Methods Grid Styling */
.beo-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.beo-payment-item {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    padding: 12px 10px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    color: #334155;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    box-sizing: border-box;
}

.beo-payment-item:hover {
    border-color: #94a3b8;
    background: #f8fafc;
    transform: translateY(-1px);
}

.beo-payment-item.active {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #1d4ed8;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
}

.beo-payment-name {
    font-size: 0.8rem;
    line-height: 1.2;
}

/* Submit Action Button styling */
.beo-submit-booking-action {
    margin-top: 15px;
}

.beo-btn-submit {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    transition: all 0.2s ease;
}

.beo-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.beo-btn-submit:active {
    transform: translateY(1px);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
}

.beo-btn-submit:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.beo-no-data {
    font-size: 0.85rem;
    color: #64748b;
    text-align: center;
    font-style: italic;
    margin: 10px 0;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .beo-event-layout {
        flex-direction: column;
    }
    
    .beo-event-description-column,
    .beo-event-booking-column {
        width: 100%;
        flex: none;
    }
    
    .beo-event-booking-column {
        position: static;
    }
}

@media (max-width: 768px) {
    .beo-event-hero {
        height: 280px;
    }
    
    .beo-event-hero-content {
        padding: 20px;
    }
    
    .beo-event-hero-title {
        font-size: 1.8rem;
    }
    
    .beo-pill {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}
