/* Custom scrollbar for sidebar */
aside::-webkit-scrollbar {
    width: 6px;
}

aside::-webkit-scrollbar-track {
    background: #f1f1f1;
}

aside::-webkit-scrollbar-thumb {
    background: #00A336;
    border-radius: 3px;
}

aside::-webkit-scrollbar-thumb:hover {
    background: #008a2e;
}

/* Prevent horizontal scrolling on body and main containers */
body {
    overflow-x: hidden;
}

main {
    max-width: 100vw;
}

/* Responsive table container */
.overflow-x-auto {
    max-width: 100%;
    overflow-x: auto;
}

/* Ensure table doesn't break layout */
.overflow-x-auto table {
    min-width: 100%;
    table-layout: auto;
}

/* Responsive table cells - allow wrapping on smaller screens */
@media (max-width: 768px) {
    .overflow-x-auto td,
    .overflow-x-auto th {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}