/* CounselFlow — High-Trust Legal Practice Management UI Polish */
:root {
    --cf-navy: #0f172a;
    --cf-slate: #334155;
    --cf-emerald: #059669;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* Smooth slide-over drawer & modal overlays */
.cf-modal-backdrop {
    transition: opacity 150ms ease;
}
.cf-modal-backdrop.hidden {
    display: none;
}

/* Subtle custom scrollbars */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Toast notification animation */
@keyframes cfSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.cf-toast {
    animation: cfSlideIn 180ms ease-out;
}

/* Printable Invoice Overrides */
@media print {
    @page {
        size: letter;
        margin: 0.55in;
    }
    body {
        background: #ffffff !important;
        color: #0f172a !important;
    }
    .no-print {
        display: none !important;
    }
    .print-sheet {
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
}
