body {
    background: #f6f8fb;
}

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background:
        radial-gradient(1200px 600px at 10% 10%, rgba(15, 23, 42, 0.06), transparent 60%),
        radial-gradient(1000px 600px at 90% 20%, rgba(37, 99, 235, 0.08), transparent 55%),
        #f6f8fb;
}

.auth-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.10);
}

.auth-brand {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.auth-subtitle {
    color: #64748b;
    font-size: 13px;
    margin-top: 6px;
}

.azure-dashboard {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #0f172a;
}

.azure-dashboard * {
    box-sizing: border-box;
}

.azure-dashboard .container {
    max-width: 1200px;
    margin: 0 auto;
}

.azure-dashboard .header {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    margin-bottom: 18px;
}

.azure-dashboard .header h1 {
    color: #0f172a;
    margin-bottom: 8px;
    font-size: 22px;
    letter-spacing: -0.01em;
}

.azure-dashboard .header .subtitle {
    color: #475569;
    font-size: 13px;
}

.azure-dashboard .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.azure-dashboard .stat-card {
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.azure-dashboard .stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.azure-dashboard .stat-card h3 {
    color: #64748b;
    font-size: 11px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.azure-dashboard .stat-card .value {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

.azure-dashboard .stat-card.warning .value {
    color: #f59e0b;
}

.azure-dashboard .stat-card.danger .value {
    color: #ef4444;
}

.azure-dashboard .stat-card.success .value {
    color: #10b981;
}

.azure-dashboard .stat-card.info .value {
    color: #3b82f6;
}

.azure-dashboard .section {
    background: #ffffff;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
    margin-bottom: 16px;
}

.azure-dashboard .section h2 {
    color: #0f172a;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
    font-weight: 700;
}

.azure-dashboard .chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 30px;
}

.azure-dashboard .anomaly-item {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
}

.azure-dashboard .anomaly-item.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left-color: #ef4444;
}

.azure-dashboard .anomaly-item.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-left-color: #10b981;
}

.azure-dashboard .anomaly-item h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.azure-dashboard .anomaly-item p {
    color: #475569;
    font-size: 13px;
    margin-bottom: 5px;
}

.azure-dashboard .anomaly-item .recommendation {
    color: #334155;
    font-weight: 600;
    margin-top: 10px;
}

.azure-dashboard .recommendation-card {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #2563eb;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 10px;
}

.azure-dashboard .recommendation-card.priority-high {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left-color: #ef4444;
}

.azure-dashboard .recommendation-card.priority-medium {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left-color: #f59e0b;
}

.azure-dashboard .recommendation-card h4 {
    color: #333;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.azure-dashboard .priority-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.azure-dashboard .priority-high .priority-badge {
    background: #ef4444;
    color: white;
}

.azure-dashboard .priority-medium .priority-badge {
    background: #f59e0b;
    color: white;
}

.azure-dashboard .priority-low .priority-badge {
    background: #6b7280;
    color: white;
}

.azure-dashboard .category-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #0f172a;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 10px;
}

.azure-dashboard .loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.azure-dashboard .spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.azure-dashboard .resources-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.azure-dashboard .resources-table th,
.azure-dashboard .resources-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.azure-dashboard .resources-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #334155;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.azure-dashboard .resources-table tr:hover {
    background: #f9fafb;
}

.azure-dashboard .tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
}

.azure-dashboard .refresh-btn {
    background: #0f172a;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    float: right;
    margin-top: -10px;
}

.azure-dashboard .refresh-btn:hover {
    background: #111827;
}

.azure-dashboard .tabs {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.azure-dashboard .tab-btn {
    background: #ffffff;
    color: #334155;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.azure-dashboard .tab-btn.active {
    background: #0f172a;
    color: white;
    border-color: #0f172a;
}

.azure-dashboard .tab-content {
    display: none;
}

.azure-dashboard .tab-content.active {
    display: block;
}

.azure-dashboard .cost-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.azure-dashboard .select {
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
}

.azure-dashboard .tree {
    margin-top: 10px;
}

.azure-dashboard .tree details {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.azure-dashboard .tree summary {
    cursor: pointer;
    font-weight: 700;
    color: #111827;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

/* ============================================
   COST INTELLIGENCE DASHBOARD - MODERN UI
   ============================================ */

/* Executive Header */
.executive-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.executive-header .header-content h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    color: #ffffff !important;
}

.executive-header .header-content p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.executive-header .header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* KPI Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.kpi-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.kpi-card.primary::before { background: #667eea; }
.kpi-card.success::before { background: #10b981; }
.kpi-card.warning::before { background: #f59e0b; }
.kpi-card.info::before { background: #3b82f6; }

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.kpi-card.primary .kpi-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0e7ff 0%, #ddd6fe 100%);
}

.kpi-card.success .kpi-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.kpi-card.warning .kpi-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.kpi-card.info .kpi-icon {
    font-size: 36px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.kpi-content {
    flex: 1;
}

.kpi-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
    line-height: 1.2;
}

.kpi-card.primary .kpi-value {
    color: #5b21b6;
}

.kpi-card.success .kpi-value {
    color: #065f46;
}

.kpi-card.warning .kpi-value {
    color: #92400e;
}

.kpi-card.info .kpi-value {
    color: #1e40af;
}

.kpi-trend {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Dashboard Grid */
.cost-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .cost-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Dashboard Cards */
.dashboard-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.dashboard-card .card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
}

.dashboard-card .card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.dashboard-card .card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.dashboard-card .card-body {
    padding: 24px;
    min-height: 100px;
}

/* Chart Containers */
#cost-heatmap-container,
#cost-distribution-container {
    position: relative;
    height: 400px;
    width: 100%;
}

#cost-heatmap-container canvas,
#cost-distribution-container canvas {
    max-height: 400px !important;
}

/* Button Styles */
.btn-sm, .btn-primary {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
    background: white;
    color: #334155;
}

.btn-sm:hover {
    background: #f1f5f9;
}

.btn-sm.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.select-sm {
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: white;
}

/* Search Input */
.search-input {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    width: 200px;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Top Spenders List */
#top-spenders-list {
    background: white;
}

.spender-item {
    display: flex;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    cursor: pointer;
    background: white;
}

.spender-item:hover {
    background: #f8fafc;
    transform: translateX(4px);
}

.spender-item:last-child {
    border-bottom: none;
}

.spender-rank {
    font-size: 24px;
    font-weight: 700;
    color: #94a3b8;
    width: 50px;
    text-align: center;
}

.spender-info {
    flex: 1;
    margin-left: 12px;
}

.spender-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 15px;
    margin-bottom: 6px;
}

.spender-details {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

.spender-cost {
    text-align: right;
}

.spender-amount {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.spender-percent {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

/* Cost Bar */
.cost-bar {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.cost-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Alert Items */
.alert-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 2px solid;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.alert-item.warning {
    background: #fef3c7;
    border-color: #f59e0b;
}

.alert-item.info {
    background: #dbeafe;
    border-color: #3b82f6;
}

.alert-item.success {
    background: #d1fae5;
    border-color: #10b981;
}

.alert-icon {
    font-size: 28px;
    line-height: 1;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
    font-size: 15px;
}

.alert-desc {
    font-size: 13px;
    color: #475569;
    line-height: 1.4;
}

/* Loading States */
.loading-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: #64748b;
}

.spinner-sm {
    width: 20px;
    height: 20px;
    border: 3px solid #f1f5f9;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.error-minimal {
    padding: 16px;
    background: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    color: #dc2626;
    font-size: 13px;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.dashboard-card {
    animation: fadeIn 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .executive-header {
        flex-direction: column;
        text-align: center;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .cost-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SIMPLE & CLEAN RG COSTING DESIGN
   ============================================ */

/* Simple Header */
.simple-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}

.btn-refresh {
    padding: 10px 20px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-refresh:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.summary-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.summary-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.summary-value {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f1f5f9;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.loading-state p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 60px 20px;
    background: #fef2f2;
    border-radius: 12px;
    border: 2px solid #fecaca;
}

.error-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.error-state h3 {
    color: #991b1b;
    margin: 0 0 12px 0;
    font-size: 20px;
}

.error-state p {
    color: #dc2626;
    margin: 0 0 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

.btn-retry {
    padding: 10px 24px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-retry:hover {
    background: #b91c1c;
}

/* Simple Card */
.simple-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

/* Search Box */
.search-box {
    padding: 8px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    width: 250px;
    transition: all 0.2s;
}

.search-box:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Simple Table */
.table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.simple-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.simple-table thead {
    background: #f8fafc;
}

.simple-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 2px solid #e5e7eb;
}

.simple-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.simple-table tbody tr:hover {
    background: #f8fafc;
}

.simple-table td {
    padding: 14px 16px;
    color: #0f172a;
}

.simple-table tbody tr:last-child {
    border-bottom: none;
}

/* Cost Badge */
.cost-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

.percent-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #f0fdf4;
    color: #166534;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
}

/* View Details Button */
.btn-view {
    padding: 6px 12px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-view:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .simple-header {
        flex-direction: column;
        gap: 16px;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        width: 100%;
    }
}

/* Empty State within table */
.empty-row {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

/* ========================================
   INSIGHTS TAB STYLES
   ======================================== */

.tab-navigation {
    margin-bottom: 24px;
}

.tab-btn {
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #667eea !important;
    border-bottom-color: #667eea !important;
}

.insights-section {
    margin-bottom: 40px;
}

.insights-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.insight-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.insight-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.insight-card.highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.insight-card.alert {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #ef4444;
}

.insight-icon {
    font-size: 32px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
}

.insight-card.highlight .insight-icon {
    background: rgba(245, 158, 11, 0.2);
}

.insight-card.alert .insight-icon {
    background: rgba(239, 68, 68, 0.2);
}

.insight-content {
    flex: 1;
    min-width: 0;
}

.insight-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
}

.insight-value {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.5;
    word-wrap: break-word;
}

.insight-value .trend-up {
    color: #ef4444;
}

.insight-value .trend-down {
    color: #10b981;
}

.insight-value .trend-same {
    color: #64748b;
}

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1;
        min-width: 120px;
    }
}
