html`<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
line-height: 1.6;
max-width: 900px;
margin: 0 auto;
padding: 0 20px;
}
.search-container {
display: flex;
margin-bottom: 20px;
max-width: 600px;
}
.search-container input {
flex-grow: 1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px 0 0 4px;
font-size: 16px;
}
.search-container button {
padding: 10px 20px;
background-color: #4a6fa5;
color: white;
border: none;
border-radius: 0 4px 4px 0;
cursor: pointer;
font-size: 16px;
}
.filter-controls {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-bottom: 20px;
padding: 15px;
background-color: #f5f7fa;
border-radius: 8px;
}
.filter-controls select {
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
margin-left: 10px;
}
.reviews-container {
display: flex;
flex-direction: column;
gap: 15px;
}
.review-card {
padding: 15px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
background-color: white;
border-left: 5px solid #ccc;
}
.positive-sentiment {
border-left-color: #4caf50;
}
.negative-sentiment {
border-left-color: #f44336;
}
.neutral-sentiment {
border-left-color: #9e9e9e;
}
.review-header {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
font-size: 14px;
}
.review-text {
margin-bottom: 15px;
line-height: 1.5;
}
.sentiment-bar {
margin-top: 10px;
}
.sentiment-label {
font-size: 14px;
font-weight: bold;
margin-bottom: 5px;
}
.sentiment-values {
height: 10px;
width: 100%;
background-color: #f5f5f5;
border-radius: 5px;
overflow: hidden;
display: flex;
}
.positive-value {
background-color: #4caf50;
height: 100%;
}
.neutral-value {
background-color: #9e9e9e;
height: 100%;
}
.negative-value {
background-color: #f44336;
height: 100%;
}
.sentiment-percentages {
display: flex;
justify-content: space-between;
font-size: 12px;
margin-top: 5px;
}
.comparison-controls {
display: flex;
align-items: center;
gap: 15px;
margin-bottom: 20px;
}
.course-comparison-container {
display: flex;
gap: 20px;
margin-bottom: 30px;
}
.course-column {
flex: 1;
padding: 15px;
background-color: #f9f9f9;
border-radius: 8px;
text-align: center;
}
.no-reviews, .no-data {
padding: 20px;
text-align: center;
background-color: #f9f9f9;
border-radius: 8px;
color: #666;
}
</style>`