/* ===========================
   Dashboard Styles
   =========================== */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.stat-icon.blue {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
}

.stat-icon.green {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.stat-icon.orange {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.stat-icon.purple {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
}

.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1;
}

.stat-change {
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-change.positive {
    color: var(--secondary-color);
}

.stat-change.negative {
    color: var(--danger-color);
}

.stat-change.warning {
    color: var(--warning-color);
}

.stat-change i {
    font-size: 10px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.dashboard-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.card-header a {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
}

.card-body {
    padding: 24px;
}

.sales-list,
.products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sale-item,
.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.sale-item:hover,
.product-item:hover {
    background: var(--gray-100);
}

.sale-info,
.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sale-number,
.product-name {
    font-weight: 600;
    color: var(--gray-900);
}

.sale-time,
.product-category {
    font-size: 12px;
    color: var(--gray-500);
}

.sale-amount,
.product-stock {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 16px;
}

/* Charts Placeholder */
.chart-container {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    color: var(--gray-400);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .stat-value {
        font-size: 24px;
    }
}
/* Advanced Dashboard Styles */

/* Dashboard Alerts */
.dashboard-alert {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 2px solid #ef4444;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: slideDown 0.3s ease;
}

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

.dashboard-alert.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
    color: #92400e;
}

.dashboard-alert i {
    font-size: 24px;
}

.dashboard-alert .alert-content {
    flex: 1;
}

.dashboard-alert .alert-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.dashboard-alert .alert-content p {
    margin: 0;
    font-size: 14px;
}

.dashboard-alert .alert-close {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.dashboard-alert .alert-close:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

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

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.stat-card.primary {
    border-color: #3b82f6;
}

.stat-card.success {
    border-color: #10b981;
}

.stat-card.info {
    border-color: #06b6d4;
}

.stat-card.warning {
    border-color: #f59e0b;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-card.primary .stat-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.stat-card.success .stat-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-card.info .stat-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

.stat-card.warning .stat-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #111827;
    margin-bottom: 4px;
}

.stat-change {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

/* Insights Section */
.insights-section {
    margin-bottom: 30px;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 24px;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 i {
    color: #f59e0b;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.insight-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 16px;
    transition: all 0.3s;
}

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

.insight-card.success {
    border-left-color: #10b981;
}

.insight-card.success .insight-icon {
    color: #10b981;
}

.insight-card.warning {
    border-left-color: #f59e0b;
}

.insight-card.warning .insight-icon {
    color: #f59e0b;
}

.insight-card.danger {
    border-left-color: #ef4444;
}

.insight-card.danger .insight-icon {
    color: #ef4444;
}

.insight-card.info {
    border-left-color: #06b6d4;
}

.insight-card.info .insight-icon {
    color: #06b6d4;
}

.insight-card.primary {
    border-left-color: #3b82f6;
}

.insight-card.primary .insight-icon {
    color: #3b82f6;
}

.insight-icon {
    font-size: 32px;
}

.insight-content {
    flex: 1;
}

.insight-content h4 {
    font-size: 16px;
    color: #111827;
    margin-bottom: 8px;
}

.insight-content p {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 12px;
}

.insight-content .btn {
    margin-top: 8px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.dashboard-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s;
}

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

.dashboard-card.danger {
    border: 2px solid #ef4444;
}

.dashboard-card.prediction {
    border: 2px solid #8b5cf6;
}

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

.card-header h3 {
    font-size: 18px;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-header a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
}

.card-header a:hover {
    text-decoration: underline;
}

.card-body {
    padding: 20px;
}

/* Product Items */
.product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    background: #f9fafb;
    margin-bottom: 12px;
    transition: all 0.2s;
}

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

.product-rank {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.product-details {
    flex: 1;
}

.product-name {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.product-stats {
    font-size: 13px;
    color: #6b7280;
}

.product-revenue {
    font-weight: bold;
    color: #10b981;
    font-size: 16px;
}

/* Peak Info */
.peak-info {
    display: grid;
    gap: 16px;
}

.peak-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
}

.peak-item i {
    font-size: 32px;
    color: #3b82f6;
}

.peak-item strong {
    display: block;
    color: #111827;
    margin-bottom: 4px;
}

.peak-item p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* Promo Products */
.promo-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #fef3c7;
    border-radius: 8px;
    margin-bottom: 12px;
}

.promo-product .product-info strong {
    display: block;
    color: #92400e;
    margin-bottom: 4px;
}

.promo-product .product-info small {
    color: #78350f;
    font-size: 12px;
}

/* Expiry Products */
.expiry-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.expiry-product.urgent {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
}

.expiry-product.warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
}

.expiry-product.info {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
}

.expiry-product .product-info strong {
    display: block;
    color: #111827;
    margin-bottom: 4px;
}

.expiry-product .product-info small {
    color: #6b7280;
    font-size: 12px;
}

.days-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

.days-badge.urgent {
    background: #ef4444;
    color: white;
}

.days-badge.warning {
    background: #f59e0b;
    color: white;
}

.days-badge.info {
    background: #3b82f6;
    color: white;
}

/* Slow Moving Products */
.slow-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f3f4f6;
    border-radius: 8px;
    margin-bottom: 12px;
}

.slow-product .product-info strong {
    display: block;
    color: #111827;
    margin-bottom: 4px;
}

.slow-product .product-info small {
    color: #6b7280;
    font-size: 12px;
}

.stock-badge {
    padding: 8px 16px;
    border-radius: 20px;
    background: #e5e7eb;
    color: #4b5563;
    font-weight: bold;
}

/* Predictions */
.prediction-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.prediction-item.info {
    background: #dbeafe;
}

.prediction-item.warning {
    background: #fef3c7;
}

.prediction-item i {
    font-size: 32px;
}

.prediction-item.info i {
    color: #3b82f6;
}

.prediction-item.warning i {
    color: #f59e0b;
}

.prediction-content {
    flex: 1;
}

.prediction-content strong {
    display: block;
    color: #111827;
    margin-bottom: 4px;
    font-size: 14px;
}

.prediction-content p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    font-weight: 600;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 14px;
}

.empty-state.success {
    color: #10b981;
}

.empty-state.success i {
    opacity: 1;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #6b7280;
}

.loading-spinner i {
    font-size: 32px;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 24px;
    }
}
/* Advanced Dashboard Styles */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

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

.dashboard-card .card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dashboard-card .card-header h3 i {
    color: var(--primary-color);
}

.dashboard-card .card-header a {
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}

.dashboard-card .card-body {
    padding: 20px;
    min-height: 200px;
}

/* Loading States */
.loading-mini {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    color: #9CA3AF;
}

.loading-mini i {
    font-size: 24px;
}

.empty-state-mini {
    text-align: center;
    padding: 40px 20px;
    color: #9CA3AF;
}

.empty-state-mini.success {
    color: #10B981;
}

.empty-state-mini i {
    font-size: 48px;
    margin-bottom: 12px;
}

.empty-state-mini p {
    margin: 0;
    font-size: 14px;
}

/* Products List */
.products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #F9FAFB;
    border-radius: 8px;
    transition: all 0.2s;
}

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

.product-rank {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-details strong {
    color: #1F2937;
    font-size: 14px;
    margin-bottom: 2px;
}

.product-details small {
    color: #6B7280;
    font-size: 12px;
}

.product-revenue {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 14px;
}

/* Chart Bars */
.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chart-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bar-label {
    min-width: 100px;
    font-size: 13px;
    color: #6B7280;
}

.bar-container {
    flex: 1;
    background: #E5E7EB;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
    transition: width 0.5s ease;
}

.bar-value {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: #1F2937;
    font-size: 14px;
}

/* Days List */
.days-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.day-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
}

.day-rank {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.day-name {
    flex: 1;
    font-weight: 600;
    color: #1F2937;
}

.day-total {
    font-weight: 700;
    color: var(--primary-color);
}

/* Expiring Products */
.expiring-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expiring-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid;
}

.expiring-item.urgency-high {
    background: #FEF2F2;
    border-color: #FCA5A5;
}

.expiring-item.urgency-medium {
    background: #FFF7ED;
    border-color: #FED7AA;
}

.expiring-item.urgency-low {
    background: #FEF9C3;
    border-color: #FDE047;
}

.expiring-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.urgency-high .expiring-icon {
    background: #DC2626;
    color: white;
}

.urgency-medium .expiring-icon {
    background: #F59E0B;
    color: white;
}

.urgency-low .expiring-icon {
    background: #EAB308;
    color: white;
}

.expiring-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.expiring-details strong {
    color: #1F2937;
    font-size: 14px;
}

.expiring-details small {
    color: #6B7280;
    font-size: 12px;
}

.expiring-stock {
    font-weight: 600;
    color: #1F2937;
}

/* Promotion List */
.promotion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promotion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #FEF2F2;
    border: 2px solid #FCA5A5;
    border-radius: 8px;
}

.promotion-icon {
    width: 36px;
    height: 36px;
    background: #DC2626;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promotion-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promotion-details strong {
    color: #1F2937;
    font-size: 14px;
}

.promotion-details small {
    color: #6B7280;
    font-size: 12px;
}

.promotion-stock {
    font-weight: 600;
    color: #1F2937;
}

/* Shelves List */
.shelves-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shelf-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #EFF6FF;
    border: 2px solid #BFDBFE;
    border-radius: 8px;
}

.shelf-icon {
    width: 36px;
    height: 36px;
    background: #3B82F6;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shelf-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shelf-details strong {
    color: #1F2937;
    font-size: 14px;
}

.shelf-details small {
    color: #6B7280;
    font-size: 12px;
}

.shelf-sales {
    font-weight: 600;
    color: #1F2937;
}

/* AI Insights Section */
.insights-section {
    margin-top: 32px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-ai {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.insight-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    display: flex;
    gap: 16px;
    transition: all 0.2s;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.insight-card.danger {
    border-left-color: #DC2626;
    background: linear-gradient(to right, #FEF2F2, white);
}

.insight-card.warning {
    border-left-color: #F59E0B;
    background: linear-gradient(to right, #FFF7ED, white);
}

.insight-card.info {
    border-left-color: #3B82F6;
    background: linear-gradient(to right, #EFF6FF, white);
}

.insight-card.default {
    border-left-color: #6B7280;
}

.insight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.danger .insight-icon {
    background: #DC2626;
    color: white;
}

.warning .insight-icon {
    background: #F59E0B;
    color: white;
}

.info .insight-icon {
    background: #3B82F6;
    color: white;
}

.default .insight-icon {
    background: #6B7280;
    color: white;
}

.insight-content {
    flex: 1;
}

.insight-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.insight-content p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.insight-products {
    display: block;
    margin-top: 8px;
    color: #9CA3AF;
    font-size: 12px;
}

.insight-action {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s;
}

.insight-action:hover {
    background: var(--primary-hover);
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .insight-card {
        flex-direction: column;
    }
    
    .insight-action {
        width: 100%;
    }
}
