:root {
    --primary: #0d6efd;
    --gold: #c9a227;
    --dark-green: #0a5c36;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

.navbar-brand {
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

/* بطاقات إحصائية */
.stat-card {
    border: none;
    border-radius: 14px;
    transition: transform 0.25s, box-shadow 0.25s;
    background: #fff;
    overflow: hidden;
    position: relative;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}
.stat-card .icon-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
}
.stat-card h3 { font-weight: 800; margin: 0; }
.stat-card small { color: #6c757d; font-weight: 600; }

/* الأرقام المالية */
.amount { font-variant-numeric: tabular-nums; font-weight: 700; }
.amount-positive { color: #0a8a4a; }
.amount-negative { color: #d93636; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-green) 0%, #073b22 100%);
    color: #fff;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(201,162,39,0.15), transparent 50%);
}
.hero h1 { font-weight: 900; font-size: 3rem; }
.hero .btn-gold {
    background: var(--gold);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 12px 34px;
    border-radius: 10px;
}
.hero .btn-gold:hover { background: #b08d1a; color: #fff; }

/* بطاقة عامة */
.card-clean {
    border: none;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

/* Table */
.table thead th {
    background: #f1f3f5;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Print */
@media print {
    .navbar, footer, .no-print { display: none !important; }
}