/* Dashboard Icon Sizing Fixes */
/* Ensures proper icon sizing in admin dashboard */

/* Fix oversized icons in dashboard */
.dashboard .module table th,
.dashboard .module table td {
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* Ensure SVG icons are properly sized */
.dashboard svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
}

/* Fix icon containers */
.dashboard .h-8.w-8 {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
}

.dashboard .h-8.w-8 svg {
    width: 20px !important;
    height: 20px !important;
}

/* Fix larger icon containers */
.dashboard .h-12.w-12 {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
}

.dashboard .h-12.w-12 svg {
    width: 24px !important;
    height: 24px !important;
}

/* Fix Font Awesome icons */
.dashboard .fas,
.dashboard .far,
.dashboard .fab {
    font-size: 16px !important;
}

.dashboard .stat-icon .fas,
.dashboard .stat-icon .far,
.dashboard .stat-icon .fab {
    font-size: 24px !important;
}

/* Ensure proper spacing and alignment */
.dashboard .flex.items-center {
    align-items: center !important;
}

.dashboard .justify-center {
    justify-content: center !important;
}

/* Fix any oversized elements in dashboard cards */
.dashboard .bg-white.p-6 {
    padding: 1.5rem !important;
}

.dashboard .text-3xl {
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
}

.dashboard .text-lg {
    font-size: 1.125rem !important;
    line-height: 1.75rem !important;
}

/* Responsive fixes for mobile */
@media (max-width: 768px) {
    .dashboard .h-8.w-8 {
        width: 28px !important;
        height: 28px !important;
    }
    
    .dashboard .h-8.w-8 svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .dashboard .h-12.w-12 {
        width: 40px !important;
        height: 40px !important;
    }
    
    .dashboard .h-12.w-12 svg {
        width: 20px !important;
        height: 20px !important;
    }
}

/* Fix any CSS conflicts with Tailwind */
.dashboard * {
    box-sizing: border-box !important;
}

/* Ensure icons don't overflow their containers */
.dashboard .rounded-lg {
    overflow: hidden !important;
}

/* Fix icon alignment in stat cards */
.dashboard .stat-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
