/* src/components/TickerWidget.css */ .ticker-container { background-color: #2a2a2e; padding: 15px 20px; border-radius: 8px; max-width: 800px; margin: 20px auto; font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; color: #e0e0e0; } .ticker-container.loading, .ticker-container.error { text-align: center; padding: 30px; font-style: italic; color: #999; } .ticker-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #444; padding-bottom: 10px; margin-bottom: 15px; } .ticker-header h3 { margin: 0; color: white; font-size: 1.4em; } .ticker-stats { display: flex; gap: 20px; font-size: 0.9em; } .ticker-stats strong { color: #a7c7e7; font-size: 1.1em; } .ticker-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; } .ticker-party .party-info { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 0.9em; } .ticker-party .party-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 10px; } .ticker-party .party-percent { font-weight: bold; } .party-bar-background { background-color: #444; border-radius: 4px; height: 10px; overflow: hidden; } .party-bar-foreground { background-color: #646cff; height: 100%; border-radius: 4px; transition: width 0.5s ease-in-out; }