:root {
    --ink: #183e37;
    --muted: #66746d;
    --teal: #087e7a;
    --green: #b9db74;
    --paper: #fbfcf8;
    --line: #e0e6dd;
    --soft: #eff3e9;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body.recycling-app { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.65 'DM Sans', Arial, sans-serif; }
h1, h2, h3, h4, h5, h6, .app-brand { font-family: 'Manrope', Arial, sans-serif; color: var(--ink); }
h1 { font-size: clamp(30px, 3.1vw, 44px); font-weight: 800; letter-spacing: -1.7px; line-height: 1.18; }
h2 { font-size: 22px; font-weight: 750; letter-spacing: -.7px; }
h3 { font-size: 19px; font-weight: 700; }
h4 { font-size: 18px; font-weight: 700; }
a { color: var(--teal); }
a:hover { color: #05615e; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #159994; outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -100px; padding: 12px 20px; background: white; z-index: 2000; }
.skip-link:focus { top: 12px; }
.app-topbar { background: var(--ink); color: #e8f1e6; display: flex; align-items: center; justify-content: space-between; padding: 7px 36px; font-size: 11px; letter-spacing: .2px; }
.app-topbar a { color: #fff; }
.app-topbar strong { margin-left: 10px; }
.app-header { min-height: 101px; display: flex; align-items: center; gap: 30px; padding: 18px 36px; border-bottom: 1px solid var(--line); background: var(--paper); }
.app-brand { flex: 0 0 218px; display: flex; flex-direction: column; line-height: 1.12; color: var(--ink); }
.app-brand > span:first-child { font-size: 29px; font-weight: 800; letter-spacing: -1.4px; }
.brand-dot { color: var(--teal); }
.brand-by { display: flex; gap: 7px; align-items: center; margin-top: 8px; font: 11px 'DM Sans', Arial, sans-serif; color: var(--muted); }
.brand-by img { width: 105px; height: auto; }
.app-header-label { color: var(--muted); font-size: 12px; border-left: 1px solid var(--line); padding-left: 26px; }
.header-search { display: flex; gap: 8px; margin-left: auto; max-width: 320px; }
.header-search .form-control { min-width: 0; width: 220px; background: white; }
.account-links { margin-left: auto; }
.header-search + .account-links { margin-left: 0; }
.account-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 12px; font-weight: 600; color: var(--ink); }
.account-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.nav-toggle { display: none; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--ink); }
.app-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 134px); }
.app-sidebar { padding: 35px 20px 26px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.nav-caption { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: var(--muted); padding: 0 15px; margin-bottom: 17px; }
.app-sidebar .sidebar-sticky { height: auto; overflow: visible; position: static; padding: 0; }
.app-sidebar .nav { gap: 6px; }
.app-sidebar .nav-link { display: flex; align-items: center; gap: 13px; border-radius: 9px; padding: 12px 15px; color: var(--muted); font-weight: 600; font-size: 13px; }
.app-sidebar .nav-link i { width: 19px; text-align: center; font-size: 16px; }
.app-sidebar .nav-link:hover { background: #eff3e9; color: var(--ink); }
.app-sidebar .nav-link.active { background: #e3f0ee; color: var(--teal); }
.application-status-menu { list-style: none; margin: 5px 0 12px 23px; padding: 0 0 0 10px; border-left: 1px solid #dce5df; }
.application-status-link { --status-color: #dce5df; display: flex; align-items: center; gap: 9px; margin: 2px 0; padding: 7px 9px; border: 1px solid transparent; border-radius: 7px; color: #46594f; font-size: 12px; font-weight: 500; line-height: 1.35; text-decoration: none; transition: background-color .15s, border-color .15s; }
.application-status-link:hover { background: color-mix(in srgb, var(--status-color) 30%, white); border-color: color-mix(in srgb, var(--status-color) 65%, #82958b); color: #243e32; }
.application-status-link.active { background: color-mix(in srgb, var(--status-color) 55%, white); border-color: color-mix(in srgb, var(--status-color) 65%, #82958b); color: #243e32; font-weight: 700; box-shadow: inset 3px 0 color-mix(in srgb, var(--status-color) 55%, #394f43); }
.application-status-link:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.status-menu-dot { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--status-color); border: 1px solid color-mix(in srgb, var(--status-color) 55%, #394f43); }

.sidebar-help { margin: 50px 7px 0; padding: 22px 17px; border-radius: 14px; background: var(--soft); }
.sidebar-help strong { display: block; font-size: 16px; margin: 10px 0 6px; }
.sidebar-help p { font-size: 12px; color: var(--muted); margin-bottom: 13px; }
.sidebar-help a { font-size: 18px; font-weight: 700; display: flex; justify-content: space-between; }
.sidebar-help small { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.app-main { min-width: 0; padding: 38px 40px 0; display: flex; flex-direction: column; }
.app-main > .page-heading, .app-main > .request-form { width: 100%; }
.app-main > .row { flex-shrink: 0; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; line-height: 1.5; color: var(--teal); }
.page-heading h1 { margin: 12px 0 10px; }
.page-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.page-heading > .btn { flex-shrink: 0; }
.heading-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--teal); font-size: 30px; flex-shrink: 0; }
.surface-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.btn { padding: 11px 17px; border-radius: 8px; font-size: 13px; font-weight: 600; transition: background-color .15s, box-shadow .15s; line-height: 1.5; white-space: normal; }
.btn i { margin-right: 6px; }
.btn span[aria-hidden] { margin-left: 15px; }
.btn-sm { padding: 7px 11px; font-size: 12px; }
.btn-lg { padding: 15px 23px; font-size: 15px; }
.btn-block { display: block; width: 100%; }
.btn-block + .btn-block { margin-top: 8px; }
.float-right { float: right !important; }
.close { float: right; border: 0; padding: 0; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; }
.alert-dismissible .close { position: absolute; top: 13px; right: 15px; }
.font-weight-bold { font-weight: 700; }
.btn-primary, .btn-info, .btn-success { background: var(--teal); border-color: var(--teal); color: white; }
.btn-primary:hover, .btn-info:hover, .btn-success:hover, .btn-primary:focus, .btn-info:focus, .btn-success:focus { background: #056562; border-color: #056562; color: white; }
.btn-primary:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled):active, .btn-success:not(:disabled):not(.disabled):active { background: var(--ink); border-color: var(--ink); }
.btn-light, .btn-default { background: #f5f7f2; border-color: var(--line); color: var(--ink); }
.btn-light:hover, .btn-default:hover { background: #eaf0e5; border-color: #ced9c8; }
.btn-dark, .btn-secondary { background: var(--ink); border-color: var(--ink); color: #fff; }
.form-group { margin-bottom: 21px; }
label, .form-group > label { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.form-control, .form-control-sm { min-height: 44px; height: auto; border: 1px solid #dce4d7; border-radius: 8px; padding: 10px 12px; font-size: 14px; color: var(--ink); background: #fdfefb; }
select.form-control:not([size]):not([multiple]) { height: 44px; }
.form-control::placeholder { color: #8a958d; font-weight: 400; }
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 3px #087e7a16; color: var(--ink); background: #fff; }
.form-control:disabled, .form-control[readonly] { background: var(--soft); color: var(--muted); }
.form-text, .text-muted { color: var(--muted) !important; }
.form-text { font-size: 11px; line-height: 1.6; }
textarea.form-control { min-height: 92px; resize: vertical; }
input[type=checkbox], input[type=radio] { accent-color: var(--teal); width: 16px; height: 16px; vertical-align: middle; margin-right: 7px; }
.service-information { padding: 17px 22px; background: #eff3e9; border: 1px solid #e3e9db; border-radius: 12px; margin-bottom: 25px; }
.service-information summary { font-weight: 600; cursor: pointer; color: var(--ink); }
.service-information h4 { font: 13px/1.85 'DM Sans', Arial, sans-serif; margin: 15px 0 0; color: var(--muted); }
.contact-section { margin-bottom: 23px; }
.contact-section > h4, .waste-sections h4 { padding-bottom: 21px; margin-bottom: 24px !important; border-bottom: 1px solid var(--line); }
.contact-section h4 > i, .waste-sections h4 i { color: var(--teal); margin-right: 8px; }
.waste-sections { margin: 0; gap: 23px; }
.waste-sections > .surface-card { flex: 0 0 100%; max-width: 100%; padding: 26px; }
.waste-sections .list-group-item-action { border: 1px solid #dce5d6; border-radius: 10px; padding: 19px 20px; background: #eff3e9; color: var(--ink); font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.waste-sections .list-group-item-action:hover { background: #e3f0ee; border-color: #a6cbc1; }
.submission-list { margin: 0 !important; }
.submission-list .list-group-item { border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin-bottom: 16px; background: #fdfefb; }
.submission-list .list-group-item:last-child { margin-bottom: 0; }
.submission-list h5 { font-size: 19px; font-weight: 700; margin-bottom: 22px; }
.submission-list h6 { margin-top: 18px; font-weight: 700; font-size: 14px; }
.submission-list h3 { font-size: 18px; }
.alert { border-radius: 10px; padding: 15px 18px; font-size: 13px; line-height: 1.75; }
.alert-success, .alert-info { background: #edf4ef; border-color: #d3e4d8 !important; color: #315947; }
.alert-warning { background: #fbf5e6; border-color: #e9dec2; color: #75602d; }
.alert-secondary { background: #f3f5ef; border-color: var(--line); color: var(--muted); }
.alert-danger { background: #fff0ed; border-color: #ebd0ca; color: #8d4039; }
.status-editor { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 23px; border-left: 4px solid var(--teal); }
.status-editor h2 { margin: 7px 0 4px; font-size: 18px; }
.status-editor p { color: var(--muted); margin: 0; font-size: 12px; }
.status-editor .form-group { width: 300px; max-width: 100%; margin: 0; }
.history-section { margin: 23px 0 0; }
.section-toolbar, .results-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 3px 0 16px; }
.section-toolbar h2, .results-heading h2 { margin: 0; font-size: 18px; }
.section-toolbar .btn { font-size: 11px; padding: 8px 12px; }
.search-panel { margin-bottom: 20px; padding: 23px; }
.filter-grid.aligned-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.aligned-filters .form-group { margin: 0; min-width: 0; }
.aligned-filters .form-group:nth-child(5) { grid-column: span 2; }
.filter-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); margin-top: 24px; padding-top: 20px; }
.filter-open { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.filter-open label { display: flex; align-items: center; gap: 8px; margin: 0; }
.filter-open input { margin: 0; }
.filter-footer .filter-actions { display: flex; gap: 10px; margin: 0; }
.filter-footer .filter-actions .btn { width: auto; margin: 0; min-width: 130px; }
.filter-actions .btn { padding: 9px 12px; }
.multi-picker { position: relative; }
.multi-picker > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; list-style: none; border: 1px solid #dce4d7; border-radius: 8px; padding: 7px 32px 7px 12px; min-height: 44px; cursor: pointer; background: #fdfefb; font-size: 13px; }
.multi-chip { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 2px 4px 2px 9px; border-radius: 15px; background: #eaf4ee; border: 1px solid #c9ded8; color: var(--teal); }
.multi-chip > span { min-width: 0; overflow-wrap: anywhere; }
.multi-chip-remove { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; font-size: 18px; line-height: 1; cursor: pointer; }
.multi-chip-remove:hover { background: #c9ded8; }
.multi-chip-remove:focus-visible { outline: 2px solid var(--teal); outline-offset: 1px; }
.multi-picker > summary::-webkit-details-marker { display: none; }
.multi-picker > summary::after { content: '⌄'; position: absolute; right: 12px; top: 8px; font-size: 18px; color: var(--teal); }
.multi-picker[open] > summary { border-color: var(--teal); }
.multi-options { position: absolute; z-index: 25; top: calc(100% + 6px); left: 0; width: max(100%, 240px); max-width: calc(100vw - 70px); padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: white; box-shadow: 0 10px 30px #183e371c; }
.multi-option-list { max-height: 225px; overflow-y: auto; margin-top: 9px; }
.multi-option-list label { display: flex; align-items: start; padding: 7px 4px; margin: 0; font-size: 12px; cursor: pointer; }
.multi-option-list input { flex-shrink: 0; margin-top: 2px; }
.multi-clear { background: transparent; color: var(--teal); border: 0; padding: 7px 4px 0; font-size: 11px; text-decoration: underline; }
.StatusPrijave.status-shortcuts { position: static; padding: 0; margin: 6px 0 24px; background: none; border: 0; }
.status-shortcuts > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.status-shortcut { display: inline-flex; gap: 7px; align-items: center; border: 1px solid var(--line); border-radius: 30px; background: white; color: var(--muted); padding: 6px 11px; font-size: 11px; font-weight: 500; }
.status-shortcut i { font-size: 9px; }
.status-shortcut.active, .status-shortcut:hover { border-color: var(--teal); color: var(--teal); background: #eaf4ee; }
.results-heading > span { color: var(--muted); font-size: 12px; }
.records-table { padding: 0; margin-bottom: 16px; }
.table { color: var(--ink); margin: 0; font-size: 12px; }
.table th { padding: 15px 13px; border-top: 0; border-bottom: 1px solid var(--line) !important; background: #f1f5ed; color: var(--muted); font-weight: 600; font-size: 11px; white-space: nowrap; }
.table td { padding: 17px 13px; border-top: 1px solid #edf0e9; vertical-align: top; line-height: 1.65; }
.table-hover tr:hover { background: #f5f9f2 !important; }
.status-badge { display: inline-block; border-radius: 6px; padding: 5px 9px; background: #f3f6ef; border-left: 4px solid var(--teal); font-size: 10px; font-weight: 600; min-width: 75px; }
.row-details { margin-top: 9px; font-size: 11px; max-width: 230px; }
.row-details summary { color: var(--teal); cursor: pointer; font-weight: 500; }
.row-details > .small { display: block; margin-top: 7px; }
.row-details[open] { min-width: 170px; }
.pagination-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 16px; border-top: 1px solid var(--line); }
.pagination-bar .btn { min-width: 35px; padding: 7px 11px; }
.empty-state { text-align: center; padding: 38px 20px; background: #f2f6ed; border-radius: 14px; margin-bottom: 15px; }
.empty-state i { color: var(--teal); font-size: 22px; margin-bottom: 15px; }
.empty-state h3 { font-size: 18px; margin-bottom: 8px; }
.empty-state p { margin: 0; color: var(--muted); font-size: 13px; }
.bottomHolder { position: static; max-width: none; animation: none; margin-top: 15px; }
.user-search { margin-bottom: 14px; padding: 22px 24px; position: relative; z-index: 3; overflow: visible; }
.user-filter-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.user-filter-heading h2 { font-size: 16px; margin: 0 0 5px; }
.user-filter-heading p { font-size: 12px; color: var(--muted); margin: 0; }
.user-filter-heading button { flex-shrink: 0; }
.user-results { display: flex; justify-content: space-between; gap: 15px; margin: 0 3px 12px; color: var(--muted); font-size: 12px; }
.user-results #user-count { color: var(--ink); font-weight: 600; }
.user-search .multi-picker > summary { font-size: 12px; }
.user-search .multi-chip { font-size: 11px; }
.user-search .multi-options { width: 100%; min-width: 240px; }
.user-search .user-filter:last-child .multi-options { left: auto; right: 0; }
.user-search-row { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 16px; align-items: start; }
.user-filter { flex: 1 1 200px; min-width: 0; }
.user-filter:first-child { flex-grow: 2; }
.user-search-row #user-count { padding-bottom: 12px; }
.user-search-row .form-control { max-width: none; }
@media (min-width: 768px) and (max-width: 1200px) { .user-search-row { grid-template-columns: 1fr 1fr; } }
#user-count { color: var(--muted); font-size: 12px; margin-left: auto; }
.users-table { min-width: 690px; }
.user-name { font-weight: 700; }
.user-permissions { min-width: 280px; max-width: 480px; color: var(--muted); }
.user-access { display: grid; gap: 9px; padding: 2px 0; }
.access-group { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.access-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.access-values, .access-expanded { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; }
.access-chip { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: 11px; line-height: 1.5; color: #405468; background: #f0f3f6; overflow-wrap: anywhere; }
.access-roles .access-chip { color: #176440; background: #e8f4ec; font-weight: 600; }
.access-waste .access-chip { color: #78591f; background: #faf3e4; }
.access-unrestricted { color: #47735a; font-size: 11px; line-height: 1.7; font-weight: 500; }
.access-more { font-size: 11px; }
.access-more summary { cursor: pointer; color: #456879; padding: 3px 4px; border-radius: 4px; }
.access-more summary:hover { background: #edf2f5; }
.access-more summary:focus-visible { outline: 2px solid #247047; outline-offset: 2px; }
.access-more[open] { flex-basis: 100%; }
.access-expanded { margin-top: 5px; }
.record-id { color: var(--muted); }
.users-table td:last-child { text-align: right; white-space: nowrap; }
.user-active { border: 0; background: #edf4df; color: #537233; }
.user-active::before { content: '●'; font-size: 8px; margin-right: 6px; }
.user-inactive { border: 0; color: #777c76; background: #eff0ed; }
.modal-backdrop { background-color: #102e29; }
.modal-backdrop.show { opacity: .6; }
.user-modal .modal-dialog { max-width: 780px; margin: 30px auto; }
.user-modal .modal-content { border: 0; border-radius: 20px; box-shadow: 0 25px 90px #123b3433; overflow: hidden; }
.user-modal .modal-header { align-items: center; padding: 24px 30px; border-bottom: 1px solid var(--line); background: var(--paper); }
.user-modal .modal-header h2 { margin: 8px 0 0; font-size: 24px; overflow-wrap: anywhere; }
.modal-close { background: white; border: 1px solid var(--line); border-radius: 50%; width: 36px; height: 36px; flex-shrink: 0; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.user-modal .modal-body { padding: 25px 30px; max-height: calc(100vh - 245px); overflow-y: auto; overscroll-behavior: contain; }
.user-modal .modal-footer { border-top: 1px solid var(--line); padding: 18px 30px; background: var(--paper); }
.active-checkbox { display: flex; align-items: center; padding-top: 25px; }
.active-checkbox label { margin: 0; }
.permission-section { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 5px; margin-bottom: 22px; }
.permission-section h3 { font-size: 16px; margin-bottom: 9px; }
.permission-section p { color: var(--muted); font-size: 12px; }
.permission-section .checkboxlist > span { display: grid; grid-template-columns: 20px 1fr 20px 1fr; align-items: start; gap: 10px 7px; }
.permission-section .checkboxlist br { display: none; }
.permission-section .checkboxlist input { margin-top: 3px; }
.permission-section .checkboxlist label { font-weight: 400; margin: 0; font-size: 12px; }
.login-layout { display: grid; place-items: center; flex: 1; padding: 40px 0 60px; }
.login-card { width: min(100%, 490px); padding: 38px; }
.login-card h1 { font-size: 31px; margin: 12px 0; }
.login-intro { color: var(--muted); margin-bottom: 28px; font-size: 13px; }
.app-footer { display: flex; gap: 20px; justify-content: space-between; align-items: center; padding: 26px 0; margin-top: auto; font-size: 11px; color: var(--muted); }
.app-footer a { color: var(--muted); }
div#loading { display: none; background: #183e37; opacity: .35; z-index: 1100; }
.date-field { position: relative; }
.date-field > input { padding-right: 38px; }
.date-open { position: absolute; top: 5px; right: 5px; width: 32px; height: 34px; border: 0; background: transparent; border-radius: 6px; color: var(--teal); cursor: pointer; }
.date-open:hover { background: var(--soft); }
.field-error { display: block; margin-top: 6px; font-size: 11px; line-height: 1.5; color: #a83d35; }
.form-control[aria-invalid=true] { border-color: #b65149; }
.flatpickr-calendar { font-family: 'DM Sans', Arial, sans-serif; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 45px #183e3726; overflow: hidden; padding-top: 9px; width: 309px; }
.flatpickr-months .flatpickr-month { color: var(--ink); height: 39px; }
.flatpickr-current-month { font-size: 14px; font-weight: 600; }
.flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 600; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { top: 8px; color: var(--teal); fill: var(--teal); }
span.flatpickr-weekday { color: var(--muted); font-size: 11px; font-weight: 600; }
.flatpickr-day { color: var(--ink); border-radius: 9px; font-size: 13px; }
.flatpickr-day:hover { background: var(--soft); border-color: var(--soft); }
.flatpickr-day.today { border-color: var(--teal); }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus { background: var(--teal); border-color: var(--teal); color: white; }
.date-actions { display: flex; justify-content: space-between; padding: 11px 15px; border-top: 1px solid var(--line); margin-top: 6px; background: var(--paper); }
.date-actions button { border: 0; border-radius: 6px; background: var(--soft); color: var(--teal); padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
.date-actions button:hover { background: #dfead5; }
.select2-container--default .select2-selection--single { min-height: 44px; height: auto; border: 1px solid #dce4d7; border-radius: 8px; background: #fdfefb; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--ink); line-height: 24px; padding: 9px 56px 9px 12px; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
.select2-container--default .select2-selection--single .select2-selection__placeholder { color: #8a958d; }
.select2-container--default .select2-selection--single .select2-selection__arrow { top: 9px; right: 8px; }
.select2-container--default .select2-selection--single .select2-selection__clear { position: absolute; right: 30px; top: 8px; height: 27px; width: 25px; padding: 0; margin: 0; border: 0; background: transparent; line-height: 24px; text-align: center; border-radius: 5px; font-size: 20px; color: var(--muted); }
.select2-container--default .select2-selection--single .select2-selection__clear:hover { background: #e7eee1; color: var(--ink); }
.select2-container--default.select2-container--disabled .select2-selection--single { background: var(--soft); }
.select2-container--open .select2-selection--single { border-color: var(--teal); }
.select2-dropdown { border-color: #bdd1c4; border-radius: 8px; background: white; box-shadow: 0 10px 28px #183e3720; overflow: hidden; }
.select2-container--default .select2-search--dropdown .select2-search__field { border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; font-size: 14px; color: var(--ink); }
.select2-search--dropdown { padding: 9px; }
.select2-results__option { padding: 9px 12px; font-size: 13px; }
.select2-container--default .select2-results__option--selected { background: #e3f0ee; color: var(--ink); }
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: var(--teal); color: white; }
.select2-container--default .select2-results > .select2-results__options { max-height: 280px; }
.settlement-option { display: grid; gap: 3px; }
.settlement-option strong { font-size: 14px; font-weight: 600; }
.settlement-option small { font-size: 11px; opacity: .8; }
.select2-results__message { color: var(--muted); }
.dashboard-filters { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 15px; padding: 20px 24px; }
.dashboard-filters > div { flex: 1 1 210px; min-width: 0; }
.dashboard-period { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 11px; padding: 12px 2px 5px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; margin: 8px 0 27px; }
.metric-card { position: relative; padding: 23px 22px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.metric-card > span { display: block; min-height: 35px; padding-right: 20px; font-size: 12px; font-weight: 600; }
.metric-card > strong { display: block; font-family: 'Manrope', Arial, sans-serif; font-size: 38px; font-weight: 800; letter-spacing: -1.5px; margin: 10px 0 8px; line-height: 1.2; }
.metric-card small { font-size: 10px; color: var(--muted); }
.metric-card > i { position: absolute; top: 24px; right: 19px; color: #7d9d85; }
.metric-primary { background: var(--ink); border-color: var(--ink); color: white; }
.metric-primary small { color: #ceddcf; }
.metric-primary > i { color: var(--green); }
.metric-attention { background: #f7f2e7; border-color: #e9e1cf; }
.metric-attention > strong { color: #99724b; }
.dashboard-section { margin-bottom: 24px; padding: 26px; }
.section-topline { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 25px; }
.section-topline h2 { margin: 8px 0; font-size: 22px; }
.section-topline p { font-size: 12px; color: var(--muted); margin: 0; }
.dashboard-tag { font-size: 10px; color: var(--teal); background: #edf4ef; border-radius: 30px; padding: 7px 11px; }
.dashboard-chart { position: relative; width: 100%; min-width: 0; }
.weekly-chart { height: 330px; }
.dashboard-data { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.dashboard-data summary { font-size: 12px; font-weight: 600; color: var(--teal); cursor: pointer; }
.dashboard-data .table-responsive { margin-top: 16px; }
.aging-table { min-width: 670px; }
.aging-critical { color: #9b5144; font-weight: 700; }
.dashboard-note { font-size: 11px; line-height: 1.75; color: var(--muted); margin: 18px 0 0; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chart-legend button { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); color: var(--muted); font-size: 11px; }
.chart-legend button strong { color: var(--ink); margin-left: 6px; }
.chart-legend button[aria-pressed=false] { opacity: .55; text-decoration: line-through; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.weekly-data th, .weekly-data td { white-space: nowrap; }
.chart-empty { display: grid; height: 100%; place-items: center; text-align: center; color: var(--muted); font-size: 13px; }
@media (max-width: 1150px) { .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .metric-grid { gap: 10px; }
    .metric-card { padding: 17px 14px; border-radius: 12px; }
    .metric-card > strong { font-size: 31px; }
    .metric-card > span { font-size: 11px; padding: 0; min-height: 37px; }
    .metric-card > i { display: none; }
    .dashboard-filters { padding: 19px; }
    .dashboard-filters > div { flex-basis: 100%; }
    .section-topline { display: block; }
    .section-topline .btn, .dashboard-tag { display: inline-block; margin-top: 12px; }
    .dashboard-section { padding: 19px; }
    .section-topline h2 { font-size: 20px; }
}
@media (min-width: 1600px) { .app-main { padding-left: 55px; padding-right: 55px; } .request-form { max-width: 1200px; margin-inline: auto; } }
@media (max-width: 1250px) {
    .app-header-label { display: none; }
    .app-layout { grid-template-columns: 210px minmax(0, 1fr); }
    .app-sidebar { padding-inline: 13px; }
    .app-main { padding: 30px 26px 0; }
    .filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .filter-text { grid-row: span 2; }
    .filter-field:last-child { grid-column: span 1; display: block; }
    .filter-actions { margin-top: 14px; }
}
@media (max-width: 900px) {
    .app-topbar { padding-inline: 22px; }
    .app-header { gap: 18px; padding: 18px 22px; flex-wrap: wrap; }
    .app-brand { flex-basis: auto; margin-right: auto; }
    .header-search { order: 5; max-width: none; width: 100%; margin: 0; }
    .header-search .form-control { flex: 1; width: auto; }
    .header-search + .account-links { margin-left: auto; }
    .app-layout { grid-template-columns: 1fr; }
    .nav-toggle { display: block; }
    .app-sidebar { display: none; padding: 20px; border-right: 0; border-bottom: 1px solid var(--line); }
    .app-sidebar.is-open { display: flex; }
    .sidebar-help { display: none; }
    .app-main { padding: 28px 22px 0; }
    .permission-section .checkboxlist > span { grid-template-columns: 20px 1fr 20px 1fr; }
    .user-modal .modal-dialog { margin: 15px; max-width: none; }
}
@media (max-width: 600px) {
    .app-topbar { justify-content: center; font-size: 10px; }
    .app-topbar > span { display: none; }
    .app-header { gap: 12px; padding: 17px 18px; }
    .app-brand > span:first-child { font-size: 25px; }
    .brand-by { font-size: 10px; }
    .brand-by img { width: 88px; }
    .account-link { font-size: 10px; max-width: 100px; line-height: 1.4; gap: 5px; }
    .account-name { max-width: 75px; }
    .nav-toggle { padding: 7px 9px; }
    .app-main { padding: 25px 16px 0; }
    .page-heading { flex-wrap: wrap; gap: 17px; margin-bottom: 24px; }
    .page-heading h1 { font-size: 32px; }
    .page-heading p { font-size: 12px; }
    .eyebrow { font-size: 9px; letter-spacing: 1.2px; }
    .heading-icon { display: none; }
    .surface-card, .waste-sections > .surface-card { padding: 19px; border-radius: 12px; }
    .records-table { padding: 0; }
    .contact-section h4, .waste-sections h4 { font-size: 16px; line-height: 1.6; }
    .submission-list .list-group-item { padding: 16px; }
    .status-editor { display: block; }
    .status-editor .form-group { margin-top: 18px; width: 100%; }
    .filter-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .filter-text { grid-column: span 2; grid-row: auto; }
    .filter-field:last-child { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
    .filter-actions { margin-top: 26px; }
    .section-toolbar h2 { font-size: 16px; }
    .section-toolbar .btn { font-size: 10px; padding: 7px 9px; }
    .multi-options { width: 240px; }
    .filter-field:nth-child(3) .multi-options, .filter-field:nth-child(5) .multi-options { left: auto; right: 0; }
    .user-search-row { grid-template-columns: 1fr; gap: 14px; }
    .user-filter-heading { align-items: flex-start; }
    #user-count { margin: 0; }
    .user-modal .modal-dialog { margin: 9px; }
    .user-modal .modal-header, .user-modal .modal-body, .user-modal .modal-footer { padding: 19px; }
    .user-modal .modal-body { max-height: calc(100vh - 215px); }
    .user-modal .modal-header h2 { font-size: 21px; }
    .active-checkbox { padding-top: 0; }
    .permission-section .checkboxlist > span { grid-template-columns: 20px 1fr; }
    .login-layout { padding: 20px 0 45px; }
    .login-card { padding: 26px 22px; }
    .login-card h1 { font-size: 27px; }
    .app-footer { flex-direction: column; align-items: flex-start; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* Consistent alignment across the search form and selected waste card. */
a { text-decoration: none; }
.user-modal .modal-header { justify-content: space-between; }
.selected-waste-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.selected-waste-heading .remove-waste { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid #e9cfcb; border-radius: 8px; color: #aa413a; background: #fff8f6; font-size: 13px; font-weight: 500; }
.selected-waste-heading .remove-waste:hover { background: #fbeae6; border-color: #aa413a; }
.submission-list .selected-waste { border: 1px solid #b7d8ce; background: #fbfefa; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1250px) {
 .filter-grid.aligned-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .aligned-filters .form-group:nth-child(5) { grid-column: auto; }
 .aligned-filters .form-group:last-child { grid-column: span 2; }
}
@media (max-width: 600px) {
 .filter-grid.aligned-filters { gap: 16px 12px; }
 .aligned-filters .form-group:nth-child(2), .aligned-filters .form-group:nth-child(5), .aligned-filters .form-group:nth-child(6) { grid-column: span 2; }
 .aligned-filters .form-group:first-child { grid-column: span 2; }
 .filter-footer { align-items: stretch; flex-direction: column; gap: 18px; }
 .filter-footer .filter-actions .btn { flex: 1; min-width: 0; }
 .aligned-filters .multi-options { width: 100%; max-width: 100%; }
}

.closure-metrics { display: flex; flex-wrap: wrap; gap: 25px 60px; border-bottom: 1px solid var(--line); margin-bottom: 25px; padding-bottom: 22px; }
.closure-metrics > div { display: grid; gap: 7px; }
.closure-metrics span { color: var(--muted); font-size: 13px; }
.closure-metrics strong { font: 700 30px 'Manrope', sans-serif; color: var(--teal); }
.closure-metrics small { font: 500 14px 'DM Sans', sans-serif; }
.required-label::after { content: ' *'; color: #a53932; }
.request-field-error { display: block; margin-top: 6px; color: #a53932; font-size: 12px; line-height: 1.5; }
.request-field-error[hidden], .request-validation-summary[hidden] { display: none; }
.request-validation-summary ul { margin: 8px 0 0; padding-left: 20px; }
.request-validation-summary li + li { margin-top: 4px; }
[data-request-error-target] { text-decoration: underline; text-underline-offset: 3px; }
.form-control.request-invalid, .select2-container--default .select2-selection[aria-invalid=true] { border-color: #b64940; background-color: #fffafa; }
.form-control.request-invalid:focus, .select2-selection[aria-invalid=true]:focus { box-shadow: 0 0 0 3px #b6494020; }

/* Applications: grouped information, readable contacts and a compact mobile layout. */
.application-records { border: 1px solid #dce6df; border-radius: 16px; box-shadow: 0 4px 20px rgba(24, 62, 55, .035); background: #fff; }
.applications-table { width: 100%; min-width: 860px; table-layout: fixed; }
.applications-table th:nth-child(1) { width: 10%; }
.applications-table th:nth-child(2) { width: 12%; }
.applications-table th:nth-child(3) { width: 17%; }
.applications-table th:nth-child(4) { width: 14%; }
.applications-table th:nth-child(5) { width: 15%; }
.applications-table th:nth-child(6) { width: 16%; }
.applications-table th:nth-child(7) { width: 16%; }
.applications-table thead th { white-space: normal; padding: 12px 8px; background: #eef4f0; color: #536c60; font-size: 11px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.applications-table tbody td { padding: 14px 8px; border-color: #e8eeea; color: #3e5049; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; background: transparent; box-shadow: none; }
.applications-table tbody tr:nth-child(even) { background: #fafcfb; }
.applications-table tbody tr:hover, .applications-table tbody tr:focus-within { background: #f0f7f4 !important; }
.application-link { display: inline-flex; align-items: center; gap: 3px; color: var(--teal); font-size: 17px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.reference-hash { color: #87a89c; font-size: 13px; font-weight: 500; }
.application-link .fas { margin-left: 9px; font-size: 11px; }
.application-link:hover { text-decoration: underline; }
.application-status-cell .application-status { margin: 0; }
.application-date { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.collection-date { display: block; margin-top: 10px; color: var(--teal); font-size: 11px; font-weight: 600; }
.applications-table .status-badge { --status-color: #dce5df; min-width: 0; max-width: 100%; padding: 6px 8px; border-radius: 4px 7px 7px 4px; background: color-mix(in srgb, var(--status-color) 45%, white); border-left-color: color-mix(in srgb, var(--status-color) 55%, #394f43); color: #294235; font-size: 12px; line-height: 1.4; font-weight: 600; }
.person-name { display: block; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.45; }
.person-company { display: block; color: var(--muted); font-size: 12px; margin-top: 3px; }
.application-contacts { display: grid; gap: 4px; margin-top: 10px; }
.contact-line { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 12px; }
.contact-line > i { flex: 0 0 12px; color: #789287; text-align: center; font-size: 10px; }
.contact-line > span { font-variant-numeric: tabular-nums; }
.contact-email a { min-width: 0; overflow-wrap: anywhere; text-decoration: none; }
.contact-email a:hover { text-decoration: underline; }
.waste-description { color: var(--ink); font-weight: 500; }
.waste-description i { display: inline-block; margin-top: 5px; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 400; }
.location-street, .location-city, .location-region { display: block; }
.location-street { color: var(--ink); font-weight: 600; }
.location-region { color: var(--muted); font-size: 12px; margin-top: 6px; }
.location-maps { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; color: var(--teal); font-size: 12px; font-weight: 600; text-decoration: underline; }
.note-text { white-space: pre-line; font-size: 12px; }
.note-empty { color: #87968e; font-size: 12px; }
.applications-table .row-details { max-width: none; font-size: 12px; }
.applications-table .row-details[open] { min-width: 0; }
.applications-table .row-details summary { padding: 3px 0; font-weight: 600; }
.applications-table .row-details[open] summary { margin-bottom: 8px; }
.applications-table .row-details > .small { border-left: 2px solid #dce9e1; padding-left: 9px; font-size: 12px; }
.applications-table .row-details > .small i { display: block; color: var(--muted); font-style: normal; }
.applications-table .note-details { margin-top: 0; }
.application-records .pagination-bar { background: #fafcfb; padding: 16px 20px; }
@media (max-width: 767px) {
    .application-records { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
    .applications-table, .applications-table tbody { display: block; min-width: 0; width: 100%; }
    .applications-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .applications-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 18px; margin-bottom: 14px; border: 1px solid #dce6df; border-radius: 14px; background: #fff !important; box-shadow: 0 3px 12px rgba(24, 62, 55, .03); }
    .applications-table tbody td { display: block; padding: 12px 0; border: 0; min-width: 0; }
    .applications-table tbody td::before { content: attr(data-label); display: block; margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 600; }
    .applications-table tbody .application-reference { padding-top: 0; padding-right: 12px; }
    .applications-table tbody .application-status-cell { padding-top: 0; }
    .applications-table tbody .application-reference::before { display: none; }
    .applications-table tbody .application-person, .applications-table tbody .application-notes, .applications-table tbody .application-comments { grid-column: 1 / -1; border-top: 1px solid #e8eeea; }
    .applications-table tbody .application-waste { padding-right: 18px; }
    .applications-table .application-contacts { gap: 6px; }
    .applications-table .contact-line { font-size: 12px; }
    .application-records .pagination-bar { border: 0; background: transparent; padding: 4px 0 16px; }
}

.applications-table.table-hover tr td { max-height: none; overflow: visible; }
.notes-trigger { display: inline-flex; margin-top: 8px; padding: 5px 9px; border: 1px solid #d9e7df; border-radius: 7px; color: var(--teal); background: #f1f7f3; font-size: 11px; font-weight: 600; text-decoration: none; }
.notes-trigger:hover { background: #e3f0e9; border-color: #a5cbb8; }
.notes-modal .modal-content { border: 0; border-radius: 18px; box-shadow: 0 24px 80px #183e3733; }
.notes-modal .modal-header { align-items: flex-start; padding: 24px 28px 20px; border-color: var(--line); }
.notes-modal .modal-title { margin-top: 7px; font-size: 23px; }
.notes-subtitle { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.notes-modal .modal-body { padding: 24px 28px; }
.notes-modal .modal-footer { padding: 16px 28px; border-color: var(--line); }
.note-entry { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.note-entry.original-note { background: #f1f6f2; }
.note-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.note-meta time { color: var(--muted); font-variant-numeric: tabular-nums; }
.note-entry p { margin: 9px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; }
.notes-empty { text-align: center; padding: 24px 12px; color: var(--muted); }
.notes-empty i, .notes-empty strong { display: block; margin-bottom: 8px; }
.notes-empty i { font-size: 25px; color: var(--teal); }
.new-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.new-note label { display: block; font-weight: 700; margin-bottom: 8px; }
.new-note textarea { min-height: 110px; resize: vertical; }
.new-note small { display: block; margin-top: 8px; color: var(--muted); }
@media (max-width: 600px) { .notes-modal .modal-header, .notes-modal .modal-body, .notes-modal .modal-footer { padding: 18px; } }

#ApplicationsUpdatePanel { display: contents; }
#ApplicationsUpdatePanel[aria-busy="true"] .notes-trigger { opacity: .6; cursor: progress; }

.application-records .applications-pagination { align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.pagination-summary { color: var(--muted); font-size: 12px; line-height: 1.6; }
.pagination-summary strong { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.pagination-controls { display: flex; align-items: center; gap: 5px; }
.pager-button { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 36px; padding: 0 8px; border: 1px solid #dce6df; border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1; text-decoration: none; font-variant-numeric: tabular-nums; }
a.pager-button:hover { background: #e9f3ed; border-color: #a8c9b8; text-decoration: none; }
.pager-button.is-current { background: var(--teal); border-color: var(--teal); color: #fff; box-shadow: 0 2px 5px #087e7a20; }
.pager-button[aria-disabled="true"] { color: #a4afa8; background: #f2f5f2; border-color: #e8ede8; cursor: default; }
.pager-gap { color: var(--muted); width: 18px; text-align: center; }
@media (max-width: 600px) {
    .application-records .applications-pagination { flex-direction: column; align-items: center; padding: 16px 0; gap: 12px; }
    .pagination-controls { gap: 3px; max-width: 100%; flex-wrap: wrap; justify-content: center; }
    .pager-button { min-width: 26px; height: 34px; padding: 0 5px; font-size: 12px; border-radius: 6px; }
    .pager-gap { width: 14px; }
}

.pagination-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; max-width: 100%; }
.pagination-jump { display: flex; align-items: center; gap: 8px; padding-left: 12px; border-left: 1px solid var(--line); }
.pagination-jump label { margin: 0; color: var(--muted); font-size: 12px; font-weight: 500; }
.pager-select { width: auto; min-width: 65px; height: 36px; padding: 0 8px; border: 1px solid #dce6df; border-radius: 8px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.pager-select:hover { border-color: #a8c9b8; }
@media (max-width: 600px) {
    .pagination-actions { width: 100%; flex-direction: column; gap: 12px; }
    .pagination-jump { padding: 0; border: 0; }
    .pager-select { min-width: 76px; height: 44px; font-size: 16px; }
    .pager-button { height: 40px; }
}

@media (max-width: 360px) {
    .pagination-controls { gap: 2px; }
    .pager-button { min-width: 24px; padding: 0 3px; }
    .pager-gap { width: 12px; }
}

/* Application details, within the existing AJAX modal. */
.application-details-trigger { display: flex; width: fit-content; margin: 10px 0; padding: 6px 14px; font-size: 12px; }
.application-details-modal .modal-dialog { max-width: 1000px; }
.application-details-modal .modal-body { background: #f6f9f7; }
.application-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.detail-card, .details-status-section { padding: 20px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.application-details-modal h3 { margin: 0 0 16px; font-size: 16px; color: var(--teal); }
.detail-card dl { margin: 0; display: grid; gap: 12px; }
.detail-field { min-width: 0; }
.detail-field dt { margin-bottom: 3px; font-size: 11px; font-weight: 600; color: #65766e; }
.detail-field dd { margin: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.detail-waste-item + .detail-waste-item { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.detail-waste-item h4 { font-size: 15px; margin-bottom: 14px; }
.detail-waste-item h4 span { display: inline-block; margin-left: 8px; padding: 4px 8px; border-radius: 6px; background: #eaf4ee; color: var(--teal); font-size: 12px; }
.detail-waste-item dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.details-status-actions { display: flex; gap: 12px; align-items: center; }
.details-status-actions select { flex: 1; }
.details-status-actions .btn { flex-shrink: 0; }
.details-comments-heading { margin-top: 24px !important; }
@media (max-width: 600px) {
 .application-detail-grid, .detail-waste-item dl { grid-template-columns: 1fr; }
 .details-status-actions { align-items: stretch; flex-direction: column; }
 .detail-card, .details-status-section { padding: 16px; }
}

/* Keep status and favorite action together without increasing row height. */
.application-favorite { display: flex; margin-top: 8px; width: fit-content; max-width: 100%; align-items: baseline; gap: 6px; color: var(--teal); font-size: 11px; font-weight: 600; line-height: 1.5; text-decoration: none; white-space: normal; }
.application-favorite i { flex: 0 0 auto; }
.application-favorite span { min-width: 0; overflow-wrap: normal; word-break: normal; }
.application-favorite:hover span { text-decoration: underline; }
.application-favorite:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 2px; }
.application-favorite.is-favorite i { color: #a27716; }

.latest-application-note { margin-top: 10px; padding-top: 9px; border-top: 1px solid #dce6df; }
.latest-application-note:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.latest-application-note small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 4px; }

/* Personal data notice and consent on the collection request form. */
.request-form .privacy-notice { margin: 0 0 24px; border: 1px solid #d8e5de; border-radius: 12px; background: #f5f9f6; overflow: hidden; }
.request-form .privacy-notice-intro { display: flex; align-items: flex-start; gap: 14px; padding: 22px; }
.request-form .privacy-notice-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 38px; height: 38px; border-radius: 10px; background: #e3efe8; color: var(--teal); font-size: 17px; }
.request-form .privacy-notice-content { min-width: 0; }
.request-form .privacy-notice h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.4; font-weight: 700; }
.request-form .privacy-notice p { margin: 0 0 9px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.request-form .privacy-notice-link { color: #056b67; font-size: 13px; font-weight: 700; line-height: 1.7; text-decoration: underline; text-underline-offset: 3px; }
.request-form .privacy-notice-link:hover { color: var(--ink); }
.request-form .privacy-notice-link i { margin-left: 5px; font-size: 10px; }
.request-form .privacy-consent { display: flex; align-items: flex-start; gap: 11px; padding: 17px 22px; border-top: 1px solid #d8e5de; background: #fff; }
.request-form .privacy-consent input[type="checkbox"] { flex: 0 0 18px; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal); cursor: pointer; }
.request-form .privacy-consent label { margin: 0; color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.65; cursor: pointer; }
@media (max-width: 575px) {
    .request-form .privacy-notice-intro { gap: 11px; padding: 17px 15px; }
    .request-form .privacy-consent { padding: 15px; }
}
