/* =========================================================
   RadPlus Navy theme (نفس ألوان لوحة Word)
   بيتحمّل تلقائيًا لما إعداد "مظهر النظام" = navy
   (من صفحة تعديل ألوان حالات الحجز). الرجوع للقديم بتغيير الإعداد بس.
   ========================================================= */

/* الشريط العلوي */
html[dir="rtl"] body:not(#rp-shell) .topbar,
html[dir="ltr"] body:not(#rp-shell) .topbar,
html[dir] body.appointments-page:not(#rp-shell) .topbar {
    background: linear-gradient(90deg, #0a1f3d 0%, #12407a 100%) !important;
}

html[dir="ltr"] body:not(#rp-shell) .topbar {
    background: linear-gradient(270deg, #0a1f3d 0%, #12407a 100%) !important;
}

/* السايد بار */
html[dir] body:not(#rp-shell) .sidebar {
    background: linear-gradient(180deg, #0a1f3d 0%, #0e3160 55%, #12407a 100%) !important;
    color: #eaf3ff !important;
    box-shadow: none !important;
}

html[dir] body:not(#rp-shell) .sidebar-item:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
}

html[dir] body:not(#rp-shell) .sidebar-item.active {
    background: #ffffff !important;
    color: #12407a !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .25) !important;
}

/* صفحة الحجوزات */
html[dir] body.appointments-page:not(#rp-shell) {
    background: linear-gradient(180deg, #f5f9ff 0%, #eef5ff 100%) fixed !important;
}

html[dir] body.appointments-page:not(#rp-shell) .sticky-header {
    background: linear-gradient(180deg, #0a1f3d 0%, #12407a 100%) !important;
    border-color: #0a1f3d !important;
}

html[dir] body.appointments-page:not(#rp-shell) #prev-day,
html[dir] body.appointments-page:not(#rp-shell) #next-day,
html[dir] body.appointments-page:not(#rp-shell) #columns-settings-btn {
    background: #ffffff !important;
    color: #1a76d1 !important;
    border: 1px solid #cfdcec !important;
    box-shadow: 0 6px 16px -12px rgba(15, 40, 80, .45) !important;
}

html[dir] body.appointments-page:not(#rp-shell) #prev-day:hover,
html[dir] body.appointments-page:not(#rp-shell) #next-day:hover,
html[dir] body.appointments-page:not(#rp-shell) #columns-settings-btn:hover {
    background: #eef5ff !important;
    border-color: #1a76d1 !important;
}

html[dir] body.appointments-page:not(#rp-shell) #prev-day *,
html[dir] body.appointments-page:not(#rp-shell) #next-day *,
html[dir] body.appointments-page:not(#rp-shell) #columns-settings-btn * {
    color: inherit !important;
}
