* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background-color: #f9fafb;
            padding: 20px;
        }

        .sentiment-widget {
            width: 100%;
            max-width: 800px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            border: 1px solid #e5e7eb;
            overflow: hidden;
        }

       .widget-header {
            background: linear-gradient(to right, #296bef, #1e5edb);
            padding: 12px 16px;
            
        }

        .widget-title {
            color: white;
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 2px;
            padding: 8px;
        }

        .widget-subtitle {
            font-size: 11px;
            color: #6b7280;
            padding-top:10px;
        }

        .widget-content {
            display: flex;
            align-items: stretch;
            min-height: 240px;
        }

        .overall-sentiment-section {
            flex: 1;
            padding: 16px;
            border-right: 1px solid #f3f4f6;
            display: flex;
            flex-direction: column;
        }

        .section-title {
            font-weight: 500;
            color: #1f2937;
            font-size: 14px;
            margin-bottom: 20px;
            text-align: center;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .sentiment-summary {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            justify-content: space-between;
            padding-top: 10px;
            padding-bottom: 45px;
        }

        .sentiment-score {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 0;
        }

        .score-circle {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            font-weight: bold;
            color: white;
            background: linear-gradient(135deg, #296bef, #1e5edb);
            box-shadow: 0 4px 12px rgba(41, 107, 239, 0.3);
            margin-bottom: 8px;
        }

        .score-label {
            font-size: 12px;
            color: #6b7280;
            font-weight: 500;
        }

        .sentiment-bars {
            width: 100%;
            max-width: 240px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            height: 100px;
        }

        .sentiment-bar {
            display: flex;
            align-items: center;
            margin-bottom: 0;
        }

        .bar-label {
            font-size: 13px;
            color: #4b5563;
            font-weight: 500;
            width: 55px;
            text-align: right;
            margin-right: 12px;
        }

        .bar-track {
            flex: 1;
            height: 16px;
            background-color: #f3f4f6;
            border-radius: 8px;
            overflow: hidden;
            margin-right: 12px;
        }

        .bar-fill {
            height: 100%;
            border-radius: 8px;
            transition: width 1s ease-out;
        }

        .bar-value {
            font-size: 13px;
            font-weight: 500;
            color: #1f2937;
            min-width: 35px;
        }

        .positive-bar { background-color: #296bef; }
        .neutral-bar { background-color: #F59E0B; }
        .negative-bar { background-color: #EF4444; }

        .radar-section {
            flex: 1.5;
            padding: 16px;
            display: flex;
            flex-direction: column;
        }

        .radar-chart {
            flex: 1;
            height: 200px;
            margin-top: 8px;
        }

        .attribution {
            background-color: #f9fafb;
            padding: 12px 20px;
            border-top: 1px solid #f3f4f6;
        }

        .attribution-main {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 12px;
            color: #6b7280;
        }

        .attribution-link {
            color: #296bef;
            text-decoration: underline;
            font-weight: 500;
        }

        .attribution-link:hover {
            color: #1e5edb;
        }

        .attribution-date {
            font-size: 12px;
            color: #9ca3af;
            margin-top: 4px;
        }

        .tooltip {
            position: absolute;
            background: rgba(31, 41, 55, 0.9);
            color: white;
            padding: 8px 12px;
            border-radius: 4px;
            font-size: 12px;
            pointer-events: none;
            z-index: 1000;
            display: none;
        }

        /* Animation for bars */
        @keyframes fillBar {
            from { width: 0%; }
        }

        .bar-fill {
            animation: fillBar 1.5s ease-out;
        }

        /* Responsive */
        @media (max-width: 600px) {
            .widget-content {
                flex-direction: column;
            }
            
            .overall-sentiment-section {
                border-right: none;
                border-bottom: 1px solid #f3f4f6;
            }
            
            .sentiment-summary {
                flex-direction: row;
                justify-content: space-around;
                align-items: center;
                padding: 20px 0;
            }
            
            .sentiment-score {
                margin-bottom: 0;
                margin-right: 20px;
            }
            
            .sentiment-bars {
                height: auto;
            }
            
            .sentiment-bar {
                margin-bottom: 8px;
            }
            
            .radar-chart {
                height: 200px;
            }
        }