/* Economic Dashboard Widget - Light gray theme */

.economic-dashboard-widget {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
}

.economic-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.economic-dashboard-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.last-updated {
    font-size: 12px;
    color: #666;
}

.error-message {
    font-size: 12px;
    color: #d32f2f;
}

/* Tabs */
.economic-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    border-bottom: 2px solid #ddd;
    padding-bottom: 8px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-radius: 4px 4px 0 0;
    transition: all 0.2s;
}

.tab-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.tab-btn.active {
    color: #2e7d32;
    background: #e8f5e9;
    border-bottom: 2px solid #4caf50;
}

/* Grid layout - 3 columns on desktop, 2 on tablet, 1 on mobile */
.economic-indicators-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 1024px) {
    .economic-indicators-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .economic-indicators-grid {
        grid-template-columns: 1fr;
    }
}

.economic-indicator {
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.indicator-label {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.indicator-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.indicator-change {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 4px;
}

.indicator-change.positive {
    color: #2e7d32;
    background: rgba(46, 125, 50, 0.1);
}

.indicator-change.negative {
    color: #d32f2f;
    background: rgba(211, 47, 47, 0.1);
}

.indicator-change.neutral {
    color: #666;
    background: rgba(102, 102, 102, 0.1);
}

/* Economic Calendar Line */
.economic-calendar-line {
    margin-top: 12px;
    padding: 8px 12px;
    background: #e8f5e9;
    border-left: 3px solid #4caf50;
    border-radius: 4px;
    font-size: 12px;
    color: #2e7d32;
}

/* Market Status Line (reuse calendar line style) */
.market-status-line {
    margin-top: 12px;
    padding: 8px 12px;
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
    border-radius: 4px;
    font-size: 12px;
    color: #1565c0;
    font-weight: 500;
}

.calendar-events {
    font-weight: 500;
}
