/* Dashboard Specific Styles */
.dashboard-stats {
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.stat-icon.bg-primary {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary);
}

.stat-icon.bg-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.stat-icon.bg-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.stat-icon.bg-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning);
}

.stat-icon.bg-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: var(--info);
}

.stat-info h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary);
}

.stat-info p {
    margin: 5px 0 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Health Items */
.health-item {
    margin-bottom: 20px;
}

.health-item:last-child {
    margin-bottom: 0;
}

/* System Info Items */
.system-info-item {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.system-info-item:last-child {
    border-bottom: none;
}

/* Chart Containers */
.chart-container {
    position: relative;
    height: 250px;
    width: 100%;
}

/* Activity Feed */
.activity-feed {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feed-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.feed-content {
    flex: 1;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.feed-header strong {
    color: var(--secondary);
}

.feed-body {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Super Admin Specific */
.superadmin-stats .stat-card {
    padding: 15px;
}

.superadmin-stats .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-right: 15px;
}

.superadmin-stats .stat-info h3 {
    font-size: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .stat-info h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .dashboard-stats .col-md-4, 
    .dashboard-stats .col-md-3 {
        margin-bottom: 15px;
    }
    
    .stat-info h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stat-info h3 {
        font-size: 1.5rem;
    }
}