﻿:root { --staff-navy:#002454; --staff-ink:#0a153c; --staff-blue:#0068f6; --staff-muted:#566581; --staff-line:#e2e9f3; --staff-surface:#f5f8fc; }
body { background:var(--staff-surface); color:var(--staff-ink); font-size:14px; }
button,a,input,select { -webkit-tap-highlight-color:transparent; }
button:disabled { opacity:.5; cursor:not-allowed; }
[hidden] { display:none!important; }
.staff-symbols { position:absolute; width:0; height:0; overflow:hidden; }
.staff-icon { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.staff-skip { position:fixed; z-index:100; top:-80px; left:15px; background:white; color:#00358d; padding:12px; border-radius:6px; }
.staff-skip:focus { top:10px; }
.staff-sidebar { position:fixed; inset:0 auto 0 0; width:238px; background:linear-gradient(155deg,#002452,#001a3c 80%); color:white; z-index:30; overflow-y:auto; display:flex; flex-direction:column; }
.staff-brand { display:grid; place-items:center; height:82px; min-height:82px; background:white; border-bottom:1px solid var(--staff-line); }
.staff-brand-art { display:block; width:190px; height:65px; background:white url('../images/Company Logo.jpeg') 48% 52.5% / 135% auto no-repeat; }
.staff-sidebar nav { display:grid; gap:9px; padding:22px 12px; }
.nav-item { display:flex; align-items:center; gap:15px; min-height:50px; padding:13px 17px; width:100%; text-align:left; border:0; border-radius:10px; background:none; color:white; font-size:13px; }
.nav-item .staff-icon { width:23px; height:23px; }
.nav-item:hover { background:#123c69; }
.nav-item.is-active { background:linear-gradient(115deg,#0789ff,#0055ed); box-shadow:0 5px 20px rgb(0 88 255 / 20%); }
.sidebar-promo { padding:0 26px 30px; margin-top:auto; }
.sidebar-photo { height:155px; margin:0 -13px 8px; border-radius:15px; background:linear-gradient(0deg,#002047,transparent 55%),url('../images/hero-delivery.jpg') 88% 45% / cover; }
.sidebar-promo p { font-size:25px; font-weight:800; line-height:1.05; letter-spacing:-.7px; }
.sidebar-promo strong { color:#ffc52f; }
.sidebar-promo>span { display:block; margin-top:12px; font-size:16px; line-height:1.3; }
.sidebar-promo>span::after { content:''; display:block; width:115px; height:5px; background:#ffc52f; border-radius:5px; margin-top:13px; transform:rotate(-5deg); }
.staff-workspace { margin-left:238px; min-width:0; }
.staff-topbar { height:82px; display:flex; align-items:center; gap:18px; padding:0 30px; background:white; border-bottom:1px solid var(--staff-line); box-shadow:0 1px 5px rgb(0 30 65 / 4%); }
.icon-button { display:grid; place-items:center; width:40px; height:40px; border:0; background:transparent; border-radius:8px; color:var(--staff-ink); font-size:27px; flex-shrink:0; }
.icon-button:hover { background:#eef4fc; }
#menu-toggle { display:none; }
.workspace-name { font-size:12px; color:var(--staff-muted); }
.website-link { margin-left:auto; font-size:12px; color:#0053c4; }
.staff-identity { display:flex; gap:10px; align-items:center; margin-left:8px; }
.staff-identity strong { display:block; font-size:12px; }
.staff-identity small { display:block; color:var(--staff-muted); font-size:11px; margin-top:1px; }
.staff-avatar { display:grid; place-items:center; width:43px; height:43px; border-radius:50%; background:#0068f6; color:white; font-size:17px; }
.staff-main { max-width:1700px; margin:auto; padding:24px 28px 40px; }
.welcome-banner { min-height:134px; border-radius:13px; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 27px; background:linear-gradient(90deg,#f0f7ff 28%,rgb(237 246 255 / 93%) 45%,rgb(220 238 255 / 70%)),url('../images/hero-delivery.jpg') center 28% / cover; }
.welcome-banner h1 { font-size:clamp(24px,2.4vw,34px); font-weight:400; line-height:1.15; letter-spacing:-1px; }
.welcome-banner h1 strong { color:#0041b2; font-weight:800; }
.welcome-banner div p { margin-top:8px; font-size:14px; color:#25365c; }
.banner-priority { color:#002c77; font-weight:800; font-style:italic; font-size:23px; line-height:1.1; transform:rotate(-6deg); white-space:nowrap; margin:0 8px; }
.banner-priority::after { content:''; display:block; height:5px; width:100px; margin:8px 0 0 auto; border-radius:8px; background:#ffc52f; transform:rotate(-4deg); }
.login-panel { max-width:490px; margin:45px auto; padding:32px; background:white; border:1px solid var(--staff-line); border-radius:18px; box-shadow:0 10px 35px rgb(0 38 89 / 5%); }
.login-mark { display:grid; place-items:center; width:52px; height:52px; border-radius:14px; background:#edf4ff; color:#0068f6; margin-bottom:20px; }
.login-panel h2 { font-size:26px; margin-bottom:12px; }
.login-panel p { color:var(--staff-muted); line-height:1.6; font-size:13px; }
#staff-login { display:grid; gap:8px; margin-top:24px; }
#staff-login label { font-size:12px; font-weight:700; }
input,select { width:100%; min-width:0; padding:12px; border:1px solid #d1dcea; border-radius:7px; color:#0a153c; background:white; font:inherit; }
#staff-login .button { margin-top:7px; min-height:45px; }
.login-panel .login-note { font-size:11px; margin-top:15px; text-align:center; }
.staff-message { color:#334d76; font-size:12px; min-height:18px; margin:12px 0; }
.staff-message:empty { min-height:0; margin:0; }
.summary-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; margin:19px 0 28px; }
.summary-card { display:flex; gap:18px; align-items:center; padding:20px; border-radius:12px; min-height:101px; }
.summary-card strong { display:block; font-size:30px; font-weight:800; line-height:1.15; }
.summary-card div span { display:block; margin-top:6px; font-size:12px; }
.summary-icon { display:grid; place-items:center; width:57px; height:57px; border-radius:13px; flex-shrink:0; }
.summary-icon .staff-icon { width:31px; height:31px; }
.summary-blue { background:#eaf3ff; }.summary-blue .summary-icon { background:#d2e6ff; color:#0066ed; }
.summary-yellow { background:#fffae9; }.summary-yellow .summary-icon { background:#fff0b9; color:#d99c00; }
.summary-green { background:#ebfaf0; }.summary-green .summary-icon { background:#d1f3db; color:#07962e; }
.summary-red { background:#fff0f2; }.summary-red .summary-icon { background:#ffdbdf; color:#e52c3c; }
.summary-grey { background:#eef0f5; }.summary-grey .summary-icon { background:#dce1ea; color:#536079; }
.orders-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:20px; }
.orders-heading h2 { font-size:30px; letter-spacing:-.8px; }
.orders-heading p:not(.staff-eyebrow) { color:var(--staff-muted); font-size:12px; margin-top:6px; }
.staff-eyebrow { text-transform:uppercase; letter-spacing:1.1px; color:#51729e; font-size:9px; font-weight:800; margin-bottom:5px; }
.orders-heading .button { min-height:42px; border-radius:8px; font-size:12px; padding:10px 16px; flex-shrink:0; }
.orders-heading .staff-icon { width:17px; height:17px; }
.order-filters { display:grid; grid-template-columns:minmax(210px,2.5fr) minmax(135px,1fr) minmax(125px,1fr) minmax(150px,1.1fr) auto; gap:12px; align-items:center; }
.order-filters>label { min-width:0; }
.order-filters input,.order-filters select { font-size:12px; min-height:44px; }
.search-field { position:relative; }.search-field .staff-icon { position:absolute; top:12px; left:13px; width:20px; height:20px; color:#314462; }.search-field input { padding-left:41px; }
.date-field { position:relative; }.date-field>span { position:absolute; top:-7px; left:10px; background:var(--staff-surface); padding:0 4px; font-size:9px; color:#536888; }.date-field input { padding-block:10px; }
.clear-filters { border:0; background:none; color:#0057c2; font-size:11px; text-decoration:underline; padding:8px 2px; }
.table-caption { display:flex; justify-content:space-between; gap:10px; margin:15px 1px 8px; color:#64748f; font-size:10px; }
.orders-table-wrap { overflow-x:auto; background:white; border:1px solid var(--staff-line); border-radius:11px; }
.orders-table { border-collapse:collapse; width:100%; min-width:990px; table-layout:fixed; text-align:left; }
.orders-table th { padding:15px 12px; background:#eef2f7; font-size:10px; font-weight:700; white-space:nowrap; }
.orders-table td { padding:16px 12px; font-size:11px; line-height:1.5; vertical-align:middle; border-top:1px solid #ebeff5; overflow-wrap:anywhere; }
.orders-table th:first-child { width:38px; }.orders-table th:nth-child(2) { width:175px; }.orders-table th:nth-child(3) { width:115px; }.orders-table th:nth-child(4),.orders-table th:nth-child(5) { width:130px; }.orders-table th:nth-child(6) { width:105px; }.orders-table th:nth-child(7) { width:95px; }.orders-table th:nth-child(8) { width:130px; }.orders-table th:last-child { width:78px; }
.orders-table tbody tr:hover { background:#f8fbff; }
.reference-link { background:none; border:0; padding:0; text-align:left; font-family:Consolas,monospace; font-size:10px; color:#004aac; word-break:break-word; line-height:1.6; }
.status-badge { display:inline-block; border-radius:20px; padding:5px 10px; font-size:10px; font-weight:700; white-space:nowrap; background:#edf2f8; color:#4c5d75; }
.status-requested { background:#ffebed; color:#c52535; }.status-confirmed { background:#e7f0ff; color:#0057d4; }.status-picked_up,.status-in_transit { background:#fff4cc; color:#9e6c00; }.status-delivered { background:#dff8e7; color:#117432; }.status-cancelled { background:#edeef2; color:#5a6170; }
.view-button { border:0; padding:7px 14px; border-radius:6px; background:#e6f1ff; color:#0060da; font-weight:700; font-size:11px; }
.view-button:hover { background:#d2e6ff; }
.empty-state { text-align:center; padding:45px 15px; background:white; border:1px solid var(--staff-line); border-top:0; border-radius:0 0 10px 10px; color:#536788; }
.empty-state>.staff-icon { width:35px; height:35px; margin-bottom:10px; }.empty-state h3 { color:#263d66; font-size:17px; margin-bottom:6px; }.empty-state p { font-size:12px; }
.pagination { display:flex; justify-content:space-between; align-items:center; gap:15px; margin-top:18px; font-size:11px; color:#52637d; }.pagination>div { display:flex; gap:8px; }
.pager-button { min-height:35px; border:1px solid #d5dfed; background:white; border-radius:7px; color:#194578; padding:7px 12px; font-size:11px; }
dialog { width:min(720px,calc(100% - 28px)); max-height:calc(100dvh - 32px); overflow:auto; border:0; border-radius:17px; padding:26px; color:var(--staff-ink); box-shadow:0 20px 80px rgb(0 20 50 / 25%); }
dialog::backdrop { background:rgb(0 24 55 / 66%); }
.detail-header { display:flex; justify-content:space-between; gap:18px; align-items:center; margin-bottom:15px; }.detail-header h2 { font-size:25px; }.detail-header .icon-button { background:#f0f5fb; border-radius:50%; }
#detail-message { font-size:12px; color:#345780; margin-bottom:12px; }
.reference-row { display:flex; align-items:end; gap:9px; margin:15px 0; }.reference-row label { flex:1; font-size:11px; color:#526b8d; }.reference-row input { font-family:Consolas,monospace; font-size:11px; margin-top:4px; }
.detail-fields { display:grid; grid-template-columns:145px minmax(0,1fr); gap:10px 18px; margin:20px 0; font-size:12px; }.detail-fields dt { color:#64738d; }.detail-fields dd { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.status-editor { border:1px solid #dce7f6; background:#f6faff; padding:16px; border-radius:11px; }.status-editor>label { display:block; font-size:12px; font-weight:700; margin-bottom:8px; }.status-editor>div { display:flex; gap:10px; }.status-editor select { flex:1; font-size:12px; }.status-editor .button { white-space:nowrap; font-size:12px; }
.history-heading { font-size:14px; margin:22px 0 12px; }.detail-history { margin:0 0 0 9px; border-left:2px solid #d8e6f7; }.detail-history li { position:relative; padding:0 0 17px 18px; font-size:12px; }.detail-history li::before { content:''; position:absolute; width:8px; height:8px; left:-5px; top:4px; background:#0068f6; border-radius:50%; }.detail-history time { display:block; margin-top:3px; color:#697e99; font-size:10px; }
.help-dialog { max-width:470px; }.help-dialog p { font-size:13px; color:#50627f; line-height:1.6; margin-bottom:15px; }.help-dialog .help-hours { font-size:11px; margin:15px 0 0; }
.nav-shade { position:fixed; inset:0; border:0; background:rgb(0 18 45 / 55%); z-index:25; }
@media(min-width:1700px) { .staff-sidebar { width:265px; }.staff-workspace { margin-left:265px; }.staff-main { padding:28px 33px; }.nav-item { font-size:15px; }.orders-table td { font-size:12px; } }
@media(max-width:1250px) { .staff-sidebar { width:215px; }.staff-workspace { margin-left:215px; }.staff-main { padding:22px; }.summary-grid { gap:10px; }.summary-card { padding:16px 12px; gap:10px; }.summary-icon { width:44px; height:48px; }.summary-card strong { font-size:26px; }.summary-card div span { font-size:10px; }.order-filters { grid-template-columns:2fr 1fr 1fr; }.date-field { grid-column:1; }.clear-filters { justify-self:start; }.banner-priority { font-size:19px; } }
@media(max-width:1000px) { .staff-sidebar { transform:translateX(-100%); width:238px; transition:transform .2s ease; }.nav-open .staff-sidebar { transform:translateX(0); }.staff-workspace { margin-left:0; }#menu-toggle { display:grid; }.staff-topbar { padding-inline:20px; height:72px; }.staff-brand { height:72px; min-height:72px; }.staff-main { padding:20px; } }
@media(max-width:600px) { .staff-topbar { padding-inline:12px; gap:8px; }.workspace-name { display:none; }.staff-identity { margin-left:5px; }.staff-identity strong { font-size:11px; }.staff-avatar { width:35px; height:35px; font-size:14px; }.website-link { font-size:11px; }.staff-main { padding:15px 13px 28px; }.welcome-banner { padding:22px 18px; min-height:125px; }.welcome-banner h1 { font-size:25px; }.welcome-banner div p { font-size:12px; max-width:240px; }.banner-priority { display:none; }.summary-grid { grid-template-columns:1fr 1fr; margin:17px 0 23px; gap:10px; }.summary-card { min-height:92px; padding:14px 11px; gap:10px; }.summary-icon { width:39px; height:44px; border-radius:10px; }.summary-icon .staff-icon { width:25px; height:25px; }.summary-card strong { font-size:26px; }.summary-card div span { font-size:10px; }.orders-heading { align-items:flex-start; gap:10px; }.orders-heading h2 { font-size:25px; }.orders-heading p:not(.staff-eyebrow) { font-size:11px; }.orders-heading .button { font-size:0; padding:10px; min-height:37px; }.orders-heading .staff-icon { width:18px; height:18px; }.order-filters { grid-template-columns:1fr 1fr; gap:11px; }.search-field { grid-column:1 / -1; }.date-field { grid-column:1; }.order-filters input,.order-filters select { font-size:11px; }.clear-filters { justify-self:end; }.table-caption { font-size:9px; }.table-caption>span:last-child { display:none; }.pagination { gap:8px; }.pager-button { font-size:10px; padding:7px 9px; }.login-panel { margin:25px auto; padding:25px 20px; }.login-panel h2 { font-size:24px; }dialog { padding:20px 16px; }.detail-fields { grid-template-columns:1fr; gap:5px; }.detail-fields dd { margin-bottom:10px; }.status-editor { padding:13px; }.status-editor>div { flex-direction:column; }.detail-header h2 { font-size:22px; }.reference-row { align-items:end; gap:6px; }.reference-row input { font-size:10px; }.reference-row .pager-button { padding-inline:10px; } }
@media(prefers-reduced-motion:reduce) { .staff-sidebar { transition:none; } }
/* Individual accounts and administrator activity views. */
#accounts-dialog,#activity-dialog { width:min(860px,calc(100vw - 24px)); }
.account-form { display:grid; gap:12px; padding:18px 0; }
.account-form label { display:grid; gap:6px; font-size:14px; font-weight:600; }
.account-form input,.account-form select { width:100%; min-height:43px; border:1px solid #cbd7e8; border-radius:7px; padding:9px 12px; background:white; }
.account-form input[type=checkbox] { width:22px; min-height:22px; }
.account-form p { font-size:13px; color:#536079; }
.account-form button { justify-self:start; }
.staff-account { border-top:1px solid #dce3ee; }
.account-actions { display:flex; gap:10px; flex-wrap:wrap; }
#activity-list li { display:grid; gap:5px; }
#activity-list p,#activity-list small { overflow-wrap:anywhere; margin:0; }
#activity-list pre { white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; background:#f1f5fa; padding:10px; }
#activity-list time { display:block; }
.staff-identity strong { max-width:180px; overflow-wrap:anywhere; }
/* Booking notifications and acknowledgement. */
.notification-bell { position:relative; flex-shrink:0; }
#notification-count { position:absolute; top:-3px; right:-5px; min-width:19px; height:19px; padding:0 4px; border-radius:12px; background:#d7243d; color:white; font-size:10px; line-height:19px; font-weight:700; }
#notifications-dialog { width:min(680px,calc(100vw - 24px)); }
.notification-controls { display:flex; gap:10px; margin:16px 0; flex-wrap:wrap; }
.notification-list { padding:0; margin:0; list-style:none; }
.notification-list li { padding:17px 12px; border-top:1px solid #dce3ee; overflow-wrap:anywhere; }
.notification-list li.is-unread { background:#eef5ff; border-left:3px solid #0066ed; }
.notification-list p { margin:6px 0; font-size:13px; }
.notification-list time { display:block; font-size:12px; color:#536079; }
.notification-list .notification-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.notification-toast { position:fixed; bottom:24px; right:24px; width:min(360px,calc(100vw - 32px)); padding:20px; background:white; border:1px solid #b6d2ff; border-left:5px solid #0066ed; border-radius:12px; box-shadow:0 8px 35px #00265930; z-index:40; }
.notification-toast p { margin-bottom:12px; font-weight:600; }
.notification-toast button { margin:3px; }
.booking-acknowledgement { margin:18px 0; border:1px solid #dce3ee; padding:15px; border-radius:9px; }
.booking-acknowledgement p { font-size:13px; margin-bottom:10px; overflow-wrap:anywhere; }
@media(max-width:600px) { .staff-identity { min-width:0; gap:6px; }.staff-identity>span:last-child { min-width:0; }.staff-identity strong { max-width:105px; }.notification-bell { width:33px; height:35px; }.staff-topbar { gap:5px; }.notification-toast { right:16px; bottom:16px; } }
