@CHARSET "UTF-8";

body { color: black; font-family: sans-serif; margin: 10px; padding: 0; }
 
a { color: #72AC1A; text-decoration: none; font-weight: bold; }
a:hover {text-decoration: underline; }
img { border: 0; }

hr { border: 1px solid #DDDDDD; }

 
#toolbar { width: auto; margin: auto; border: 2px solid #BBBBBB; background: #caf0db; padding: 2px 5px; -moz-border-radius: 20px; border-radius: 20px; overflow: hidden; }
#container { width: 100%; max-width: 100%; min-height: calc(100vh - 20px); margin: 10px auto; box-sizing: border-box; background: #FFFFFF; padding: 8px; -moz-border-radius: 20px; border-radius: 20px; overflow: hidden; }

.site-header { display: grid; grid-template-columns: 1fr; gap: 6px; }
.site-header-grid { display: grid; grid-template-columns: minmax(260px, 320px) 1fr auto; align-items: start; column-gap: 8px; }
.site-actions { display: flex; justify-content: flex-end; justify-self: end; }
.site-main { display: block; }
.site-footer { display: block; min-height: 1px; }

#header_image { margin: 0px; text-align: left; float: left; width: 300px; z-index: 50; }
#header_title { margin: 30px; text-align: Left; width: auto; float: left;  }
#header_title h1 { font-size: 1.4em; color: #999999; }
#header_title h2 { font-size: 1.2em; color: #777777; }
#content { margin: 0 25px; width: auto; clear: both; }
#qmenu { background: #e5e5e5; border: 5px solid white; right: 20px; top: 20px; width: auto; padding: 5px;
position: fixed; z-index: 5000;  -moz-border-radius: 15px; border-radius: 15px;  }
#qmenu ul, #qmenu menu { margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; list-style: none; }
#qmenu li { display: inline-flex; list-style-type: none; padding: 0 12px; align-items: center; }
#qmenu a { display: inline-flex; align-items: center; justify-content: center; max-width: 48px; }
/* All qmenu icons: black in light mode (back, home, theme, settings, logout), dark via dark.css */
#qmenu .qmenu-icon, #qmenu a .qmenu-icon, #qmenu .qmenu-icon-btn .qmenu-icon { color: #000 !important; }
#qmenu .qmenu-icon svg, #qmenu .qmenu-icon-btn .qmenu-icon svg { color: #000 !important; }
#qmenu .qmenu-icon svg path, #qmenu .qmenu-icon svg circle, #qmenu .qmenu-icon svg line, #qmenu .qmenu-icon svg polyline,
#qmenu .qmenu-icon-btn .qmenu-icon svg path, #qmenu .qmenu-icon-btn .qmenu-icon svg circle, #qmenu .qmenu-icon-btn .qmenu-icon svg line, #qmenu .qmenu-icon-btn .qmenu-icon svg polyline {
    fill: #000 !important;
    stroke: #000 !important;
}
.qmenu-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; box-sizing: border-box; flex-shrink: 0; overflow: hidden; }
.qmenu-icon svg { display: block; width: 26px; height: 26px; max-width: 26px; max-height: 26px; flex-shrink: 0; }
#qmenu a:hover .qmenu-icon { opacity: 0.85; }
#qmenu .qmenu-icon-btn { padding: 0; margin: 0; border: none; background: none !important; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
#qmenu .qmenu-icon-btn:hover, #qmenu .qmenu-icon-btn:focus, #qmenu .qmenu-icon-btn:active { background: none !important; }
#qmenu .qmenu-icon-btn:hover .qmenu-icon { opacity: 0.85; }

input { font-size: 1em; border: 1px solid #aaaaaa; padding: 3px; -moz-border-radius: 3px; border-radius: 3px; }
select { font-size: 1em; border: 1px solid #aaaaaa; padding: 3px; -moz-border-radius: 3px; border-radius: 3px; }
textarea { font-size: 1em; border: 1px solid #aaaaaa; padding: 3px; -moz-border-radius: 3px; border-radius: 3px; }

.highlight { color: #72AC1A; }

.inline-list ul { margin: 0; padding: 0; }
.inline-list li { display: inline; list-style-type: none; padding: 20px; margin: 0;  }

.central_container { width: auto; margin: auto; text-align: center; }
.left_container { width: auto; margin: auto; text-align: left; }
.right_container { width: auto; margin: auto; text-align: right; }

.l { float: left; width: auto; }
.r { float: right; width: auto; }
.clear { clear:both; }

.text-left {text-align: left; }
.text-right {text-align: right; }
.text-center {text-align: center; }

.red { color: red; }

.success { width: 50%; margin: 5px auto; border: 1px solid #009900; background: #77FF77; color: black; padding: 3px; -moz-border-radius: 3px; border-radius: 3px; overflow: hidden; text-align: center; font-weight: bold; } 
.error { width: 50%; margin: 5px auto; border: 1px solid #990000; background: #FF7777; color: white; padding: 3px; -moz-border-radius: 3px; border-radius: 3px; overflow: hidden; text-align: center; font-weight: bold; } 
.warning { width: 50%; margin: 5px auto; border: 1px solid #FF9977; background: #FFFF99; color: black; padding: 3px; -moz-border-radius: 3px; border-radius: 3px; overflow: hidden; text-align: center; font-weight: bold; } 
.notice { width: 50%; margin: 5px auto; border: 1px solid #777777; background: #EEEEEE; color: black; padding: 3px; -moz-border-radius: 3px; border-radius: 3px; overflow: hidden; text-align: center; font-weight: bold; } 
.show { display: block; }
.required { border: 1px solid #CC7777; background: #FFCCCC; }

.section { font-weight: bold; font-size: 1em; width: 50%; display: inline; }

.sort { margin: 5px auto; width: 70%; padding: 5px; border: 1px solid #a1c2cb; background: #caf0db; text-align: center; -moz-border-radius: 5px; border-radius: 5px; }
.pages { margin: 2px auto; width: 70%; padding: 5px; border: 1px solid #c2cba1; background: #e4f8ed; text-align: center; -moz-border-radius: 5px; border-radius: 5px; }
.page_no { display: inline-block; margin: 3px; }

.expand_button { float: left;  margin: 0 2px; display: inline; }
.print_button { float: right;  margin: 0 2px; display: inline; }
.job_icon { margin: -20px 2px 0 2px; }
.taskbox {  }

.ts { border: 2px solid #CCCCCC; margin: 10px auto; padding: 2px; background: #FFEEDD; width: 98%; -moz-border-radius: 9px; border-radius: 9px; }
.ts th { padding: 6px; -moz-border-radius: 6px; border-radius: 6px;  }
.ts td { padding: 2px; word-wrap: break-word; border: 2px solid #dbcba1; -moz-border-radius: 6px; border-radius: 6px; }
.ts_odd { background: #fafafa; border: 2px solid #dbcab9; -moz-border-radius: 3px; border-radius: 3px; }
.ts_even { background: #fcfcfc; border: 2px solid #dfcebc; -moz-border-radius: 3px; border-radius: 3px; }
.ts_input { background: #f6f6f6; font-size: 1em; border: 2px solid #d9d9d9; -moz-border-radius: 3px; border-radius: 3px; }
.ts_input_changed { border: 2px solid #6699ff; }
.ts_detail { background: #e0e0e0; border: 2px solid #c0c0c0; font-size: 0.8em; -moz-border-radius: 2px; border-radius: 2px; margin: 2px; padding: 1px; min-height: 32px; overflow: visible; }
.ts_detail_allocations { background: #e0f0f0; border: 2px solid #a0c0c0; font-size: 0.8em; -moz-border-radius: 2px; border-radius: 2px; margin: 2px; padding: 1px; min-height: 32px; overflow: visible; }
.ts_detail_despatches { background: #e0f0e0; border: 2px solid #a0c0a0; font-size: 0.8em; -moz-border-radius: 2px; border-radius: 2px; margin: 2px; padding: 1px; min-height: 32px; overflow: visible; }
.ts_detail_instructions { background: #f0e0e0; border: 2px solid #c0a0a0; font-size: 0.8em; -moz-border-radius: 2px; border-radius: 2px; margin: 2px; padding: 1px; min-height: 32px; overflow: visible; }
.ts_separator { background: #FFFFFF; height: 2px; }

/* L3PL summary: empty message and row states (dark overrides in dark.css) */
.l3pl-msg-empty { font-weight: bold; color: #2773a2; }
.ts tr.ts_row_incomplete { background: #fdc4c4 !important; }
.ts tr.ts_row_highlight { background: #d7edff !important; }
.l3pl-export-cb { cursor: pointer; }
.l3pl-export-btn { float: right; margin-right: 1em; }

/* L3PL summary actions menu */
.l3pl-summary-menu { display: inline-flex; align-items: center; gap: 0.5em; margin: 0.5em 0; padding: 0.5em 0.75em; background: #e4f8ed; border: 1px solid #77ad1a; border-radius: 8px; }
.l3pl-summary-menu-label { font-weight: bold; color: #333; margin: 0; font-size: 1em; }
.l3pl-summary-menu-select { min-width: 220px; padding: 6px 10px; font-size: 1em; border: 1px solid #aaa; border-radius: 6px; background: #fff; cursor: pointer; }
.l3pl-summary-menu-select:hover { border-color: #72AC1A; }
.l3pl-summary-menu-select:focus { outline: none; border-color: #72AC1A; box-shadow: 0 0 0 2px rgba(114, 172, 26, 0.25); }

/* Shared semantic accents for section UIs */
.ui-accent-success { color: #1f7246; }
.ui-accent-info { color: #006fc4; }
.ui-accent-warning { color: #a06b00; }
.ui-accent-danger { color: #a94442; }
.ui-muted-title { color: #999; }

.ui-btn-success { background: #1f7246; color: #fff; }
.ui-btn-info { background: #006fc4; color: #fff; }
.ui-btn-warning { background: #c47b21; color: #fff; }
.ui-btn-danger { background: #c23a3a; color: #fff; }
.ui-btn-modern {
    border: 1px solid #6d7682;
    background: linear-gradient(180deg, #8b94a1 0%, #6f7885 100%);
    color: #fff;
    border-radius: 8px;
    padding: 7px 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 1px 2px rgba(0, 0, 0, 0.15);
}
.ui-btn-modern:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.ui-btn-modern:active {
    transform: translateY(0);
    filter: brightness(0.97);
}

.ui-table-header-green { background-color: #4caf50; color: #fff; font-weight: bold; text-align: center; }
.ui-table-header-blue { background-color: #1979ca; color: #fff; font-weight: bold; text-align: center; }
.ui-table-header-red { background-color: #dd3131; color: #fff; font-weight: bold; text-align: center; }
.ui-table-body-default { background-color: #fff; color: #000; }
.ui-table-body-warn { background-color: #ffd199; color: #000; }

.ui-edit-highlight-green { background: #d6f5d7; border-color: #00aa55; }
.ui-edit-highlight-blue { background: #bcd1ed; border-color: #3068b6; }

.ui-panel-danger { background: #fdc4c4; }
.ui-panel-danger-row { background: #fc9c9c; }

.ui-chip-warning { background: #ffae66; font-weight: bold; }
.ui-sort-search { background: #caf0db; }

.l3pl-direct-status-default td:first-child,
.l3pl-direct-status-default td {
    border-color: #9a9a9a;
}

.l3pl-direct-status-pending td { background: #fff2cc; }
.l3pl-direct-status-pending td:first-child,
.l3pl-direct-status-pending td {
    border-color: #c47b21;
}

.l3pl-direct-status-missing td { background: #f4cccc; }
.l3pl-direct-status-missing td:first-child,
.l3pl-direct-status-missing td {
    border-color: #c23a3a;
}

.l3pl-direct-status-found td { background: #d9ead3; }
.l3pl-direct-status-found td:first-child,
.l3pl-direct-status-found td {
    border-color: #1f7246;
}

.l3pl-direct-status-allocated td { background: #cfe2f3; }
.l3pl-direct-status-allocated td:first-child,
.l3pl-direct-status-allocated td {
    border-color: #006fc4;
}

.l3pl-direct-status-pushed td { background: #d9d2e9; }
.l3pl-direct-status-pushed td:first-child,
.l3pl-direct-status-pushed td {
    border-color: #7a4eb2;
}

.l3pl-direct-status-exported td { background: #d0e0e3; }
.l3pl-direct-status-exported td:first-child,
.l3pl-direct-status-exported td {
    border-color: #5f7f8a;
}

.l3pl-direct-status-cancelled td { background: #f1f1f1; }
.l3pl-direct-status-cancelled td:first-child,
.l3pl-direct-status-cancelled td {
    border-color: #c8c8c8;
    color: #8a8a8a;
    background: #f1f1f1;
}

.l3pl-direct-status-returned td { background: #f9cb9c; }
.l3pl-direct-status-returned td:first-child,
.l3pl-direct-status-returned td {
    border-color: #a06b00;
}

.ui-stock-negative { background-color: #ffa8a8; }
.ui-stock-low { background-color: #ffce9d; }
.ui-stock-warning { background-color: #fffdcc; }
.ui-stock-wip { background: #e8f1fd; color: #000; opacity: 0.5; }

/* CS account admin */
.csadmin-user-line {
    padding: 6px 8px;
    margin: 0 0 4px 0;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #f9f9f9;
}
.csadmin-user-never { background: #e0e0e0; }
.csadmin-user-inactive { background: #fdd2ce; }
.csadmin-user-link { text-decoration: none; }
.csadmin-user-link:hover { text-decoration: underline; }
.csadmin-link-admin-active { color: #b90000; }
.csadmin-link-admin-inactive { color: #996666; }
.csadmin-link-agent-active { color: #0b4ea2; }
.csadmin-link-agent-inactive { color: #666699; }

.permissions_table td.changed { background-color: #ffe5e5; }
.permissions_table td.changed input { outline: 1px solid #cc0000; }
.permissions_table th.changed { color: #cc0000; }
.permissions_table th .column-toggle { margin-top: 4px; }
.permissions_table td.muted { color: #888; font-style: italic; }

.auditTable {
    border-collapse: collapse;
    width: 100%;
}
.auditTable th,
.auditTable td {
    border: 1px solid #c0bfbf;
    padding: 6px;
}
.auditTable th {
    background: #4caf50;
    color: #fff;
}
.auditTable .audit-row-inactive {
    background: #fdd2ce;
}

/* Main admin module */
.admin-user-line {
    padding: 6px 8px;
    margin: 0 0 4px 0;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #f9f9f9;
}
.admin-user-never { background: #e0e0e0; }
.admin-user-inactive { background: #fdd2ce; }
.admin-user-link { text-decoration: none; }
.admin-user-link:hover { text-decoration: underline; }
.admin-link-prfm-active { color: #b90000; }
.admin-link-prfm-inactive { color: #996666; }
.admin-link-client-active { color: #0b4ea2; }
.admin-link-client-inactive { color: #666699; }
.admin-link-distributor-active { color: #2a7a2a; }
.admin-link-distributor-inactive { color: #999966; }
.admin-link-inactive-general { color: #b90000; }

/* International (non-UK) L3PL summary: after .ts td so it wins by cascade; inset box-shadow ensures visibility with border-collapse */
.ts td.international {
    border-color: #80428a !important;
    border-style: solid !important;
    border-width: 2px !important;
    color: #80428a !important;
    box-shadow: inset 0 0 0 2px #80428a;
}

.notes { border: 1px solid #CCCCCC; background: #EEEEEE; margin: 5px; padding: 5px; font-family: monospace; }
.message_writer { font-size: 0.8em; }
.comment { border: 1px solid #CECECE; Background: #EFEFEF; margin: 2px; padding: 5px; }

.status_pending { background: #d8d8d8; color: #333333; border: 2px solid #CCCCCC; }
.status_verify { background: #66CCFF; color: #0758aa; border: 2px solid #3399FF; }
.status_working { background: #FFCC66; color: #aa5807; border: 2px solid #FF9933; }
.status_question { background: #F5CCE0; color: #660066; border: 2px solid #c299b0; }
.status_part_despatched { background: #EEFFAA; color: #006600; border: 2px solid #e5ee9c; }
.status_despatched { background: #CCFF99; color: #003300; border: 2px solid #A3CC7A; }
.status_cancelled { background: #f0f0f0; color: #777777; border: 2px solid #d8d8d8; }
.status_hold { background: #F09092; color: #990000; border: 2px solid #FFd8d8; }

.menu_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 220px));
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.menu_button {
    min-height: 130px;
    cursor: pointer;
    color: #777777;
    background: #e9f4e8;
    font-family: Arial;
    font-size: 1em;
    border-radius: 8px;
    border: 1px solid #77ad1a;
    margin: 0;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}
.menu_icon {
    height: auto;
    max-height: 72px;
    width: auto;
    max-width: 100%;
    margin-bottom: 8px;
    object-fit: contain;
}
.menu_label {
    display: block;
    width: 100%;
    line-height: 1.25;
}

.stock td {
    border: 1px solid #c0bfbf;
    padding: 8px;
}

.stock tr:hover {background-color: #ddd;}

.stock th {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    background-color: #4CAF50;
    color: white;
    border: 1px solid #c0bfbf;
    padding: 6px;
}

.img-border{
    border-radius: 6px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border: 1px solid #C0C0C0;
}

#loader { background: url('../images/loading.gif') 50% 50% no-repeat; position: fixed; z-index: 10; top: 0; left: 0; bottom: 0; right: 0; width: auto; height: auto; background-color: #000000; z-index:100;opacity: 0.2; filter:alpha(opacity=20); -moz-opacity: 0.2; overflow:hidden; display: none;}

.lft {
    text-align: left;
    padding-left: 0.5em;
}

.rgt {
    text-align: right;
    padding-right: 0.5em;
}

.div-Blur {
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
    position: fixed;
    opacity: 0.7;
    display: block;
    background: #777;
    z-index: 1000;
    overflow: hidden;
}

.popout {
    position: relative;
    z-index: 1001;
    -webkit-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 20px 5px rgba(0,0,0,0.75);
    
}
