/* Sidebar menu active state */
.menu li > .active {
    background-color: oklch(var(--p) / 0.1);
    color: oklch(var(--p));
}

/* Compact stat cards */
.stat {
    padding: 1rem;
}
.stat-title {
    font-size: 0.75rem;
}
.stat-value {
    font-size: 1.25rem;
}

/* Table hover */
.table tbody tr:hover {
    background-color: oklch(var(--b2));
}

/* Invoice items input */
.table input:focus,
.table select:focus {
    outline: 2px solid oklch(var(--p) / 0.5);
    outline-offset: -2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: oklch(var(--b2));
}
::-webkit-scrollbar-thumb {
    background: oklch(var(--bc) / 0.2);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: oklch(var(--bc) / 0.3);
}

/* Print styles */
@media print {
    .drawer-side,
    .navbar,
    .btn,
    .modal-action {
        display: none !important;
    }
    .drawer-content {
        margin-left: 0 !important;
    }
}
