
/* Global EMS notifications: shared across main site and service page */
#oh-notification-root{display:flex;align-items:center;position:relative;direction:rtl;z-index:99999}
.oh-bell{width:39px;height:39px;display:grid;place-items:center;position:relative;background:#101e29;color:#e8f3f8;border:1px solid #304552;border-radius:6px;cursor:pointer}
.oh-bell:hover{border-color:#e63a57}.oh-bell svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.oh-bell-count{position:absolute;top:-7px;right:-7px;min-width:18px;height:18px;padding:0 4px;box-sizing:border-box;border-radius:12px;background:#e72e50;color:white;font:800 11px/18px Arial;text-align:center}
.oh-bell-count[hidden],.oh-notify-panel[hidden],.oh-toast[hidden]{display:none!important}
.oh-notify-panel{position:absolute;top:calc(100% + 12px);left:0;width:min(365px,calc(100vw - 24px));max-height:460px;overflow:auto;direction:rtl;background:#0e1922;border:1px solid #324655;box-shadow:0 22px 55px #000b;border-radius:10px;padding:15px;color:#edf5fa;z-index:999999;font-family:Cairo,Arial,sans-serif}
.oh-notify-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.oh-notify-head strong{font-size:15px}.oh-notify-actions{display:flex;gap:8px;flex-wrap:wrap}.oh-notify-actions button{border:1px solid #344957;background:#152530;color:#d7e9f2;border-radius:5px;font:600 11px Cairo,Arial,sans-serif;padding:6px;cursor:pointer}
.oh-notify-actions button:hover{border-color:#e63a57}.oh-notify-item{border:1px solid #283d4a;background:#111f29;border-radius:7px;padding:11px;margin:8px 0;font-size:12px}.oh-notify-item.unread{border-right:3px solid #e73957}.oh-notify-item strong{display:block;margin-bottom:4px}.oh-notify-item small{display:block;color:#8da6b4;margin-top:6px}.oh-notify-empty{color:#a7bac4;text-align:center;padding:24px 8px}
#oh-toast-area{position:fixed;right:20px;top:74px;display:grid;gap:10px;z-index:9999999;pointer-events:none}.oh-toast{width:min(350px,calc(100vw - 40px));padding:16px;border-radius:8px;background:#142630;border:1px solid #de3853;border-right:4px solid #de3853;color:white;box-shadow:0 14px 40px #0009;direction:rtl;font:600 13px Cairo,Arial,sans-serif;pointer-events:auto}.oh-toast strong{display:block;margin-bottom:5px}
@media(max-width:700px){.oh-notify-panel{position:fixed;top:65px;right:12px;left:auto}#oh-toast-area{right:10px;top:66px}}

/* V3 header alignment + dismissible 7-second toasts */
header.nav .nav-actions,header .nav-actions{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:8px}
#oh-notification-root{flex:0 0 auto;align-self:center;margin:0!important;order:-10}
.oh-notify-panel{left:auto;right:0}
.oh-toast{position:relative;padding-right:40px}.oh-toast-close{position:absolute;top:8px;right:9px;width:24px;height:24px;border:1px solid #48606b;background:#1d303b;color:#fff;border-radius:5px;font:700 20px/20px Arial;cursor:pointer}
.oh-toast-close:hover{background:#a52a43}

/* V5: bell is part of the top-right nav controls, never a second header row */
header.nav{flex-wrap:nowrap!important}
header.nav .nav-actions{display:flex!important;align-items:center!important;flex-wrap:nowrap!important}
header.nav #oh-notification-root{display:inline-flex!important;align-items:center!important;flex:0 0 39px!important;position:relative!important;align-self:center!important;order:0!important;margin:0 6px!important}
header.nav #oh-notification-root .oh-notify-panel{right:auto;left:0;max-width:calc(100vw - 24px)}
@media(max-width:700px){header.nav #oh-notification-root .oh-notify-panel{position:fixed;left:12px;right:12px;width:auto}}

/* EMS Notification Dropdown Position Fix */
#oh-notification-root {
    position: relative;
    z-index: 999999;
}

#oh-notification-root .oh-notify-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: auto !important;
    right: 0 !important;
    width: min(365px, calc(100vw - 24px));
    max-height: min(520px, calc(100vh - 100px));
    overflow-y: auto;
    box-sizing: border-box;
    z-index: 9999999;
}

@media (max-width: 700px) {
    #oh-notification-root .oh-notify-panel {
        position: fixed;
        top: 65px;
        right: 12px !important;
        left: auto !important;
        width: min(365px, calc(100vw - 24px));
    }
}


/* EMS confirmation modal â€” shared site and service pages */
.oh-confirm-overlay{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(2,8,13,.78)!important;z-index:2147483646!important;padding:20px!important;box-sizing:border-box!important;backdrop-filter:blur(5px)!important;overflow:auto!important}
.oh-confirm-dialog{position:relative!important;display:block!important;flex:none!important;width:min(440px,100%)!important;max-height:calc(100dvh - 40px)!important;overflow:auto!important;box-sizing:border-box!important;padding:26px!important;background:#101e29!important;border:1px solid #304858!important;border-radius:12px!important;box-shadow:0 24px 80px #000c!important;color:#eef4f7!important;text-align:start!important;font-family:Cairo,Arial,sans-serif!important}
.oh-confirm-dialog h3{font-size:19px!important;font-weight:700!important;margin:0 0 12px!important;color:#fff!important}
.oh-confirm-dialog p{font-size:14px!important;line-height:1.8!important;margin:0 0 22px!important;color:#b6c8d3!important}
.oh-confirm-actions{display:flex!important;gap:10px!important;justify-content:flex-end!important}
.oh-confirm-actions button{appearance:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:95px!important;padding:10px 16px!important;background:#172935!important;color:#eef4f7!important;border:1px solid #3a5261!important;border-radius:6px!important;font:700 13px Cairo,Arial,sans-serif!important;cursor:pointer!important}
.oh-confirm-actions .oh-confirm-danger{background:#b82742!important;border-color:#e43b58!important;color:white!important}