﻿body {
}

.events-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.events-header {
    text-align: center;
    margin-bottom: 50px;
}

.events-title {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.events-subtitle {
    color: #7f8c8d;
    font-size: 1.1rem;
}

/* Create Event Button */
.create-event-section {
    text-align: center;
    margin-bottom: 40px;
}

.btn-create-event {
    display: inline-block;
    padding: 12px 30px;
    background-color: #27ae60;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn-create-event:hover {
    background-color: #229954;
    color: white;
    transform: translateY(-2px);
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.event-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.event-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.event-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.event-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.95rem;
}

.event-meta-icon {
    font-size: 1.2rem;
    min-width: 25px;
}

.event-meta-text {
    flex: 1;
}

.event-date {
    font-weight: 600;
    color: #667eea;
}

.event-location {
    font-weight: 500;
}

.event-card-footer {
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.btn-view-details {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #667eea;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-view-details:hover {
    background-color: #764ba2;
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #7f8c8d;
}

.empty-state-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .events-title {
        font-size: 2rem;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-card-header {
        min-height: 60px;
        padding: 15px;
    }

    .event-card-title {
        font-size: 1.2rem;
    }

    .event-card-body {
        padding: 15px;
    }
}
