/* ==========================================================================
   assets/css/style.css - الواجهة الاحترافية المطورة لمنصة الزايرجة العالمية (2026)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo+Play:wght@200..1000&display=swap');

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --sidebar-dark: #0f172a;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
}

body {
    font-family: 'Cairo Play', 'Segoe UI', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* الهيدر وشريط التنقل الفاخر */
.navbar-custom {
    background-color: var(--sidebar-dark) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
}
.navbar-brand-premium {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    background: linear-gradient(45deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* بطاقات التصميم الرسومي (Cards) */
.zaierja-card {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background: var(--card-bg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.02), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    padding: 35px;
    transition: transform 0.3s ease;
}

/* القائمة الجانبية الذكية للدواوين */
.diwan-sidebar {
    background-color: var(--sidebar-dark);
    border-radius: 20px;
    padding: 25px 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}
.diwan-sidebar h5 {
    font-size: 16px;
    letter-spacing: 1px;
    color: #94a3b8;
}
.diwan-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14.5px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.diwan-item:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateX(-4px);
}
.diwan-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* خانات الإدخال الحديثة المعزولة */
.form-label-bold {
    font-weight: 700;
    color: #334155;
    font-size: 14px;
    margin-bottom: 8px;
}
.form-control-custom {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 14px 18px;
    font-size: 15px;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
}
.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    outline: none;
}

/* الفوتر الراقي */
.footer-custom {
    background-color: var(--sidebar-dark);
    color: #64748b;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 60px;
}

/* بطاقة التقرير النهائي ولوح استنطاق الأسطر الثلاثة */
.report-card {
    border: 1px solid #bbf7d0;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.03);
}
.report-section-title {
    font-weight: 700;
    color: var(--sidebar-dark);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 12px;
    margin-top: 30px;
}
.zaierja-table th {
    background-color: #f1f5f9 !important;
    color: var(--sidebar-dark);
    font-weight: 700;
}
