/* =========================================================
   IRAQ GOVERNMENT STYLE
   Oracle APEX 23.x
   Inspired by modern Iraqi government portals
   Font: Cairo
   ========================================================= */


/* =========================================================
   1. GLOBAL
   ========================================================= */

html,
body,
body.apex-page {
    font-family: 'Cairo', 'Tahoma', 'Arial', sans-serif !important;
    /* Direction is controlled automatically by Oracle APEX language. */
    direction: inherit;
}

body {
    background: #f5f7f6 !important;
    color: #2e3834 !important;
}

.t-Body {
    background: #f5f7f6 !important;
}


/* =========================================================
   2. VARIABLES
   ========================================================= */

:root {

    /* Government Green */
    --iraq-green: #087443;
    --iraq-green-dark: #075c36;
    --iraq-green-light: #e8f4ee;

    /* Secondary */
    --iraq-gold: #c9a227;

    /* Backgrounds */
    --iraq-bg: #f5f7f6;
    --iraq-white: #ffffff;
    --iraq-gray: #eef1ef;
    --iraq-gray-dark: #68756e;

    /* Borders */
    --iraq-border: #d8e0db;

    /* Text */
    --iraq-text: #26332d;
    --iraq-muted: #68756e;

    /* Shadow */
    --iraq-shadow:
        0 2px 8px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   3. PAGE
   ========================================================= */

.t-Body-main {
    background: #f5f7f6 !important;
}

.t-Body-content {
    background: transparent !important;
}


/* =========================================================
   4. HEADER
   ========================================================= */

.t-Header {
    background: #faf9f9 !important;
    border-bottom: 3px solid var(--iraq-green) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.t-Header-branding {
    background: #979794 !important;
}

.t-Header-logo-link {
    color: var(--iraq-green-dark) !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
}

.t-Header-logo-link .apex-logo-text {
    color: var(--iraq-green-dark) !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
}


/* =========================================================
   5. NAVIGATION
   ========================================================= */

.t-Body-nav {
    background: #ffffff !important;
    border-inline-start: 1px solid var(--iraq-border) !important;
    box-shadow: 2px 0 8px rgba(0,0,0,.04);
}

.t-SideNav,
.t-TreeNav,
.t-TreeNav .a-TreeView,
.a-TreeView-content,
.a-TreeView-sub {
    background: #ffffff !important;
}


/* Navigation item */

.a-TreeView-node {
    font-family: 'Cairo', sans-serif !important;
}

.a-TreeView-label {
    color: #35433c !important;
    font-family: 'Cairo', sans-serif !important;
    font-size: 14px !important;
}


/* Navigation hover */

.a-TreeView-node:hover > .a-TreeView-content {
    background: var(--iraq-green-light) !important;
    color: var(--iraq-green-dark) !important;
}


/* Navigation active */

.a-TreeView-node.is-current > .a-TreeView-content,
.a-TreeView-node.is-current--top > .a-TreeView-content {
    background: var(--iraq-green) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

.a-TreeView-node.is-current .a-TreeView-label,
.a-TreeView-node.is-current--top .a-TreeView-label {
    color: #ffffff !important;
    font-weight: 700 !important;
}


/* =========================================================
   6. REGIONS
   ========================================================= */

.t-Region {
    background: #ffffff !important;
    border: 1px solid var(--iraq-border) !important;
    border-radius: 8px !important;
    box-shadow: var(--iraq-shadow);
    overflow: hidden;
}


/* Region header */

.t-Region-header {
    background: var(--iraq-green) !important;
    border-bottom: 0 !important;
    min-height: 48px;
}

.t-Region-title {
    color: #ffffff !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
}

.t-Region-headerItems--title {
    background: transparent !important;
}


/* Remove old animation */

.t-Region-headerItems--title {
    animation: none !important;
}


/* =========================================================
   7. FORM ITEMS
   ========================================================= */

.apex-item-text,
.apex-item-select,
.apex-item-multi,
.apex-item-textarea,
select,
input,
textarea {

    font-family: 'Cairo', sans-serif !important;
    background: #ffffff !important;
    color: var(--iraq-text) !important;

    border: 1px solid #cfd9d3 !important;
    border-radius: 6px !important;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease !important;
}


/* Focus */

.apex-item-text:focus,
.apex-item-select:focus,
.apex-item-multi:focus,
.apex-item-textarea:focus,
select:focus,
input:focus,
textarea:focus {

    border-color: var(--iraq-green) !important;

    box-shadow:
        0 0 0 3px rgba(8,116,67,.12) !important;

    background: #ffffff !important;
}


/* Hover */

.apex-item-text:hover,
.apex-item-select:hover,
.apex-item-multi:hover,
.apex-item-textarea:hover {

    background: #fbfdfc !important;
    border-color: #9bb9a9 !important;
}


/* Labels */

.t-Form-label,
.t-Form-labelContainer label {

    font-family: 'Cairo', sans-serif !important;
    color: #35433c !important;
    font-weight: 600 !important;
}


/* =========================================================
   8. BUTTONS
   ========================================================= */

.t-Button,
.a-Button,
.ui-button {

    font-family: 'Cairo', sans-serif !important;
    font-weight: 600 !important;

    background: var(--iraq-green) !important;
    color: #ffffff !important;

    border: 1px solid var(--iraq-green) !important;
    border-radius: 6px !important;

    box-shadow: none !important;

    transition:
        background-color .2s ease,
        transform .15s ease,
        box-shadow .2s ease !important;
}


/* Button hover */

.t-Button:hover,
.a-Button:hover,
.ui-button:hover {

    background: var(--iraq-green-dark) !important;
    border-color: var(--iraq-green-dark) !important;

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow:
        0 4px 10px rgba(8,116,67,.18) !important;
}


/* Button active */

.t-Button:active,
.a-Button:active,
.ui-button:active {

    transform: translateY(0);
}


/* Secondary button */

.t-Button--secondary {
    background: #ffffff !important;
    color: var(--iraq-green) !important;
    border-color: var(--iraq-green) !important;
}

.t-Button--secondary:hover {
    background: var(--iraq-green-light) !important;
    color: var(--iraq-green-dark) !important;
}


/* =========================================================
   9. INTERACTIVE GRID
   ========================================================= */

.a-GV {

    font-family: 'Cairo', sans-serif !important;

    background: #ffffff !important;

    border: 1px solid var(--iraq-border) !important;
    border-radius: 6px !important;
}


/* Grid cells */

.a-GV-cell {

    height: 40px !important;

    padding: 7px 10px !important;

    border-color: #e1e7e3 !important;

    background: #ffffff !important;

    color: #35433c !important;

    font-family: 'Cairo', sans-serif !important;

    border-top-width: 0;
    border-inline-start-width: 0;
}


/* Grid header */

.a-GV-header,
.a-GV-headerGroup {

    background: var(--iraq-green) !important;

    color: #ffffff !important;

    border-color: #0a653b !important;

    font-family: 'Cairo', sans-serif !important;
}


/* Header text */

.a-GV-headerLabel {

    color: #ffffff !important;

    font-family: 'Cairo', sans-serif !important;

    font-weight: 700 !important;

    white-space: nowrap;
}


/* Grid row hover */

.a-GV-row.is-hover {

    --a-gv-background-color:
        #edf7f1 !important;

    background: #edf7f1 !important;

    font-weight: 600;
}


/* Selected row */

.a-GV-row.is-selected {

    background: #e3f2ea !important;
}


/* Selected cell */

.a-GV-cell.is-selected {

    background: #e3f2ea !important;

    box-shadow:
        inset 0 0 0 1px var(--iraq-green) !important;
}


/* =========================================================
   10. DIALOG
   ========================================================= */

.ui-dialog {

    font-family: 'Cairo', sans-serif !important;

    border-radius: 8px !important;

    border: 1px solid var(--iraq-border) !important;

    box-shadow:
        0 10px 30px rgba(0,0,0,.15) !important;

    overflow: hidden !important;
}


/* Dialog title */

.ui-dialog-titlebar {

    background: var(--iraq-green) !important;

    color: #ffffff !important;

    border: none !important;

    font-family: 'Cairo', sans-serif !important;

    font-weight: 700 !important;

    cursor: move;
}


/* Dialog title text */

.ui-dialog-title {

    color: #ffffff !important;
}


/* Close button */

.ui-dialog-titlebar-close {

    background: transparent !important;

    border: none !important;
}

.ui-dialog-titlebar-close .ui-icon {

    color: #ffffff !important;

    background: transparent !important;
}


/* =========================================================
   11. DATE PICKER
   ========================================================= */

.oj-datepicker-content {

    background: #ffffff !important;

    border: 1px solid var(--iraq-border) !important;
}


/* Date header */

.oj-datepicker-calendar th {

    background: var(--iraq-green) !important;

    color: #ffffff !important;

    font-family: 'Cairo', sans-serif !important;

    font-weight: 600 !important;

    border: none !important;
}


/* Dates */

.oj-datepicker-calendar td a.oj-enabled {

    color: #35433c !important;

    border: 1px solid transparent !important;

    border-radius: 5px !important;

    font-family: 'Cairo', sans-serif !important;
}


/* Date hover */

.oj-datepicker-calendar .oj-enabled.oj-hover {

    background: var(--iraq-green-light) !important;

    color: var(--iraq-green-dark) !important;
}


/* Selected date */

.oj-datepicker-calendar td a.oj-selected,
.oj-datepicker-calendar td.oj-datepicker-today a.oj-selected {

    background: var(--iraq-green) !important;

    color: #ffffff !important;

    font-weight: 700 !important;
}


/* Today */

.oj-datepicker-calendar td.oj-datepicker-today a {

    border: 1px solid var(--iraq-green) !important;

    color: var(--iraq-green) !important;
}


/* =========================================================
   12. CHECKBOX / RADIO
   ========================================================= */

.apex-item-checkbox,
.apex-item-radio {

    accent-color: var(--iraq-green) !important;
}


/* Oracle JET icons */

.oj-text-field-container
.oj-clickable-icon-nocontext {

    background: transparent !important;
}


/* =========================================================
   13. SELECT LIST
   ========================================================= */

select.group_selectlist,
select.listmanager {

    font-family: 'Cairo', sans-serif !important;

    background: #ffffff !important;

    color: #35433c !important;

    border: 1px solid #cfd9d3 !important;

    border-radius: 6px !important;
}


/* =========================================================
   14. BADGES
   ========================================================= */

.t-Badge {

    font-family: 'Cairo', sans-serif !important;

    border-radius: 20px !important;

    background: var(--iraq-green-light) !important;

    color: var(--iraq-green-dark) !important;
}


/* =========================================================
   15. LINKS
   ========================================================= */

a {

    color: var(--iraq-green) !important;

    font-family: 'Cairo', sans-serif !important;
}

a:hover {

    color: var(--iraq-green-dark) !important;

    text-decoration: none !important;
}


/* =========================================================
   16. REPORTS
   ========================================================= */

.t-Report-report,
.t-Report-table {

    font-family: 'Cairo', sans-serif !important;

    background: #ffffff !important;
}


.t-Report-colHead {

    background: var(--iraq-green) !important;

    color: #ffffff !important;

    font-weight: 700 !important;
}


.t-Report-cell {

    border-color: #e1e7e3 !important;
}


/* =========================================================
   17. CARDS
   ========================================================= */

.t-Card {

    background: #ffffff !important;

    border: 1px solid var(--iraq-border) !important;

    border-radius: 8px !important;

    box-shadow: var(--iraq-shadow) !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease !important;
}


.t-Card:hover {

    transform: translateY(-2px);

    box-shadow:
        0 6px 16px rgba(0,0,0,.10) !important;
}


/* =========================================================
   18. SUCCESS / WARNING / DANGER
   ========================================================= */

.t-Alert--success {

    background: #e8f4ee !important;

    color: #075c36 !important;

    border-color: #a9cfba !important;
}


.t-Alert--warning {

    background: #fff8df !important;

    color: #765d00 !important;

    border-color: #ead68a !important;
}


.t-Alert--danger {

    background: #fff0f0 !important;

    color: #9c2d2d !important;

    border-color: #e0aaaa !important;
}


/* =========================================================
   19. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {

    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {

    background: #f1f3f2;
}

::-webkit-scrollbar-thumb {

    background: #9bb9a9;

    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {

    background: var(--iraq-green);
}


/* =========================================================
   20. REMOVE OLD STRONG COLORS
   ========================================================= */

.ui-icon,
.ui-dialog-titlebar-close .ui-icon {

    background-color: transparent !important;
}


/* =========================================================
   21. MAIN CONTENT SPACING
   ========================================================= */

.t-Body-contentInner {

    padding: 18px !important;
}


/* =========================================================
   22. LANGUAGE DIRECTION
   Arabic = RTL
   English = LTR
   Oracle APEX controls the page direction.
   ========================================================= */

/*
   IMPORTANT:
   Do NOT force direction: rtl on individual APEX components.
   APEX changes the <html dir="rtl/ltr"> attribute according
   to the application's current language.
*/

html,
body,
body.apex-page,
.t-Body-mainContent,
.t-Body-content,
.t-Region,
.t-Form-fieldContainer,
.a-GV {
    direction: inherit;
}

/* Arabic */
html[dir="rtl"] {
    direction: rtl;
}

/* English */
html[dir="ltr"] {
    direction: ltr;
}

/* Keep text direction inherited by APEX components */
html[dir="rtl"] body,
html[dir="ltr"] body {
    direction: inherit;
}

/* =========================================================
   22.1 LOGICAL SPACING
   Use logical CSS properties whenever possible so the
   layout automatically follows RTL/LTR.
   ========================================================= */


/* =========================================================
   23. FONT WEIGHTS
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Cairo', sans-serif !important;

    color: var(--iraq-green-dark) !important;
}
/* الصف المحدد */
.a-GV-row.is-selected {
    position: relative;
    box-shadow: inset 4px 0 0 #d4af37 !important;
}

/* خلايا الصف المحدد */
.a-GV-row.is-selected .a-GV-cell {
    background: linear-gradient(
        90deg,
        #454545 0%,
        #505050 50%,
        #454545 100%
    ) !important;

    color: #ffffff !important;

    transition: all 0.2s ease;
}

/* النص */
.a-GV-row.is-selected .a-GV-cell * {
    color: #ffffff !important;
}

/* Hover */
.a-GV-row:hover .a-GV-cell {
    background-color: #555555 !important;
}

/* الصف المختار + Hover */
.a-GV-row.is-selected:hover .a-GV-cell {
    background: linear-gradient(
        90deg,
        #505050,
        #5a5a5a,
        #505050
    ) !important;
}
/* =========================================================
   APEX 23.x
   Interactive Grid
   Giza Font + Selected Row
   ========================================================= */

.a-GV,
.a-GV-header,
.a-GV-table,
.a-GV-cell,
.a-GV-row,
.a-GV-headerLabel,
.a-GV-cell input,
.a-GV-cell select,
.a-GV-cell textarea {
    font-family: 'Giza', 'Cairo', Tahoma, Arial, sans-serif !important;
}


/* الصف المحدد */
.a-GV-row.is-selected .a-GV-cell {
    background: linear-gradient(
        90deg,
        #454545,
        #505050,
        #454545
    ) !important;

    color: #ffffff !important;

    transition: all 0.2s ease;
}


/* النص داخل الصف المحدد */
.a-GV-row.is-selected .a-GV-cell * {
    color: #ffffff !important;
    font-family: 'Giza', 'Cairo', Tahoma, Arial, sans-serif !important;
}


/* الخط الذهبي للصف المحدد */
.a-GV-row.is-selected .a-GV-cell:first-child {
    border-right: 4px solid #d4af37 !important;
}


/* عند مرور الماوس */
.a-GV-row:hover .a-GV-cell {
    background-color: #555555 !important;
}


/* الصف المحدد + الماوس */
.a-GV-row.is-selected:hover .a-GV-cell {
    background: #555555 !important;
}
```css
/* =========================================================
   NAVIGATION MENU
   GREEN BACKGROUND + WHITE TEXT
   FONT: GEEZA PRO
   Oracle APEX 23.x
   ========================================================= */


/* =========================================================
   1. الخط
   ========================================================= */

.t-TreeNav,
.t-TreeNav *,
.a-TreeView,
.a-TreeView * {

    font-family:
        "Geeza Pro",
        "Geeza",
        Tahoma,
        Arial,
        sans-serif !important;
}


/* =========================================================
   2. الخلفية الرئيسية للـ Navigation Menu
   ========================================================= */

.t-TreeNav {

    background: #7fbf8a !important;

    background-color: #7fbf8a !important;

}


/* =========================================================
   3. الخلفية الداخلية للقائمة
   ========================================================= */

.t-TreeNav .a-TreeView {

    background: #7fbf8a !important;

    background-color: #7fbf8a !important;

}


/* =========================================================
   4. جميع عناصر القائمة
   ========================================================= */

.t-TreeNav .a-TreeView-content {

    background: transparent !important;

    color: #ffffff !important;

    border-radius: 8px !important;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;

}


/* =========================================================
   5. النصوص
   ========================================================= */

.t-TreeNav .a-TreeView-label {

    color: #ffffff !important;

    font-family:
        "Geeza Pro",
        "Geeza",
        Tahoma,
        Arial,
        sans-serif !important;

}


/* =========================================================
   6. الأيقونات
   ========================================================= */

.t-TreeNav .a-TreeView-content .a-Icon {

    color: #ffffff !important;

}


/* =========================================================
   7. Hover
   ========================================================= */

.t-TreeNav .a-TreeView-content:hover {

    background: #5fa96d !important;

    background-color: #5fa96d !important;

    color: #ffffff !important;

    border-radius: 8px !important;

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.15) !important;

}


/* =========================================================
   8. Hover للنص
   ========================================================= */

.t-TreeNav .a-TreeView-content:hover
.a-TreeView-label {

    color: #ffffff !important;

}


/* =========================================================
   9. Hover للأيقونة
   ========================================================= */

.t-TreeNav .a-TreeView-content:hover
.a-Icon {

    color: #ffffff !important;

    transform: translateX(-2px);

}


/* =========================================================
   10. العنصر الحالي Active
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-current
> .a-TreeView-content,
.t-TreeNav .a-TreeView-node.is-selected
> .a-TreeView-content {

    background: #4f965d !important;

    background-color: #4f965d !important;

    color: #ffffff !important;

    border-radius: 8px !important;

    box-shadow:
        inset 4px 0 0 #d8f0dc,
        0 3px 10px rgba(0, 0, 0, 0.18) !important;

}


/* =========================================================
   11. النص في Active
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-current
.a-TreeView-label,
.t-TreeNav .a-TreeView-node.is-selected
.a-TreeView-label {

    color: #ffffff !important;

}


/* =========================================================
   12. الأيقونة في Active
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-current
.a-Icon,
.t-TreeNav .a-TreeView-node.is-selected
.a-Icon {

    color: #ffffff !important;

}


/* =========================================================
   13. القوائم المنسدلة Sub Menu
   ========================================================= */

.t-TreeNav .a-TreeView-node
.a-TreeView-node
.a-TreeView-content {

    background: transparent !important;

    color: #ffffff !important;

    border-radius: 7px !important;

}


/* =========================================================
   14. Hover للقائمة المنسدلة
   ========================================================= */

.t-TreeNav .a-TreeView-node
.a-TreeView-node
.a-TreeView-content:hover {

    background: #5fa96d !important;

    background-color: #5fa96d !important;

    color: #ffffff !important;

    border-radius: 7px !important;

    padding-right: 10px !important;

}


/* =========================================================
   15. نص القوائم المنسدلة
   ========================================================= */

.t-TreeNav .a-TreeView-node
.a-TreeView-node
.a-TreeView-label {

    color: #ffffff !important;

}


/* =========================================================
   16. فتح القائمة المنسدلة
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-expanded
> .a-TreeView-content {

    background: #6fb77b !important;

    background-color: #6fb77b !important;

    color: #ffffff !important;

}


/* =========================================================
   17. منع APEX من إعادة اللون الداكن
   ========================================================= */

.t-TreeNav .a-TreeView-content:focus {

    background: #6fb77b !important;

    background-color: #6fb77b !important;

    color: #ffffff !important;

}


/* =========================================================
   18. إجبار النص الأبيض بكل الحالات
   ========================================================= */

.t-TreeNav a,
.t-TreeNav span,
.t-TreeNav .a-TreeView-label {

    color: #ffffff !important;

}


/* =========================================================
   19. إجبار الأيقونات بيضاء
   ========================================================= */

.t-TreeNav .a-Icon,
.t-TreeNav .fa,
.t-TreeNav i {

    color: #ffffff !important;

}


/* =========================================================
   20. إزالة أي خلفية سوداء من عناصر القائمة
   ========================================================= */

.t-TreeNav .a-TreeView-node,
.t-TreeNav .a-TreeView-node--topLevel,
.t-TreeNav .a-TreeView-content {

    background-image: none !important;

}


/* =========================================================
   21. لون متناسق عند فتح Sub Menu
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-expanded
> .a-TreeView-content {

    background: #6fb77b !important;

}


/* =========================================================
   22. حركة ناعمة
   ========================================================= */

.t-TreeNav .a-TreeView-content {

    transition:
        all 0.25s ease !important;

}



```css
/* =========================================================
   FINAL FIX
   إزالة اللون الرصاصي من Hover في Navigation Menu
   Oracle APEX 23.x
   ========================================================= */

/* العنصر نفسه */
.t-TreeNav .a-TreeView-content:hover,
.t-TreeNav .a-TreeView-content:focus,
.t-TreeNav .a-TreeView-content:active,

/* العناصر الداخلية */
.t-TreeNav .a-TreeView-content:hover *,
.t-TreeNav .a-TreeView-content:focus *,
.t-TreeNav .a-TreeView-content:active * {

    color: #ffffff !important;
}


/* إجبار خلفية الـ Hover */
.t-TreeNav .a-TreeView-content:hover,
.t-TreeNav .a-TreeView-content:focus,
.t-TreeNav .a-TreeView-content:active {

    background: #5fa96d !important;
    background-color: #5fa96d !important;
    background-image: none !important;

    color: #ffffff !important;

    border-color: transparent !important;
}


/* منع الخلفية الرصاصية من الـ pseudo elements */
.t-TreeNav .a-TreeView-content:hover::before,
.t-TreeNav .a-TreeView-content:hover::after,
.t-TreeNav .a-TreeView-content:focus::before,
.t-TreeNav .a-TreeView-content:focus::after {

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    box-shadow: none !important;
}


/* إزالة أي Shadow رمادي من عناصر APEX */
.t-TreeNav .a-TreeView-content:hover {

    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.15) !important;
}


/* الأيقونة والنص يبقون أبيض */
.t-TreeNav .a-TreeView-content:hover
.a-TreeView-label,
.t-TreeNav .a-TreeView-content:hover
.a-Icon,
.t-TreeNav .a-TreeView-content:hover
i,
.t-TreeNav .a-TreeView-content:hover
span {

    color: #ffffff !important;
}


/* متغيرات APEX */
.t-TreeNav {

    --a-treeview-node-hover-background-color: #5fa96d !important;
    --a-treeview-node-hover-text-color: #ffffff !important;
    --a-treeview-node-current-background-color: #4f965d !important;
    --a-treeview-node-current-text-color: #ffffff !important;

}
```
/* =========================================================
   HRMS — UNIVERSAL INTERACTIVE GRID ROW HOVER
   Oracle APEX 23.2
   Toast / Row Updated inspired style
   Application Level
   ========================================================= */


/* =========================================================
   1. NORMAL ROW
   ========================================================= */

.a-GV-table .a-GV-row {
    transition:
        background-color .20s ease,
        box-shadow .20s ease,
        transform .20s ease;
}


/* =========================================================
   2. HOVER — MAIN EFFECT
   ========================================================= */

.a-GV-table .a-GV-row:hover > .a-GV-cell {

    background:
        linear-gradient(
            90deg,
            #e8f4ee 0%,
            #f4fbf7 50%,
            #e8f4ee 100%
        ) !important;

    color: #075c36 !important;

    border-top-color: rgba(8,116,67,.18) !important;
    border-bottom-color: rgba(8,116,67,.18) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.90),
        inset 0 -1px 0 rgba(8,116,67,.12);

    transition:
        background .20s ease,
        color .20s ease,
        box-shadow .20s ease;
}


/* =========================================================
   3. TEXT INSIDE HOVER ROW
   ========================================================= */

.a-GV-table .a-GV-row:hover td,
.a-GV-table .a-GV-row:hover th,
.a-GV-table .a-GV-row:hover a,
.a-GV-table .a-GV-row:hover span {

    color: #075c36 !important;
}


/* =========================================================
   4. LINKS / ACTIONS
   ========================================================= */

.a-GV-table .a-GV-row:hover a {

    font-weight: 600;

    text-shadow:
        0 1px 1px rgba(255,255,255,.8);

    transition:
        color .15s ease,
        text-shadow .15s ease;
}


/* =========================================================
   5. EDIT ICON / ROW ACTION
   ========================================================= */

.a-GV-table .a-GV-row:hover .a-Icon,
.a-GV-table .a-GV-row:hover .fa {

    color: #087443 !important;

    filter:
        drop-shadow(0 1px 1px rgba(0,0,0,.15));

    transition:
        color .15s ease,
        transform .15s ease;
}


.a-GV-table .a-GV-row:hover .a-Icon:hover,
.a-GV-table .a-GV-row:hover .fa:hover {

    color: #c9a227 !important;

    transform: scale(1.12);
}


/* =========================================================
   6. SELECTED ROW
   ========================================================= */

/*
   مهم جداً:
   إذا الصف Selected وبعدها تحرك الماوس عليه،
   لا نخليه يرجع للرمادي القديم.
*/

.a-GV-table .a-GV-row.is-selected:hover > .a-GV-cell,
.a-GV-table .a-GV-row.is-selected.a-GV-row:hover > .a-GV-cell {

    background:
        linear-gradient(
            90deg,
            #dff3e8 0%,
            #eefaf3 50%,
            #dff3e8 100%
        ) !important;

    color: #064d2e !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        inset 0 -1px 0 rgba(8,116,67,.20),
        0 0 12px rgba(8,116,67,.12);
}


/* =========================================================
   7. SELECTED + HOVER TEXT
   ========================================================= */

.a-GV-table
.a-GV-row.is-selected:hover td,
.a-GV-table
.a-GV-row.is-selected:hover a,
.a-GV-table
.a-GV-row.is-selected:hover span {

    color: #064d2e !important;
}


/* =========================================================
   8. GOLD ACCENT ON THE LEFT
   ========================================================= */

.a-GV-table .a-GV-row:hover > .a-GV-cell:first-child {

    box-shadow:
        inset 4px 0 0 #c9a227,
        inset 0 1px 0 rgba(255,255,255,.9),
        inset 0 -1px 0 rgba(8,116,67,.12);
}


/* =========================================================
   9. SELECTED ROW GOLD ACCENT
   ========================================================= */

.a-GV-table
.a-GV-row.is-selected:hover > .a-GV-cell:first-child {

    box-shadow:
        inset 4px 0 0 #c9a227,
        inset 0 1px 0 rgba(255,255,255,.95),
        inset 0 -1px 0 rgba(8,116,67,.20);
}


/* =========================================================
   10. SMOOTH ROW SEPARATION
   ========================================================= */

.a-GV-table .a-GV-row:hover {

    position: relative;
    z-index: 2;
}


/* =========================================================
   11. REMOVE OLD APEX HOVER COLORS
   ========================================================= */

.a-GV-table
.a-GV-row:hover
.a-GV-cell:not(.is-active) {

    background-color: transparent;
}


/* =========================================================
   12. ACTIVE CELL — KEEP IT CLEAN
   ========================================================= */

.a-GV-table
.a-GV-row:hover
.a-GV-cell.is-active {

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f3faf6 100%
        ) !important;

    color: #075c36 !important;

    box-shadow:
        inset 0 0 0 1px rgba(8,116,67,.25);
}


/* =========================================================
   13. SEARCH / FILTER / CONTROLLED GRID AREAS
   ========================================================= */

.a-GV-header {

    box-shadow:
        0 2px 5px rgba(0,0,0,.08);
}


/* =========================================================
   14. DISABLE UGLY GRAY APEX HOVER
   ========================================================= */

.a-GV-table
.a-GV-row:hover
.a-GV-cell {

    background-color: #eef8f2 !important;
}


/* =========================================================
   15. FINAL POLISH
   ========================================================= */

.a-GV-table
.a-GV-row:hover > .a-GV-cell:first-child,
.a-GV-table
.a-GV-row:hover > .a-GV-cell:last-child {

    border-radius: 0;
}



/* =========================================================
   HRMS — FINAL INTERACTIVE GRID HOVER
   الرصاصي الشفاف الناعم
   ========================================================= */

/* 1. عند مرور الماوس على أي سجل */
.a-GV-table .a-GV-row:hover > .a-GV-cell {

    background:
        linear-gradient(
            90deg,
            rgba(185, 192, 188, 0.55) 0%,
            rgba(235, 239, 237, 0.72) 50%,
            rgba(185, 192, 188, 0.55) 100%
        ) !important;

    color: #35433c !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.85),
        inset 0 -1px 0 rgba(90,100,95,.12) !important;

    transition:
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}


/* 2. إذا السجل Selected وبنفس الوقت الماوس فوقه */
.a-GV-table .a-GV-row.is-selected:hover > .a-GV-cell,
.a-GV-table .a-GV-row.is-selected.a-GV-row:hover > .a-GV-cell {

    background:
        linear-gradient(
            90deg,
            rgba(185, 192, 188, 0.55) 0%,
            rgba(235, 239, 237, 0.72) 50%,
            rgba(185, 192, 188, 0.55) 100%
        ) !important;

    color: #35433c !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.85),
        inset 0 -1px 0 rgba(90,100,95,.12) !important;
}


/* 3. النص داخل السجل */
.a-GV-table .a-GV-row:hover td,
.a-GV-table .a-GV-row:hover th,
.a-GV-table .a-GV-row:hover a,
.a-GV-table .a-GV-row:hover span {

    color: #35433c !important;
}


/* 4. النص داخل Selected + Hover */
.a-GV-table .a-GV-row.is-selected:hover td,
.a-GV-table .a-GV-row.is-selected:hover a,
.a-GV-table .a-GV-row.is-selected:hover span {

    color: #35433c !important;
}


/* 5. الخط الذهبي يبقى موجود بشكل أنيق */
.a-GV-table .a-GV-row:hover > .a-GV-cell:first-child {

    box-shadow:
        inset 4px 0 0 #c9a227,
        inset 0 1px 0 rgba(255,255,255,.85),
        inset 0 -1px 0 rgba(90,100,95,.12) !important;
}


/* 6. الأيقونات */
.a-GV-table .a-GV-row:hover .a-Icon,
.a-GV-table .a-GV-row:hover .fa {

    color: #075c36 !important;
}


/* 7. إذا الصف Selected بدون ماوس
      نخليه فاتح بدل الأسود */
.a-GV-table .a-GV-row.is-selected > .a-GV-cell {

    background:
        linear-gradient(
            90deg,
            rgba(210, 217, 213, 0.65),
            rgba(240, 243, 241, 0.78),
            rgba(210, 217, 213, 0.65)
        ) !important;

    color: #35433c !important;
}


/* 8. النص داخل الصف Selected */
.a-GV-table .a-GV-row.is-selected > .a-GV-cell * {

    color: #35433c !important;
}

/* =========================================================
   HRMS — UNIVERSAL GLASS GRAY THEME
   GRID + HOVER + SELECTED + SIDE MENU + ACTIVE MENU
   ========================================================= */


/* =========================================================
   1. اللون الموحد
   ========================================================= */

:root {
    --hrms-glass-gray:
        linear-gradient(
            90deg,
            rgba(185, 192, 188, 0.55) 0%,
            rgba(235, 239, 237, 0.72) 50%,
            rgba(185, 192, 188, 0.55) 100%
        );

    --hrms-text-dark: #35433c;
    --hrms-green: #075c36;
}


/* =========================================================
   2. INTERACTIVE GRID — HOVER
   ========================================================= */

.a-GV-table .a-GV-row:hover > .a-GV-cell {

    background: var(--hrms-glass-gray) !important;

    color: var(--hrms-text-dark) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.85),
        inset 0 -1px 0 rgba(90,100,95,.12) !important;

    transition:
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}


/* =========================================================
   3. GRID — SELECTED
   ========================================================= */

.a-GV-table .a-GV-row.is-selected > .a-GV-cell {

    background: var(--hrms-glass-gray) !important;

    color: var(--hrms-text-dark) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.85),
        inset 0 -1px 0 rgba(90,100,95,.12) !important;
}


/* =========================================================
   4. GRID — SELECTED + HOVER
   ========================================================= */

.a-GV-table .a-GV-row.is-selected:hover > .a-GV-cell,
.a-GV-table .a-GV-row.is-selected.a-GV-row:hover > .a-GV-cell {

    background: var(--hrms-glass-gray) !important;

    color: var(--hrms-text-dark) !important;
}


/* =========================================================
   5. GRID — TEXT
   ========================================================= */

.a-GV-table .a-GV-row:hover td,
.a-GV-table .a-GV-row:hover th,
.a-GV-table .a-GV-row:hover a,
.a-GV-table .a-GV-row:hover span,

.a-GV-table .a-GV-row.is-selected td,
.a-GV-table .a-GV-row.is-selected a,
.a-GV-table .a-GV-row.is-selected span {

    color: var(--hrms-text-dark) !important;
}


/* =========================================================
   6. GRID — FIRST CELL GOLD LINE
   ========================================================= */

.a-GV-table .a-GV-row:hover > .a-GV-cell:first-child,
.a-GV-table .a-GV-row.is-selected > .a-GV-cell:first-child {

    box-shadow:
        inset 4px 0 0 #c9a227,
        inset 0 1px 0 rgba(255,255,255,.85),
        inset 0 -1px 0 rgba(90,100,95,.12) !important;
}


/* =========================================================
   7. GRID — ICONS
   ========================================================= */

.a-GV-table .a-GV-row:hover .a-Icon,
.a-GV-table .a-GV-row:hover .fa,
.a-GV-table .a-GV-row.is-selected .a-Icon,
.a-GV-table .a-GV-row.is-selected .fa {

    color: var(--hrms-green) !important;
}


/* =========================================================
   8. SIDE NAVIGATION — HOVER
   ========================================================= */

.t-TreeNav .a-TreeView-content:hover {

    background: var(--hrms-glass-gray) !important;
    background-color: transparent !important;

    color: var(--hrms-text-dark) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.85),
        inset 0 -1px 0 rgba(90,100,95,.12) !important;

    transition:
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}


/* =========================================================
   9. SIDE NAVIGATION — HOVER TEXT
   ========================================================= */

.t-TreeNav .a-TreeView-content:hover .a-TreeView-label {

    color: var(--hrms-text-dark) !important;
}


/* =========================================================
   10. SIDE NAVIGATION — HOVER ICON
   ========================================================= */

.t-TreeNav .a-TreeView-content:hover .a-Icon {

    color: var(--hrms-green) !important;
}


/* =========================================================
   11. SIDE NAVIGATION — ACTIVE / CURRENT
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-current
> .a-TreeView-content,

.t-TreeNav .a-TreeView-node.is-selected
> .a-TreeView-content {

    background: var(--hrms-glass-gray) !important;
    background-color: transparent !important;

    color: var(--hrms-text-dark) !important;

    box-shadow:
        inset 4px 0 0 #c9a227,
        inset 0 1px 0 rgba(255,255,255,.85),
        inset 0 -1px 0 rgba(90,100,95,.12) !important;
}


/* =========================================================
   12. ACTIVE MENU — TEXT
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-current
.a-TreeView-label,

.t-TreeNav .a-TreeView-node.is-selected
.a-TreeView-label {

    color: var(--hrms-text-dark) !important;
}


/* =========================================================
   13. ACTIVE MENU — ICON
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-current
.a-Icon,

.t-TreeNav .a-TreeView-node.is-selected
.a-Icon {

    color: var(--hrms-green) !important;
}


/* =========================================================
   14. SUB MENU — HOVER
   ========================================================= */

.t-TreeNav .a-TreeView-node
.a-TreeView-node
.a-TreeView-content:hover {

    background: var(--hrms-glass-gray) !important;
    background-color: transparent !important;

    color: var(--hrms-text-dark) !important;
}


/* =========================================================
   15. SUB MENU — TEXT
   ========================================================= */

.t-TreeNav .a-TreeView-node
.a-TreeView-node
.a-TreeView-content:hover .a-TreeView-label {

    color: var(--hrms-text-dark) !important;
}


/* =========================================================
   16. SUB MENU — ICON
   ========================================================= */

.t-TreeNav .a-TreeView-node
.a-TreeView-node
.a-TreeView-content:hover .a-Icon {

    color: var(--hrms-green) !important;
}

/* =========================================================
   HRMS — DISABLE MOUSE HOVER EFFECT
   إلغاء تضليل/تغيير اللون عند مرور الماوس
   ========================================================= */

/* -------------------------
   SIDE MENU
   ------------------------- */

.t-TreeNav .a-TreeView-content:hover {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

/* لا تغيّر لون النص عند مرور الماوس */
.t-TreeNav .a-TreeView-content:hover .a-TreeView-label,
.t-TreeNav .a-TreeView-content:hover .a-Icon,
.t-TreeNav .a-TreeView-content:hover i,
.t-TreeNav .a-TreeView-content:hover span {
    color: inherit !important;
    transform: none !important;
}

/* إزالة أي تأثير من العناصر الداخلية */
.t-TreeNav .a-TreeView-content:hover::before,
.t-TreeNav .a-TreeView-content:hover::after {
    background: transparent !important;
    box-shadow: none !important;
}


/* -------------------------
   GRID
   ------------------------- */

/* إلغاء تغيير لون الصف بمجرد مرور الماوس */
.a-GV-table .a-GV-row:hover > .a-GV-cell {
    background: inherit !important;
    color: inherit !important;
}

/* إلغاء أي Shadow أو حركة بسبب Hover */
.a-GV-table .a-GV-row:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* العناصر داخل الصف */
.a-GV-table .a-GV-row:hover a,
.a-GV-table .a-GV-row:hover span,
.a-GV-table .a-GV-row:hover .a-Icon,
.a-GV-table .a-GV-row:hover .fa {
    color: inherit !important;
    transform: none !important;
    text-shadow: none !important;
    filter: none !important;
}


/* -------------------------
   SELECTED ROW
   يبقى الـ Active/Selected شغال
   ------------------------- */

.a-GV-table .a-GV-row.is-selected:hover > .a-GV-cell {
    background: inherit !important;
}


/* -------------------------
   SIDE MENU ACTIVE
   الـ Active يبقى ثابت
   ------------------------- */

.t-TreeNav .a-TreeView-node.is-current
> .a-TreeView-content:hover,

.t-TreeNav .a-TreeView-node.is-selected
> .a-TreeView-content:hover {
    box-shadow: none !important;
    transform: none !important;
}
/* =========================================================
   HRMS FINAL COLOR FIX
   Selected Grid Row = نفس لون القائمة
   إزالة اللون الأسود نهائياً
   ========================================================= */


/* =========================================================
   1. SELECTED ROW
   ========================================================= */

.a-GV-table .a-GV-row.is-selected > .a-GV-cell,
.a-GV-table .a-GV-row.is-selected .a-GV-cell {

    background: #e8f4ee !important;
    background-color: #e8f4ee !important;

    color: #35433c !important;

    box-shadow: none !important;
}


/* =========================================================
   2. النص داخل الصف المحدد
   ========================================================= */

.a-GV-table .a-GV-row.is-selected > .a-GV-cell *,
.a-GV-table .a-GV-row.is-selected > .a-GV-cell a,
.a-GV-table .a-GV-row.is-selected > .a-GV-cell span {

    color: #35433c !important;
}


/* =========================================================
   3. SELECTED + HOVER
   نفس اللون بدون أي تغيير
   ========================================================= */

.a-GV-table .a-GV-row.is-selected:hover > .a-GV-cell,
.a-GV-table .a-GV-row.is-selected.a-GV-row:hover > .a-GV-cell {

    background: #e8f4ee !important;
    background-color: #e8f4ee !important;

    color: #35433c !important;

    box-shadow: none !important;
}


/* =========================================================
   4. إزالة تأثير Hover عن الصف المحدد
   ========================================================= */

.a-GV-table .a-GV-row.is-selected:hover > .a-GV-cell *,
.a-GV-table .a-GV-row.is-selected:hover > .a-GV-cell a,
.a-GV-table .a-GV-row.is-selected:hover > .a-GV-cell span {

    color: #35433c !important;
}


/* =========================================================
   5. الخط الذهبي يبقى موجود
   ========================================================= */

.a-GV-table .a-GV-row.is-selected > .a-GV-cell:first-child {

    box-shadow:
        inset 4px 0 0 #c9a227 !important;

}


/* =========================================================
   6. نفس لون عنصر القائمة Active
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-current
> .a-TreeView-content,

.t-TreeNav .a-TreeView-node.is-selected
> .a-TreeView-content {

    background: #e8f4ee !important;
    background-color: #e8f4ee !important;

    color: #35433c !important;

    box-shadow: none !important;
}


/* النص داخل Active Menu */

.t-TreeNav .a-TreeView-node.is-current
.a-TreeView-label,

.t-TreeNav .a-TreeView-node.is-selected
.a-TreeView-label {

    color: #35433c !important;
}


/* الأيقونة */

.t-TreeNav .a-TreeView-node.is-current
.a-Icon,

.t-TreeNav .a-TreeView-node.is-selected
.a-Icon {

    color: #075c36 !important;
}

```css
/* =========================================================
   HRMS — OFF WHITE NAVIGATION STYLE
   Oracle APEX 23.2
   Font: Cairo
   ========================================================= */


/* =========================================================
   1. GLOBAL FONT
   ========================================================= */

.t-Header,
.t-Header-nav,
.t-NavigationBar,
.t-Body-nav,
.t-TreeNav,
.t-TreeNav-item,
.t-TreeNav-label,
.t-NavigationBar-item,
.t-NavigationBar-menu,
.t-MenuBar,
.t-MenuBar-item,
.t-MenuBar-label,
.t-Menu,
.t-Menu-item {
    font-family: 'Cairo', sans-serif !important;
}


/* =========================================================
   2. NAVIGATION BAR — الشريط العلوي
   ========================================================= */

.t-Header-nav {
    background: #F7F6F2 !important;
    border-bottom: 1px solid #D8D6D0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}


/* عناصر الـ Navigation Bar */

.t-NavigationBar-item,
.t-NavigationBar-item > a {
    background: transparent !important;
    color: #222222 !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600 !important;
}


/* =========================================================
   3. NAVIGATION MENU — القائمة الجانبية
   ========================================================= */

.t-Body-nav {
    background: #F7F6F2 !important;
    border-right: 1px solid #D8D6D0 !important;
}


/* القائمة نفسها */

.t-TreeNav {
    background: #F7F6F2 !important;
}


/* عناصر القائمة */

.t-TreeNav-item {
    background: transparent !important;
}


/* النص */

.t-TreeNav-label {
    color: #222222 !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600 !important;
}


/* الأيقونات */

.t-TreeNav .fa,
.t-TreeNav .fa::before {
    color: #333333 !important;
}


/* =========================================================
   4. ACTIVE MENU — الصفحة الحالية
   ========================================================= */

.t-TreeNav-item.is-current,
.t-TreeNav-item.is-current > .a-TreeView-node,
.t-TreeNav-item.is-current > a {
    background: #E4E2DC !important;
    color: #111111 !important;
}


/* النص داخل الصفحة الحالية */

.t-TreeNav-item.is-current .t-TreeNav-label {
    color: #111111 !important;
    font-weight: 700 !important;
}


/* أيقونة الصفحة الحالية */

.t-TreeNav-item.is-current .fa,
.t-TreeNav-item.is-current .fa::before {
    color: #222222 !important;
}


/* =========================================================
   5. HOVER — نلغي التضليل القوي
   ========================================================= */

.t-TreeNav-item:hover,
.t-TreeNav-item:hover > a,
.t-TreeNav-item:hover > .a-TreeView-node {
    background: transparent !important;
    color: #222222 !important;
}


/* Hover للنص */

.t-TreeNav-item:hover .t-TreeNav-label {
    color: #222222 !important;
}


/* Hover للأيقونة */

.t-TreeNav-item:hover .fa,
.t-TreeNav-item:hover .fa::before {
    color: #333333 !important;
}


/* =========================================================
   6. DROPDOWN MENUS — القوائم المنسدلة
   ========================================================= */

.t-NavigationBar-menu,
.t-Menu,
.t-Menu-content,
.t-Menu-item {
    background: #F7F6F2 !important;
    color: #222222 !important;
}


/* نص القائمة المنسدلة */

.t-Menu-label,
.t-NavigationBar-menu .a-Menu-label {
    color: #222222 !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600 !important;
}


/* =========================================================
   7. DROPDOWN HOVER
   ========================================================= */

.t-Menu-item:hover,
.t-Menu-item:focus,
.t-Menu-item.is-focused {
    background: #E9E7E1 !important;
    color: #111111 !important;
}


/* =========================================================
   8. MENU ICONS
   ========================================================= */

.t-Menu-item .fa,
.t-Menu-item .fa::before,
.t-NavigationBar-menu .fa,
.t-NavigationBar-menu .fa::before {
    color: #333333 !important;
}


/* =========================================================
   9. SUB MENU / CHILDREN
   ========================================================= */

.t-TreeNav .a-TreeView-row,
.t-TreeNav .a-TreeView-content {
    background: transparent !important;
}


/* القوائم الفرعية */

.t-TreeNav .a-TreeView-row:hover {
    background: transparent !important;
}


/* =========================================================
   10. EXPAND / COLLAPSE ARROWS
   ========================================================= */

.t-TreeNav .a-TreeView-toggle {
    color: #333333 !important;
}


/* =========================================================
   11. NAVIGATION BORDER
   ========================================================= */

.t-Body-nav,
.t-Header-nav {
    border-color: #D8D6D0 !important;
}


/* =========================================================
   12. REMOVE DARK BLACK BACKGROUNDS
   ========================================================= */

.t-TreeNav,
.t-TreeNav-item,
.t-TreeNav-item > a,
.t-TreeNav-item > .a-TreeView-node,
.t-NavigationBar,
.t-NavigationBar-item,
.t-Header-nav {
    box-shadow: none !important;
}


/* =========================================================
   13. OFF-WHITE COLOR SYSTEM
   ========================================================= */

:root {
    --hr-offwhite: #F7F6F2;
    --hr-offwhite-hover: #E9E7E1;
    --hr-offwhite-active: #E4E2DC;
    --hr-border: #D8D6D0;
    --hr-text: #222222;
    --hr-icon: #333333;
}


/* =========================================================
   14. FORCE FONT ON ALL MENU TEXT
   ========================================================= */

.t-TreeNav *,
.t-NavigationBar *,
.t-Menu *,
.t-Header-nav * {
    font-family: 'Cairo', sans-serif !important;
}

```css
/* =========================================================
   HRMS — FINAL NAVIGATION OVERRIDE
   Oracle APEX 23.2
   OFF-WHITE + BLACK + CAIRO
   يوضع في آخر الـ Inline CSS
   ========================================================= */


/* =========================================================
   1. COLORS
   ========================================================= */

:root {
    --nav-offwhite: #F5F4F0;
    --nav-offwhite-hover: #E8E6E0;
    --nav-offwhite-active: #DEDDD7;
    --nav-border: #D3D1CB;
    --nav-text: #222222;
    --nav-icon: #333333;
}


/* =========================================================
   2. SIDE NAVIGATION — الخلفية الرئيسية
   ========================================================= */

.t-Body-nav,
.t-SideNav,
.t-TreeNav,
.t-TreeNav .a-TreeView,
.t-TreeNav .a-TreeView-content,
.t-TreeNav .a-TreeView-sub {

    background: var(--nav-offwhite) !important;
    background-color: var(--nav-offwhite) !important;
    background-image: none !important;

    border-color: var(--nav-border) !important;
}


/* =========================================================
   3. كل عناصر القائمة
   ========================================================= */

.t-TreeNav .a-TreeView-node,
.t-TreeNav .a-TreeView-node--topLevel {

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}


/* =========================================================
   4. النص الأساسي
   ========================================================= */

.t-TreeNav .a-TreeView-label,
.t-TreeNav a,
.t-TreeNav span {

    font-family:
        'Cairo',
        Tahoma,
        Arial,
        sans-serif !important;

    color: var(--nav-text) !important;

    font-weight: 600 !important;
}


/* =========================================================
   5. الأيقونات
   ========================================================= */

.t-TreeNav .a-Icon,
.t-TreeNav .fa,
.t-TreeNav i,
.t-TreeNav .a-TreeView-toggle {

    color: var(--nav-icon) !important;
}


/* =========================================================
   6. HOVER
   لا أخضر — لا أسود
   ========================================================= */

.t-TreeNav .a-TreeView-content:hover,
.t-TreeNav .a-TreeView-content:focus {

    background: var(--nav-offwhite-hover) !important;
    background-color: var(--nav-offwhite-hover) !important;
    background-image: none !important;

    color: var(--nav-text) !important;

    box-shadow: none !important;
    border-color: transparent !important;
}


/* النص عند Hover */

.t-TreeNav .a-TreeView-content:hover .a-TreeView-label,
.t-TreeNav .a-TreeView-content:focus .a-TreeView-label {

    color: var(--nav-text) !important;
}


/* الأيقونة عند Hover */

.t-TreeNav .a-TreeView-content:hover .a-Icon,
.t-TreeNav .a-TreeView-content:hover .fa,
.t-TreeNav .a-TreeView-content:hover i {

    color: var(--nav-icon) !important;
}


/* =========================================================
   7. ACTIVE / CURRENT PAGE
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-current > .a-TreeView-content,
.t-TreeNav .a-TreeView-node.is-current--top > .a-TreeView-content,
.t-TreeNav .a-TreeView-node.is-selected > .a-TreeView-content {

    background: var(--nav-offwhite-active) !important;
    background-color: var(--nav-offwhite-active) !important;
    background-image: none !important;

    color: var(--nav-text) !important;

    border-radius: 7px !important;

    box-shadow:
        inset 4px 0 0 #C9A227 !important;
}


/* النص في Active */

.t-TreeNav .a-TreeView-node.is-current .a-TreeView-label,
.t-TreeNav .a-TreeView-node.is-current--top .a-TreeView-label,
.t-TreeNav .a-TreeView-node.is-selected .a-TreeView-label {

    color: #111111 !important;

    font-weight: 700 !important;
}


/* الأيقونة في Active */

.t-TreeNav .a-TreeView-node.is-current .a-Icon,
.t-TreeNav .a-TreeView-node.is-current--top .a-Icon,
.t-TreeNav .a-TreeView-node.is-selected .a-Icon {

    color: #333333 !important;
}


/* =========================================================
   8. ACTIVE + HOVER
   يبقى نفس لون Active
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-current
> .a-TreeView-content:hover,

.t-TreeNav .a-TreeView-node.is-current--top
> .a-TreeView-content:hover,

.t-TreeNav .a-TreeView-node.is-selected
> .a-TreeView-content:hover {

    background: var(--nav-offwhite-active) !important;
    background-color: var(--nav-offwhite-active) !important;

    color: #111111 !important;

    box-shadow:
        inset 4px 0 0 #C9A227 !important;
}


/* =========================================================
   9. SUB MENU — القوائم الفرعية
   ========================================================= */

.t-TreeNav .a-TreeView-node
.a-TreeView-node
.a-TreeView-content {

    background: transparent !important;
    background-color: transparent !important;

    color: var(--nav-text) !important;
}


/* Sub Menu Hover */

.t-TreeNav .a-TreeView-node
.a-TreeView-node
.a-TreeView-content:hover {

    background: var(--nav-offwhite-hover) !important;
    background-color: var(--nav-offwhite-hover) !important;

    color: var(--nav-text) !important;

    box-shadow: none !important;
}


/* Sub Menu text */

.t-TreeNav .a-TreeView-node
.a-TreeView-node
.a-TreeView-label {

    color: var(--nav-text) !important;
}


/* =========================================================
   10. EXPANDED MENU
   ========================================================= */

.t-TreeNav .a-TreeView-node.is-expanded
> .a-TreeView-content {

    background: transparent !important;
    background-color: transparent !important;

    color: var(--nav-text) !important;
}


/* =========================================================
   11. NAVIGATION BAR — الشريط العلوي
   ========================================================= */

.t-Header-nav,
.t-NavigationBar {

    background: var(--nav-offwhite) !important;
    background-color: var(--nav-offwhite) !important;
    background-image: none !important;

    border-color: var(--nav-border) !important;

    box-shadow:
        0 2px 8px rgba(0,0,0,.07) !important;
}


/* عناصر الشريط العلوي */

.t-NavigationBar-item,
.t-NavigationBar-item > a {

    background: transparent !important;

    color: var(--nav-text) !important;

    font-family:
        'Cairo',
        Tahoma,
        Arial,
        sans-serif !important;

    font-weight: 600 !important;
}


/* =========================================================
   12. NAVIGATION BAR HOVER
   ========================================================= */

.t-NavigationBar-item:hover,
.t-NavigationBar-item > a:hover {

    background: var(--nav-offwhite-hover) !important;
    background-color: var(--nav-offwhite-hover) !important;

    color: var(--nav-text) !important;
}


/* =========================================================
   13. DROPDOWN MENU
   ========================================================= */

.t-NavigationBar-menu,
.t-Menu,
.t-Menu-content {

    background: var(--nav-offwhite) !important;
    background-color: var(--nav-offwhite) !important;
    background-image: none !important;

    border: 1px solid var(--nav-border) !important;

    box-shadow:
        0 8px 20px rgba(0,0,0,.12) !important;
}


/* عناصر القائمة المنسدلة */

.t-Menu-item {

    background: transparent !important;

    color: var(--nav-text) !important;

    font-family:
        'Cairo',
        Tahoma,
        Arial,
        sans-serif !important;
}


/* النص */

.t-Menu-label,
.t-NavigationBar-menu .a-Menu-label {

    color: var(--nav-text) !important;

    font-family:
        'Cairo',
        Tahoma,
        Arial,
        sans-serif !important;

    font-weight: 600 !important;
}


/* =========================================================
   14. DROPDOWN HOVER
   ========================================================= */

.t-Menu-item:hover,
.t-Menu-item:focus,
.t-Menu-item.is-focused {

    background: var(--nav-offwhite-hover) !important;
    background-color: var(--nav-offwhite-hover) !important;

    color: #111111 !important;
}


/* النص عند Hover */

.t-Menu-item:hover .t-Menu-label,
.t-Menu-item:hover .a-Menu-label {

    color: #111111 !important;
}


/* =========================================================
   15. DROPDOWN ICONS
   ========================================================= */

.t-Menu-item .fa,
.t-Menu-item .a-Icon,
.t-NavigationBar-menu .fa,
.t-NavigationBar-menu .a-Icon {

    color: var(--nav-icon) !important;
}


/* =========================================================
   16. منع الألوان الخضراء القديمة
   ========================================================= */

.t-TreeNav .a-TreeView-content:hover,
.t-TreeNav .a-TreeView-content:focus,
.t-TreeNav .a-TreeView-content:active {

    border-color: transparent !important;
}


/* =========================================================
   17. إزالة أي Shadow قديم من القائمة
   ========================================================= */

.t-TreeNav .a-TreeView-content,
.t-TreeNav .a-TreeView-node {

    text-shadow: none !important;
}


/* =========================================================
   18. إجبار Cairo على Navigation بالكامل
   ========================================================= */

.t-Body-nav *,
.t-TreeNav *,
.t-NavigationBar *,
.t-NavigationBar-menu *,
.t-Menu * {

    font-family:
        'Cairo',
        Tahoma,
        Arial,
        sans-serif !important;
}


/* =========================================================
   19. FINAL OVERRIDE
   أقوى قواعد في آخر الكود
   ========================================================= */

.t-Body-nav,
.t-TreeNav,
.t-TreeNav .a-TreeView {

    background-color: #F5F4F0 !important;
}


.t-TreeNav .a-TreeView-label {

    color: #222222 !important;
}


.t-TreeNav .a-TreeView-content:hover {

    background-color: #E8E6E0 !important;
    color: #222222 !important;
}
/* =========================================================
   HRMS — SIDE MENU MAIN PARENT ARROWS
   Oracle APEX 23.2
   سهم فقط للصفحات الرئيسية التي تحتوي Sub Menu
   بدون مربعات
   بدون أسهم للصفحات الفرعية
   RTL = السهم جهة اليمين
   ========================================================= */


/* =========================================================
   1. إزالة شكل المربع القديم من Toggle
   ========================================================= */

.t-TreeNav .a-TreeView-toggle {

    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;

    border: 0 !important;
    box-shadow: none !important;

    width: 24px !important;
    height: 24px !important;

    min-width: 24px !important;

    padding: 0 !important;

    margin: 0 !important;

    position: relative !important;

    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    color: transparent !important;

}


/* =========================================================
   2. إخفاء أي Icon أصلي داخل Toggle
   ========================================================= */

.t-TreeNav .a-TreeView-toggle .a-Icon,
.t-TreeNav .a-TreeView-toggle .fa {

    display: none !important;

}


/* =========================================================
   3. إنشاء السهم للصفحة الرئيسية
   ========================================================= */

.t-TreeNav .a-TreeView-toggle::before {

    content: "›" !important;

    display: block !important;

    font-family: Arial, sans-serif !important;

    font-size: 25px !important;

    font-weight: 400 !important;

    line-height: 20px !important;

    color: #333333 !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;

    transform: rotate(180deg);

    transition:
        transform .20s ease,
        color .20s ease;

}


/* =========================================================
   4. عند فتح الصفحة الرئيسية
      السهم يتحول للأسفل
   ========================================================= */

.t-TreeNav
.a-TreeView-node.is-expanded
> .a-TreeView-content
.a-TreeView-toggle::before {

    transform: rotate(90deg) !important;

}


/* =========================================================
   5. السهم يكون جهة اليمين في RTL
   ========================================================= */

html[dir="rtl"] .t-TreeNav
.a-TreeView-toggle {

    order: -1 !important;

    margin-left: 6px !important;
    margin-right: 0 !important;

}


/* =========================================================
   6. منع أي خلفية أو مربع عند الضغط
   ========================================================= */

.t-TreeNav .a-TreeView-toggle:hover,
.t-TreeNav .a-TreeView-toggle:focus,
.t-TreeNav .a-TreeView-toggle:active {

    background: transparent !important;

    background-color: transparent !important;

    background-image: none !important;

    border: 0 !important;

    box-shadow: none !important;

    outline: none !important;

}


/* =========================================================
   7. لون السهم عند Hover
   ========================================================= */

.t-TreeNav .a-TreeView-content:hover
.a-TreeView-toggle::before {

    color: #075c36 !important;

}


/* =========================================================
   8. الصفحة الرئيسية Active
   ========================================================= */

.t-TreeNav
.a-TreeView-node.is-current
> .a-TreeView-content
.a-TreeView-toggle::before,

.t-TreeNav
.a-TreeView-node.is-selected
> .a-TreeView-content
.a-TreeView-toggle::before {

    color: #333333 !important;

}


/* =========================================================
   9. الصفحات الفرعية
      لا نسمح بأي Toggle ظاهر داخلها
   ========================================================= */

.t-TreeNav
.a-TreeView-node
.a-TreeView-node
.a-TreeView-toggle {

    display: none !important;

}


/* =========================================================
   10. إذا كانت الصفحة الفرعية تحتوي داخلياً على
       قائمة أخرى، فقط العنصر الذي يحتوي أبناءه يحتفظ بالسهم
   ========================================================= */

.t-TreeNav
.a-TreeView-node
.a-TreeView-node
.a-TreeView-node
.a-TreeView-toggle {

    display: none !important;

}


/* =========================================================
   11. منع المربعات الناتجة من pseudo elements
   ========================================================= */

.t-TreeNav .a-TreeView-toggle::after {

    content: none !important;

    display: none !important;

}


/* =========================================================
   12. إزالة أي حدود أو مربع من الـ Row
   ========================================================= */

.t-TreeNav
.a-TreeView-toggle,
.t-TreeNav
.a-TreeView-toggle:hover,
.t-TreeNav
.a-TreeView-toggle:focus {

    border-radius: 0 !important;

    outline: none !important;

}


/* =========================================================
   13. ضمان ظهور السهم فوق الخلفية
   ========================================================= */

.t-TreeNav
.a-TreeView-toggle::before {

    position: relative !important;

    z-index: 5 !important;

}


/* =========================================================
   14. LTR
   إذا تحولت الواجهة للإنكليزي
   ========================================================= */

html[dir="ltr"] .t-TreeNav
.a-TreeView-toggle {

    margin-right: 6px !important;
    margin-left: 0 !important;

}
/* معالجة القوائم الفرعية في القائمة الجانبية */
.t-TreeNav .a-TreeView-node--topLevel .a-TreeView-node .a-TreeView-content {
    background-color: #f5f5f2 !important;
    color: #006747 !important;
    opacity: 1 !important;
    transition: none !important;
}

/* لون الكتابة */
.t-TreeNav .a-TreeView-node--topLevel .a-TreeView-node .a-TreeView-label {
    color: #006747 !important;
    opacity: 1 !important;
}

/* عند تمرير الماوس */
.t-TreeNav .a-TreeView-node--topLevel .a-TreeView-node .a-TreeView-content:hover {
    background-color: #dcebe4 !important;
    color: #004d38 !important;
    opacity: 1 !important;
}

/* لون الكتابة عند تمرير الماوس */
.t-TreeNav .a-TreeView-node--topLevel .a-TreeView-node .a-TreeView-content:hover .a-TreeView-label {
    color: #004d38 !important;
}

/* العنصر المحدد */
.t-TreeNav .a-TreeView-node--topLevel .a-TreeView-node .a-TreeView-content.is-selected {
    background-color: #c8dfd3 !important;
    color: #004d38 !important;
}
/*ازالة الخلفية الييضاء*/
/* =========================================
   FINAL FIX - USERNAME SAME AS PASSWORD
   ========================================= */

#P9999_USERNAME,
#P9999_USERNAME:hover,
#P9999_USERNAME:focus,
#P9999_USERNAME:active,
#P9999_USERNAME:-webkit-autofill,
#P9999_USERNAME:-webkit-autofill:hover,
#P9999_USERNAME:-webkit-autofill:focus {

    background: linear-gradient(
        135deg,
        rgba(246,217,106,0.18),
        rgba(255,255,255,0.08)
    ) !important;

    background-color: rgba(246,217,106,0.18) !important;

    background-image: linear-gradient(
        135deg,
        rgba(246,217,106,0.18),
        rgba(255,255,255,0.08)
    ) !important;

    border: 1px solid rgba(246,217,106,0.75) !important;

    border-radius: 8px !important;

    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;

    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;

    box-shadow:
        inset 0 0 12px rgba(246,217,106,0.08),
        0 0 8px rgba(246,217,106,0.10) !important;

    -webkit-box-shadow:
        inset 0 0 12px rgba(246,217,106,0.08),
        0 0 8px rgba(246,217,106,0.10) !important;
}

/* HOVER */
#P9999_USERNAME:hover {
    background: linear-gradient(
        135deg,
        rgba(246,217,106,0.24),
        rgba(255,255,255,0.10)
    ) !important;

    border-color: #F6D96A !important;
}

/* FOCUS */
#P9999_USERNAME:focus {
    background: linear-gradient(
        135deg,
        rgba(246,217,106,0.28),
        rgba(255,255,255,0.12)
    ) !important;

    border-color: #F6D96A !important;
    outline: none !important;
}

/* PLACEHOLDER */
#P9999_USERNAME::placeholder {
    color: rgba(255,255,255,0.88) !important;
    opacity: 1 !important;
}
/* =====================================
   RESTORE ORACLE APEX DEFAULT BUTTONS
   ===================================== */

.t-Button,
.a-Button,
.ui-button {
    background-color: var(--a-button-background-color) !important;
    color: var(--a-button-text-color, inherit) !important;
    border-color: var(--a-button-border-color) !important;
    box-shadow: var(--a-button-shadow, none) !important;
}

/* HOVER */
.t-Button:hover,
.a-Button:hover,
.ui-button:hover {
    background-color: var(--a-button-hover-background-color) !important;
    color: var(--a-button-hover-text-color, inherit) !important;
    border-color: var(--a-button-hover-border-color) !important;
}

/* FOCUS */
.t-Button:focus,
.a-Button:focus,
.ui-button:focus {
    background-color: var(--a-button-focus-background-color) !important;
    border-color: var(--a-button-focus-border-color) !important;
}

/* ACTIVE */
.t-Button:active,
.a-Button:active,
.ui-button:active {
    background-color: var(--a-button-active-background-color) !important;
    color: var(--a-button-active-text-color, inherit) !important;
}
