/* Main Container */
.eventpro-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Search */
.search-container {
    position: relative;
    margin-bottom: 30px;
    padding: 20px;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    transition: border-color 0.3s;
   
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
}

.search-icon {
    position: absolute;
    left: 95%;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Filters */
.filters-container {
    margin-bottom: 30px;
}

.filter-section {
    margin-bottom: 20px;
}

.filter-section h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 8px 16px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 20px;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #e9e9e9;
}

.filter-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Events */
.events-container {
    margin-top: 30px;
}

.event-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    position: relative;
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #667eea;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    z-index: 2;
}

.event-date .day {
    display: block;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 14px;
    margin: 5px 0;
}

.event-date .year {
    display: block;
    font-size: 12px;
    opacity: 0.9;
}

.event-image {
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-content {
    padding: 20px;
}

.event-content h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.event-content h3 a {
    color: #333;
    text-decoration: none;
}

.event-content h3 a:hover {
    color: #667eea;
}

.location, .time {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.location i, .time i {
    margin-right: 8px;
    color: #667eea;
}

.event-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn-details, .btn-book {
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-details {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-details:hover {
    background: #667eea;
    color: white;
}

.btn-book {
    background: #667eea;
    border: 2px solid #667eea;
    color: white;
}

.btn-book:hover {
    background: #5a6cd8;
    border-color: #5a6cd8;
}

/* Loading */
.loading-container {
    text-align: center;
    padding: 40px;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

input#event_search {
    padding: 10px;
}

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

/* View All */
.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.view-all-btn:hover {
    background: #5a6cd8;
}

.help-text {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}


.smart-filter-loader {
    text-align: center;
    padding: 40px;
}

.smart-filter-loader .loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

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

/* No Events */
.no-events {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .col-md-4 {
        width: 100%;
    }
    
    .filter-buttons {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .event-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-details, .btn-book {
        width: 100%;
        text-align: center;
    }
}