@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@400;500;600&display=swap');
        
:root {
    --primary: #b91c1c;
}

body {
    font-family: 'Cairo', 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
}

.section {
    display: none;
}
.section.active {
    display: block;
}

.nav-active {
    background-color: #b91c1c;
    color: white;
    border-radius: 9999px;
}

.finance-card {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
}
.finance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

.arabic-number {
    font-feature-settings: "tnum";
}

.table-row {
    transition: background-color 0.1s;
}
.table-row:hover {
    background-color: #f8fafc;
}

.modal {
    animation: modalPop 0.2s ease-out forwards;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.nav-item {
    transition: all 0.2s ease;
}

.metric-value {
    font-size: 1.35rem;
    line-height: 1.1;
    font-weight: 700;
}

.app-header {
    background: linear-gradient(135deg, #b91c1c 0%, #0284c8 100%);
}

.tab-button {
    position: relative;
}
.tab-button.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #b91c1c;
}

.data-table {
    font-size: 0.925rem;
}

.insight-card {
    border-left: 4px solid #b91c1c;
}
