/* Stream Info Component - Dedicated CSS */
/* Diese Klassen sind spezifisch für die Stream-Info-Komponente und sollten nicht überschrieben werden */

.stream-info-component {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

/* Header Section */
.stream-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.stream-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.stream-info-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.stream-info-btn {
    background: var(--accent-color-alpha);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.stream-info-btn:hover {
    /* background: var(--accent-color); */
    color: white;
    border-color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.3);
}

.stream-info-btn.active {
    /* background: var(--accent-color); */
    color: white;
    border-color: var(--accent-color);
}

.stream-info-btn i {
    font-size: 0.8rem;
}

/* Meta Information Section */
.stream-info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.stream-info-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.stream-info-meta-item i {
    color: var(--accent-color);
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

.stream-info-meta-item span {
    color: var(--text-primary);
}

/* Tags Section */
.stream-info-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stream-info-tag {
    background: var(--accent-color-alpha);
    color: var(--accent-color);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(var(--accent-color-rgb), 0.2);
    transition: all 0.2s ease;
}

.stream-info-tag:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

/* Description Section */
.stream-info-description {
    background: var(--bg-primary);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.stream-info-description-title {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stream-info-description-title::before {
    content: "\f036";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.stream-info-description-text {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stream-info-component {
        padding: 1rem;
    }
    
    .stream-info-header {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .stream-info-title {
        font-size: 1.5rem;
    }
    
    .stream-info-actions {
        justify-content: center;
    }
    
    .stream-info-meta {
        gap: 1rem;
        padding: 0.75rem;
    }
    
    .stream-info-meta-item {
        font-size: 0.85rem;
    }
    
    .stream-info-description {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .stream-info-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stream-info-actions {
        flex-direction: column;
    }
    
    .stream-info-btn {
        justify-content: center;
        padding: 0.75rem;
    }
}

/* Dark Mode Specific Adjustments */
[data-theme="dark"] .stream-info-component {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .stream-info-tag {
    border-color: rgba(var(--accent-color-rgb), 0.3);
}

[data-theme="dark"] .stream-info-btn:hover {
    box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.4);
}

/* Animation for smooth transitions */
.stream-info-component * {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* Focus states for accessibility */
.stream-info-btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.stream-info-tag:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}