/**
 * Events List Template Styles
 * Modern card-based event listing with expand/collapse functionality
 */

.ticketpaygo-events-list {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.ticketpaygo-events-list .no-events {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

.ticketpaygo-events-list .no-events-content svg {
    color: #cbd5e0;
    margin-bottom: 20px;
}

.ticketpaygo-events-list .no-events h3 {
    color: #2d3748;
    font-size: 24px;
    margin: 15px 0 10px;
}

.ticketpaygo-events-list .no-events p {
    color: #718096;
    font-size: 16px;
    margin: 0;
}

.ticketpaygo-events-list .events-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.ticketpaygo-event-card-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ticketpaygo-event-card-list:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.ticketpaygo-event-card-list.expanded {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.event-card-compact {
    cursor: pointer;
    position: relative;
    height: 280px;
    overflow: hidden;
}

.event-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image-placeholder svg {
    color: rgba(255, 255, 255, 0.5);
}

.event-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(10, 73, 116, 0.95), transparent);
    color: white;
}

.event-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px;
    color: white !important;
}

.event-quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    color: white;
}

.event-quick-info .info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
}

.event-quick-info .info-item svg {
    flex-shrink: 0;
    color: white;
}

.event-quick-info .info-item.price {
    font-weight: 600;
    font-size: 16px;
}

.expand-indicator {
    text-align: center;
    margin-top: 10px;
    animation: bounce 2s infinite;
}

.expand-indicator svg {
    color: white;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.event-details-expanded {
    padding: 30px;
    background: #f8f9fa;
    border-top: 3px solid #0A4974;
}

.event-section {
    margin-bottom: 25px;
}

.event-section:last-child {
    margin-bottom: 0;
}

.event-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 12px;
}

.event-section h4 svg {
    color: #0A4974;
    flex-shrink: 0;
}

.event-section .section-content {
    color: #4a5568;
    line-height: 1.6;
}

.event-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .event-details-grid {
        grid-template-columns: 1fr;
    }
}

.detail-column {
    min-width: 0;
}

.event-booking-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.ticketpaygo-book-now {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #42963B;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ticketpaygo-book-now:hover {
    background: #368030;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 150, 59, 0.3);
}

.ticketpaygo-book-now svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .event-card-compact {
        height: 240px;
    }
    
    .event-title {
        font-size: 18px;
    }
    
    .event-quick-info {
        gap: 10px;
        font-size: 13px;
    }
    
    .event-details-expanded {
        padding: 20px;
    }
}
