.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-form {
    margin: 20px 0;
    text-align: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.video-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.video-card img {
    width: 100%;
    height: auto;
}

.video-card h3 {
    padding: 10px;
    margin: 0;
    font-size: 16px;
}

.video-card .date {
    padding: 0 10px 10px;
    color: #666;
    margin: 0;
}

.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
}

.pagination a.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.tabs {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    justify-content: center;
}

.tab {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.tab:hover {
    background: #e0e0e0;
}

.tab.active {
    background: #007bff;
    color: white;
}

#searchInput {
    width: 300px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

#searchInput:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.3);
}

.video-card.live {
    border: 2px solid #ff0000;
    position: relative;
}

.live-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff0000;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    z-index: 1;
}

/* Optional: Pulsierender Effekt für Live-Videos */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.video-card.live {
    animation: pulse 2s infinite;
} 