.events-container {
    max-width: 900px;
    margin: 0 auto;
}

.event-date-badge {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #146d52 0%, #0c4231 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(20, 109, 82, 0.2);
    transition: all 0.3s ease;
}

.event-item:hover .event-date-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(20, 109, 82, 0.3);
}

.event-day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 4px 0;
}

.event-time {
    font-size: 0.8rem;
    opacity: 0.9;
}

.category-tag {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.category-forum {
    background-color: #d1eae0;
    color: #0c4231;
}

.category-formation {
    background-color: #ffedb3;
    color: #8a6200;
}

.event-item {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.event-item:hover {
    border-left-color: #146d52;
    transform: translateX(4px);
    background-color: #f7fdfa;
}

.event-title {
    position: relative;
    display: inline-block;
}

.event-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #146d52;
    transition: width 0.3s ease;
}

.event-item:hover .event-title::after {
    width: 100%;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-actions {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.event-item:hover .event-actions {
    opacity: 1;
}

.register-btn {
    position: relative;
    overflow: hidden;
}

.register-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.7s ease;
}

.register-btn:hover::before {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .event-item .flex {
        flex-direction: column;
    }

    .event-date-badge {
        flex-direction: row;
        width: 100%;
        height: auto;
        padding: 12px;
        justify-content: space-around;
        margin-bottom: 16px;
    }

    .event-day,
    .event-month,
    .event-time {
        margin: 0 4px;
    }
}

/* Status indicator for past events */
.event-status {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    background-color: #ef4444;
    color: white;
    font-weight: 600;
}

/* Calendar export button */
.calendar-export {
    transition: all 0.3s ease;
}

.calendar-export:hover {
    background-color: #f1f5f9;
}

.header-gradient {
    background: linear-gradient(135deg, #146d52 0%, #0c4231 100%);
}

.filter-btn.active {
    background-color: #146d52;
    color: white;
}

.search-wrapper.focused .search-icon {
    color: var(--primary, #6366f1);
}

.search-wrapper.focused .search-input {
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

/* Animation for the search button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
    }
}

.search-btn:focus {
    animation: pulse 1.5s infinite;
}
