/* Agent-only component theme. Loaded in the shell and every iframe/dialog via common/meta. */
:root{color-scheme:dark;--ag-input:#0b1c2d;--ag-border:#29465c;--ag-hover:#19364d;--ag-success:#87e0bc;--ag-warning:#f4cf86;--ag-danger:#ffb6b6}
body{color:var(--ag-text)!important;background:radial-gradient(ellipse at 95% 0,#113d4933,transparent 55%),var(--ag-bg)!important}
body a{color:#86d9e6}body a:hover,body a:focus{color:#b1f6f1}body a:focus-visible,body button:focus-visible{outline:2px solid #6ee7e2;outline-offset:3px}
body .content,body #content,body .tab-content,body .tab-pane,body .widget-body,body .wrapper,body .main-footer{background-color:transparent;color:var(--ag-text)}
body .panel,body .box,body .well,body .thumbnail,body .list-group-item{background:#0f2035!important;color:var(--ag-text)!important;border:1px solid var(--ag-border)!important;border-radius:12px;box-shadow:0 12px 32px #02091424}
body .panel-heading,body .box-header,body .panel-default>.panel-heading,body .panel-intro>.panel-heading{background:linear-gradient(110deg,#17364b,#102439)!important;color:#e0f3fc!important;border-color:var(--ag-border)!important;border-radius:11px 11px 0 0}
body .panel-heading .panel-title,body .panel-heading .panel-lead,body .panel-heading .panel-lead em,body .box-title{color:#e0f3fc!important}
body .panel-heading .panel-lead{line-height:1.8}body .panel-heading .panel-lead em{letter-spacing:1px}body .panel-heading .panel-lead:before{content:"";display:inline-block;width:6px;height:6px;background:#6de3dc;border-radius:50%;box-shadow:0 0 12px #6de3dc;margin-right:10px}
body .panel-body,body .box-body,body .box-profile{background:transparent!important;color:var(--ag-text)}
body .panel-footer,body .box-footer,body .layer-footer,body .form-footer{background:#102539!important;color:var(--ag-text)!important;border-color:var(--ag-border)!important;box-shadow:0 -8px 24px #02091424}
body .panel-body .panel,body .box-body .box{box-shadow:none}body .text-muted,body .help-block,body .text-gray,body .text-grey,body .qrcode-tip{color:#a2b9ce!important}body .text-success{color:var(--ag-success)!important}body .text-warning{color:var(--ag-warning)!important}body .text-danger{color:var(--ag-danger)!important}body .text-info,body .text-primary{color:#85d9ec!important}
body .control-label,body .form-group label,body .checkbox,body .radio,body .form-control-static{color:#caddf0}body hr{border-color:var(--ag-border)}body legend{color:#e1eff8;border-color:var(--ag-border)}
body .form-control,body .input-group-addon,body .input-group-btn>.btn-default,body input.sp_input,body .sp_container,body .sp_element_box,body .sp_input_off,body .sp_input_on{background:var(--ag-input)!important;color:#e3eff9!important;border-color:var(--ag-border)!important;box-shadow:none}
body .form-control{border-radius:6px}body .input-group .form-control{border-radius:0}body .input-group .form-control:first-child{border-radius:6px 0 0 6px}body .input-group .form-control:last-child{border-radius:0 6px 6px 0}
body input::placeholder,body textarea::placeholder{color:#90a9bd!important;opacity:1}body .form-control:focus,body .sp_container:focus-within{border-color:#6cced0!important;box-shadow:0 0 0 3px #6cced019!important}
body .form-control[disabled],body .form-control[readonly],body fieldset[disabled] .form-control{background:#17283a!important;color:#a7bed1!important;opacity:1}body input[type=checkbox],body input[type=radio]{accent-color:#54c9c4}body select option,body select optgroup{background:#0c2032;color:#e0edf7}
body .btn-default,body .btn-white,body .btn-light,body .btn-outline{background:#153047!important;color:#d1e7f5!important;border-color:#35556e!important}body .btn-default:hover,body .btn-default:focus,body .btn-default.active,body .open>.btn-default.dropdown-toggle{background:#21455e!important;color:#b1f4ef!important;border-color:#61c8c9!important}
body .btn-primary,body .btn-success,body .btn-info{background:linear-gradient(110deg,#236d7d,#205164)!important;color:#f0fffe!important;border-color:#438f9c!important}body .btn-primary:hover,body .btn-success:hover,body .btn-info:hover{background:#2b7e89!important;border-color:#77d9d7!important}
body .btn-warning{background:#634c29!important;color:#ffe5ae!important;border-color:#967949!important}body .btn-danger{background:#663941!important;color:#ffdddd!important;border-color:#a76069!important}body .btn.disabled,body .btn:disabled{opacity:.55}body .btn-link{color:#85d9ec}
body .nav-tabs,body .nav-tabs-custom,body .nav-tabs-custom>.tab-content,body .nav-tabs-custom>.nav-tabs{background:transparent!important;border-color:var(--ag-border)!important;color:var(--ag-text)}body .nav-tabs>li>a,body .panel-intro>.panel-heading .nav-tabs>li>a{color:#b2cadf!important;background:transparent!important;border-color:transparent!important}body .nav-tabs>li.active>a,body .nav-tabs>li.active>a:hover,body .nav-tabs>li.active>a:focus,body .panel-intro>.panel-heading .nav-tabs>li.active>a{background:#17384d!important;color:#a0f1e9!important;border-color:#31546a!important;border-bottom-color:#72d9d4!important}body .nav-tabs>li>a:hover{background:#15344a!important}
body #ribbon,body #ribbon .breadcrumb,body .breadcrumb{background:#102236!important;color:#a9c2d8!important;border-color:var(--ag-border)}body .breadcrumb>.active{color:#d0e3f1}body .breadcrumb a{color:#90ccdc}
body .fixed-table-container,body .fixed-table-header,body .fixed-table-body,body .fixed-table-footer,body .bootstrap-table .table{background:#0e2033!important;color:#d7e7f4!important;border-color:var(--ag-border)!important}
body .table{color:#d7e7f4;background:transparent}body .table>thead>tr>th,body .table>thead>tr>td,body .fixed-table-header th{background:#17334a!important;color:#b8d9ed!important;border-color:#325169!important}body .table>tbody>tr>td,body .table>tbody>tr>th,body .table>tfoot>tr>td,body .table-bordered{border-color:#294255!important;color:inherit}
body .table-striped>tbody>tr:nth-of-type(odd){background:#132a3e!important}body .table-striped>tbody>tr:nth-of-type(even){background:#0f2235!important}body .table-hover>tbody>tr:hover,body .table-hover>tbody>tr:hover>td,body .table>tbody>tr.active>td,body .fixed-table-container tbody .selected td{background:#20445b!important;color:#ebf8ff!important}
body .table>tbody>tr.success>td{background:#163b38!important;color:#b1ead4!important}body .table>tbody>tr.warning>td{background:#423722!important;color:#f6daaa!important}body .table>tbody>tr.danger>td{background:#492c39!important;color:#ffd3d3!important}
body .bootstrap-table .fixed-table-loading,body .bootstrap-table .no-records-found{background:#102539!important;color:#c2dcec!important}body .fixed-table-pagination,body .pagination-info,body .page-list{color:#abc5d9}body .pagination>li>a,body .pagination>li>span{background:#10293c!important;color:#bfdaeb!important;border-color:#315069!important}body .pagination>.active>a,body .pagination>.active>span{background:#246878!important;color:#fff!important}body .pagination>.disabled>a,body .pagination>.disabled>span{background:#122235!important;color:#8198ae!important}
body .commonsearch-table,body .commonsearch-table .form-group{background:transparent!important;color:#caddf0}body .commonsearch-table .control-label{color:#caddf0!important}body .table-adminlog{table-layout:fixed}body .table-adminlog td{white-space:normal;overflow-wrap:anywhere;line-height:1.8}
body .dropdown-menu,body .dropdown-menu>.active>a,body .bootstrap-select .dropdown-menu,body .bootstrap-select .no-results,body .sp_results,body .sp_result_area,body .sp_pagination,body .select2-dropdown,body .select2-results{background:#11283c!important;color:#d5eafa!important;border:1px solid #35536b!important;box-shadow:0 14px 35px #0005}
body .dropdown-menu>li>a,body .dropdown-menu>li>label,body .dropdown-menu .dropdown-header,body .bootstrap-select .dropdown-menu li a,body .sp_results li,body .sp_result_area li,body .sp_pagination a{color:#d5eafa!important;background:transparent}body .dropdown-menu>li>a:hover,body .dropdown-menu>li>a:focus,body .dropdown-menu>.active>a,body .sp_results li.sp_over,body .sp_results li:hover,body .select2-results__option--highlighted[aria-selected]{background:#21516a!important;color:#c4fff8!important}body .dropdown-menu .divider{background:#315069}
body .select2-container--default .select2-selection--single,body .select2-container--default .select2-selection--multiple,body .select2-search__field{background:var(--ag-input)!important;border-color:var(--ag-border)!important;color:#d9edf9!important}body .select2-selection__rendered,body .select2-selection__choice{color:#c6e9f5!important}body .select2-selection__choice,body .sp_selected,body .sp_element_box>li{background:#194259!important;border-color:#396079!important}
body .jstree-default .jstree-anchor{color:#ccdeec!important}body .jstree-default .jstree-clicked,body .jstree-default .jstree-hovered{background:#205069!important;color:#d8fff8!important;box-shadow:none!important}body .jstree-default .jstree-node{border-color:#36516a!important}body .jstree-default .jstree-ocl,body .jstree-default .jstree-checkbox{filter:brightness(1.7)}body .jstree-default .jstree-disabled{color:#819ab0!important}
body .layui-layer,body .layui-layer-content,body .layui-layer-dialog,body .modal-content,body .modal-body{background:#0f2236!important;color:#deedf8!important;border-color:#35536b!important}body .layui-layer-title,body .modal-header{background:linear-gradient(100deg,#17374c,#11273b)!important;color:#dff6ff!important;border-bottom:1px solid #35536b!important}body .layui-layer-btn,body .modal-footer{background:#11283c!important;border-top:1px solid #29485e;color:#dcebf6}
body .layui-layer-btn a{background:#1a3a50!important;border-color:#3d6178!important;color:#cdeaf5!important}body .layui-layer-btn .layui-layer-btn0{background:#256e7b!important;border-color:#4da1ac!important;color:#fff!important}body .layui-layer-setwin a{filter:brightness(0) invert(1);opacity:.8}body .layui-layer-setwin a:hover{opacity:1}body .modal .close{color:#e3f4ff!important;text-shadow:none;opacity:.8}body .layui-layer-shade{background:#020813!important}body .layui-layer-tips .layui-layer-content{background:#1a4056!important;color:#e4f6ff!important}
body.is-dialog .content{padding:22px 20px 80px}body.is-dialog .form-horizontal>.form-group{margin-bottom:22px}body .layer-footer{border-top:1px solid #35536b!important}body pre,body code,body .well-sm{background:#0a1929!important;color:#c6e4f5!important;border-color:#33546a!important}body pre{white-space:pre-wrap;overflow-wrap:anywhere}
body .alert-info{background:#153c50!important;border-color:#397990!important;color:#c1e9f4!important}body .alert-success{background:#183c35!important;border-color:#36785f!important;color:#c2edda!important}body .alert-warning{background:#413723!important;border-color:#8d7342!important;color:#ffe4b0!important}body .alert-danger{background:#452b38!important;border-color:#975164!important;color:#ffd2d8!important}
body .label-default{background:#304a60;color:#dceaf5}body .label-success{background:#216549;color:#d9ffee}body .label-warning{background:#745827;color:#fff0c4}body .label-danger{background:#853f50;color:#ffe6ec}body .label-info,body .label-primary{background:#245e78;color:#e1f6ff}body .n-default .msg-wrap{background:#342630!important;color:#ffc8d0!important;border-color:#9b5367!important}body .n-default .n-tip .msg-wrap{background:#16364b!important;color:#cdeefa!important}
/* Lazy-loaded calendars and rich-text controls need stronger selectors than vendor CSS. */
body .daterangepicker,body .daterangepicker .calendar-table,body .daterangepicker .ranges,body .bootstrap-datetimepicker-widget,body .datepicker,body .datepicker-dropdown{background:#10273b!important;color:#d3e8f5!important;border-color:#355970!important}body .daterangepicker td.off,body .daterangepicker td.off.in-range,body .daterangepicker th,body .bootstrap-datetimepicker-widget table td,body .bootstrap-datetimepicker-widget table th{background:transparent!important;color:#b4ccdf!important}body .daterangepicker td.available:hover,body .daterangepicker th.available:hover,body .bootstrap-datetimepicker-widget table td.day:hover,body .bootstrap-datetimepicker-widget table th:hover{background:#25526a!important;color:#fff!important}body .daterangepicker td.active,body .daterangepicker td.active:hover,body .bootstrap-datetimepicker-widget table td.active{background:#287b86!important;color:#fff!important}body .daterangepicker td.in-range{background:#1e445b!important;color:#d5f7fc!important}body .daterangepicker .ranges li:hover,body .daterangepicker .ranges li.active{background:#20516b!important;color:#dbfcff!important}body .daterangepicker select,body .daterangepicker input{background:#112c40!important;color:#d9edf8!important;border-color:#3c6178!important}body .daterangepicker .calendar-time .disabled,body .bootstrap-datetimepicker-widget table td.disabled,body .bootstrap-datetimepicker-widget table td.old,body .bootstrap-datetimepicker-widget table td.new{color:#748da3!important}body .daterangepicker .drp-buttons{border-color:#355970!important}
body .note-editor.note-frame,body .note-editor .note-toolbar,body .note-popover .popover-content,body .note-editor .note-statusbar{background:#112a3e!important;border-color:#35566d!important;color:#d3e8f5!important}body .note-editor.note-frame .note-editing-area .note-editable{background:#0c1f31!important;color:#e1eef7!important}body .note-editor .note-codable{background:#081828!important;color:#b3e3e8!important}body .note-editor .note-btn,body .note-popover .note-btn{background:#17364b!important;color:#d0e9f8!important;border-color:#355970!important}body .note-editor .note-dropdown-menu,body .note-popover .note-dropdown-menu,body .popover,body .popover-title,body .popover-content{background:#16344a!important;color:#deedf8!important;border-color:#355970!important}body .note-placeholder{color:#849fb6!important}
body .file-preview,body .file-preview-frame,body .file-drop-zone,body .dropzone,body .upload-preview li,body .faupload-preview li{background:#10283b!important;color:#c3dce9!important;border-color:#355970!important}body .file-footer-caption,body .file-upload-indicator,body .caption{color:#c3dce9!important}body .qrcode-img img{background:#fff;padding:12px;border-radius:12px}body .qrcode-name{color:#deedf8}
body .login-screen .well{background:#102439!important;border:1px solid #335b70!important;border-radius:16px!important;overflow:hidden}body .login-head{background:linear-gradient(110deg,#1c4f64,#123044)!important}body .login-form{background:#102439!important;color:#d4e7f5!important}body .profile-img-card{border-color:#24485e!important}body .profile-name-card{color:#d3edf8;font-size:18px;letter-spacing:2px}body #login-form .btn-success{background:linear-gradient(110deg,#23798a,#226573)!important}
body .control-sidebar-light,body .control-sidebar-light+.control-sidebar-bg,body .control-sidebar-dark,body .control-sidebar-bg{background:#102438!important;color:#d1e6f4!important}body .control-sidebar-heading,body .control-sidebar-subheading{color:#d1e6f4!important}
body:not(.is-dialog) .panel-intro,body:not(.is-dialog) .box{animation:ag-enter .4s ease both}body .btn{transition:background-color .18s,border-color .18s,box-shadow .18s}body .form-control{transition:border-color .18s,box-shadow .18s}
@media(max-width:767px){body.is-dialog .content{padding:16px 12px 90px}body .panel-body{padding:14px}body .bootstrap-table .fixed-table-container{overflow-x:auto}body .table-adminlog th:first-child{width:80px}body .layer-footer{padding:10px!important}}
@media(prefers-reduced-motion:reduce){body *,body *:before,body *:after{animation:none!important;transition:none!important}}
body .sp_control_box,body .sp_message_box,body .sp_navi,body .sp_results_off,body .sp_combo_input{background:#11283c!important;color:#cde4f4!important;border-color:#355970!important}body .sp_results li.sp_selected{background:#214c62!important;color:#defffb!important}body .sp_results li.sp_over{background:#286079!important;color:#fff!important}
body .activity-location-map,body .leaflet-container{background:#0e2437!important;border-color:#355970!important}body .activity-location-map .leaflet-tile-pane{filter:invert(1) hue-rotate(180deg) brightness(.82) saturate(.65)}body .leaflet-bar a,body .leaflet-bar a:hover,body .leaflet-control-layers,body .leaflet-popup-content-wrapper,body .leaflet-popup-tip{background:#16364b!important;color:#dcf3fc!important;border-color:#355970!important}body .leaflet-control-attribution{background:#0d243be8!important;color:#bbd2e1!important}body .leaflet-control-attribution a{color:#88d5e2!important}body .leaflet-container a.leaflet-popup-close-button{color:#d9f4ff!important}
