/**
 * Events page styles - Simplified version
 * Optimized for events listing only
 */

/* Event list styles */
.events-list {
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background: #f8f9fa;
}

.event-card {
    background: white;
    border: 1px solid #e3e6f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: all 0.2s ease-in-out;
}

.event-card:hover {
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

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

.event-status {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-planned {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-completed {
    background-color: #f8d7da;
    color: #721c24;
}

.status-cancelled {
    background-color: #f8f9fa;
    color: #6c757d;
}

.event-time {
    font-size: 0.875rem;
    color: #495057;
    margin-bottom: 0.25rem;
}

.event-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

/* Empty state styles */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Page header styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

.page-header h1 {
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.page-header .lead {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Events count badge */
.events-count {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .page-header {
        padding: 1.5rem 0;
        text-align: center;
    }
    
    .event-card {
        padding: 0.75rem;
    }
    
    .event-card .row {
        flex-direction: column;
    }
    
    .event-card .col-md-6 {
        margin-bottom: 0.5rem;
    }
    
    .events-list {
        max-height: 500px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header .lead {
        font-size: 1rem;
    }
    
    .event-card h5 {
        font-size: 1.1rem;
    }
    
    .event-status {
        font-size: 0.7rem;
    }
}
