/* UNIFIEDBRIDGE LIMITED - Light Theme with Orange (#df8120) Accents */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand-orange: #df8120;
    --brand-orange-hover: #c87118;
    --brand-orange-active: #b36212;
    --brand-orange-light: #fef7ef;
    --brand-orange-border: #fbd7b2;
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
}

/* Custom scrollbars for clean light UI */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Print Styles for Invoices */
@media print {
    body * {
        visibility: hidden;
    }
    #invoice-print-area, #invoice-print-area * {
        visibility: visible;
    }
    #invoice-print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white !important;
        color: black !important;
        padding: 24px;
        box-shadow: none !important;
        border: none !important;
    }
    .no-print {
        display: none !important;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.15s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.985); }
    to { opacity: 1; transform: scale(1); }
}

/* Status & Type Badges in Light Theme */
.badge-sales {
    background-color: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.badge-purchase {
    background-color: #faf5ff;
    color: #7e22ce;
    border: 1px solid #e9d5ff;
}

.badge-paid {
    background-color: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.badge-overdue {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.badge-sent, .badge-received {
    background-color: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-draft {
    background-color: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
}

/* Brand Button & Utility Classes */
.bg-brand {
    background-color: #df8120 !important;
}

.text-brand {
    color: #df8120 !important;
}

.border-brand {
    border-color: #df8120 !important;
}

.hover\:bg-brand:hover {
    background-color: #c87118 !important;
}

.hover\:text-brand:hover {
    color: #df8120 !important;
}

.focus-brand:focus {
    border-color: #df8120 !important;
    box-shadow: 0 0 0 2px rgba(223, 129, 32, 0.2) !important;
    outline: none !important;
}
