/* Work Events Styles */

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-tab {
    padding: 0.5rem 1rem;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.filter-tab:hover {
    background: #f5f5f5;
    border-color: #008080;
}

.filter-tab.active {
    background: #008080;
    color: white;
    border-color: #008080;
}

.work-events-grid {
    display: grid;
    gap: 1.5rem;
}

.work-event-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.work-event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.1);
}

.work-event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #008080;
    margin: 0 0 0.5rem 0;
}

.work-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.work-event-meta > span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.work-event-info {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.status-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.status-geplant {
    background: #e3f2fd;
    color: #1976d2;
}

.status-abgeschlossen {
    background: #e8f5e9;
    color: #388e3c;
}

.status-abgesagt {
    background: #ffebee;
    color: #d32f2f;
}

.participants-section {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.participants-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.participants-count {
    color: #008080;
    font-weight: 600;
}

.participants-count.full {
    color: #d32f2f;
}

.participants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.participant-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.85rem;
}

.participant-badge.is-current {
    background: #008080;
    color: white;
    border-color: #008080;
}

.work-event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.badge-success {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: #e8f5e9;
    color: #388e3c;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-warning {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: #fff3e0;
    color: #f57c00;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-icon {
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: #f5f5f5;
    border-color: #008080;
}

.btn-icon.btn-danger:hover {
    background: #ffebee;
    border-color: #d32f2f;
    color: #d32f2f;
}

@media (max-width: 768px) {
    .work-event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .work-event-actions {
        flex-direction: column;
        width: 100%;
    }

    .work-event-actions > * {
        width: 100%;
        justify-content: center;
    }
}