﻿body {
    margin-bottom: 60px;
}

/* Dashboard Styles */
.dashboard .card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
    border: 0;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

    .dashboard .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 20px -3px rgba(0, 0, 0, 0.1), 0 12px 25px -2px rgba(0, 0, 0, 0.05);
    }

.dashboard .card-title {
    color: #344767;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.dashboard .text-muted {
    color: #7b809a !important;
}

.dashboard h3 {
    color: #344767;
    font-weight: 600;
}

.dashboard .list-group-item {
    border-left: 0;
    border-right: 0;
    padding: 1rem;
}

    .dashboard .list-group-item:first-child {
        border-top: 0;
    }

    .dashboard .list-group-item:last-child {
        border-bottom: 0;
    }

.dashboard .charts-row .card {
    min-height: 400px;
}

/* Stili per i KPI cards */
.dashboard .kpi-card {
    text-align: center;
    padding: 1.5rem;
}

    .dashboard .kpi-card h3 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .dashboard .kpi-card .text-muted {
        font-size: 0.875rem;
    }

/* Stili per le attività recenti */
.dashboard .activity-item {
    padding: 1rem;
    border-left: 4px solid transparent;
    transition: background-color 0.2s ease;
}

    .dashboard .activity-item:hover {
        background-color: rgba(0, 0, 0, 0.02);
    }

    .dashboard .activity-item.type-ticket {
        border-left-color: #3b82f6;
    }

    .dashboard .activity-item.type-order {
        border-left-color: #10b981;
    }

    .dashboard .activity-item.type-intervention {
        border-left-color: #f59e0b;
    }

/* Stili per i grafici */
.dashboard #ordersChart,
.dashboard #ticketsChart {
    width: 100%;
    min-height: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard .card {
        margin-bottom: 1rem;
    }

    .dashboard .charts-row .card {
        min-height: 300px;
    }
}
