/* Shared interaction palette for native and plugin controls in Template 2. */
.ui-template-template_2 {
    --wms-muted: #59665f;
    --control-accent: #145c3f;
    --control-accent-hover: #0a432d;
    --control-on-accent: #ffffff;
    --control-soft: #e4f1e9;
    --control-focus: #145c3f26;
    --control-muted: #f1f4f0;
    --control-info: #1f5f8b;
    --control-info-soft: #e7f2fa;
    --control-info-line: #b9d7ea;
    --control-warning: #754900;
    --control-warning-soft: #fff2d2;
    --control-warning-line: #e8cf8e;
    --control-danger: #9b352e;
    --control-danger-soft: #fdecea;
    --control-danger-line: #efc1bc;
    accent-color: var(--control-accent);
}
html[data-wms-theme=dark] .ui-template-template_2 {
    --wms-muted: #b3c6b9;
    --control-accent: #326e4c;
    --control-accent-hover: #3b8059;
    --control-soft: #2b4335;
    --control-focus: #99cdaa40;
    --control-muted: #24372d;
    --control-info: #b9ddf8;
    --control-info-soft: #263e53;
    --control-info-line: #526f86;
    --control-warning: #f3d79f;
    --control-warning-soft: #4b3c23;
    --control-warning-line: #7b663f;
    --control-danger: #f6bec4;
    --control-danger-soft: #4a2d31;
    --control-danger-line: #835c64;
}
html[data-wms-theme=gradient] .ui-template-template_2 {
    --control-accent: #42625d;
    --control-accent-hover: #314e49;
    --control-soft: #e6eef0;
    --control-focus: #42625d30;
}
.ui-template-template_2 hr { border-color:var(--wms-line)!important; background-color:var(--wms-line); opacity:1; }
.ui-template-template_2 :is(.form-control,.form-select,.select2-selection,.select2-search__field,.select2-dropdown) {
    border-color:var(--wms-line)!important;
    color:var(--wms-ink)!important;
    background-color:var(--wms-surface)!important;
}
.ui-template-template_2 :is(.form-control,.form-select):is([readonly],:disabled) {
    background-color:var(--control-muted)!important;
    color:var(--wms-muted)!important;
}
.ui-template-template_2 :is(.form-control,.form-select,.select2-search__field):focus,
.ui-template-template_2 :is(.select2-container--focus,.select2-container--open) .select2-selection {
    border-color:var(--control-accent)!important;
    box-shadow:0 0 0 3px var(--control-focus)!important;
    outline:0;
}
.ui-template-template_2 .select2-dropdown { border-radius:8px; box-shadow:0 8px 24px #142b201a; overflow:hidden; }
.ui-template-template_2 .select2-search--dropdown { padding:8px; }
.ui-template-template_2 .select2-search__field { border-radius:5px; padding:6px!important; }
.ui-template-template_2 .select2-selection__rendered { color:var(--wms-ink)!important; }
.ui-template-template_2 .select2-selection__placeholder { color:var(--wms-muted)!important; }
.ui-template-template_2 .select2-container {
    max-width:100%;
    vertical-align:top;
}
.ui-template-template_2 .select2-container--default .select2-selection--single {
    display:flex;
    align-items:center;
    width:100%;
    height:42px!important;
    min-height:42px;
    padding:0;
}
.ui-template-template_2 .select2-container--default .select2-selection--single .select2-selection__rendered {
    width:100%;
    height:auto;
    padding:0 38px 0 12px!important;
    line-height:1.35!important;
}
.ui-template-template_2 .select2-container--default .select2-selection--single .select2-selection__arrow {
    top:50%!important;
    right:8px;
    width:20px;
    height:20px!important;
    transform:translateY(-50%);
}
.ui-template-template_2 .select2-container--default .select2-selection--multiple {
    min-height:42px!important;
    padding:3px 8px;
}
.ui-template-template_2 .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display:flex;
    min-height:34px;
    margin:0;
    padding:0!important;
    flex-wrap:wrap;
    align-items:center;
    gap:4px;
}
.ui-template-template_2 .select2-container--default .select2-selection--multiple .select2-selection__choice,
.ui-template-template_2 .select2-container--default .select2-search--inline {
    margin:0;
}
.ui-template-template_2 .select2-container--default .select2-search--inline .select2-search__field {
    height:30px;
    margin:0;
    padding:4px!important;
    line-height:1.35;
}
.ui-template-template_2 .select2-container--open { z-index:1080; }
.ui-template-template_2 .custom-filter-wrap .select2-container--default .select2-selection--single {
    height:36px!important;
    min-height:36px;
}
.ui-template-template_2 .t2-filter-select .select2-container--default .select2-selection--single {
    height:34px!important;
    min-height:34px;
}
.ui-template-template_2 .custom-filter-wrap .select2-container--default .select2-selection--single .select2-selection__rendered,
.ui-template-template_2 .t2-filter-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right:34px!important;
}
.ui-template-template_2 .select2-results__option { color:var(--wms-ink); }
.ui-template-template_2 .select2-results__option[aria-selected=true],
.ui-template-template_2 .select2-results__option--selected { background:var(--control-soft)!important; color:var(--wms-ink)!important; }
/* Highlight wins over selected, including when navigating with a keyboard. */
html .ui-template-template_2 .select2-container .select2-results__option--highlighted,
html[data-wms-theme] .ui-template-template_2 .select2-results__option--highlighted {
    background:var(--control-accent)!important; color:var(--control-on-accent)!important;
}
.ui-template-template_2 .select2-results__option[aria-disabled=true] { color:var(--wms-muted)!important; }
.ui-template-template_2 :is(.datepicker,.daterangepicker) { background:var(--wms-surface); color:var(--wms-ink); border-color:var(--wms-line); }
html .ui-template-template_2 :is(.datepicker td.active,.datepicker td.active:hover,.datepicker td span.active,.daterangepicker td.active,.daterangepicker .ranges li.active) {
    background:var(--control-accent)!important; background-image:none!important; color:var(--control-on-accent)!important; text-shadow:none;
}
.ui-template-template_2 :is(.datepicker td.day:hover,.datepicker td span:hover,.daterangepicker td.available:hover,.daterangepicker .ranges li:hover) { background:var(--control-soft)!important; color:var(--wms-ink)!important; }
.ui-template-template_2 .datepicker td.today { background:var(--control-soft)!important; background-image:none!important; color:var(--wms-ink)!important; }
.ui-template-template_2 .form-check-input:checked,
.ui-template-template_2 .custom-control-input:checked~.custom-control-label::before { background-color:var(--control-accent); border-color:var(--control-accent); }
.ui-template-template_2 :is(.btn-primary,.btn-success) { background-color:var(--control-accent)!important; border-color:var(--control-accent)!important; color:var(--control-on-accent)!important; }
.ui-template-template_2 :is(.btn-primary,.btn-success):hover { background-color:var(--control-accent-hover)!important; border-color:var(--control-accent-hover)!important; }
.ui-template-template_2 .btn-info { background:var(--control-info-soft)!important; border-color:var(--control-info-line)!important; color:var(--control-info)!important; }
.ui-template-template_2 .btn-warning { background:var(--control-warning-soft)!important; border-color:var(--control-warning-line)!important; color:var(--control-warning)!important; }
.ui-template-template_2 .btn-danger { background:var(--control-danger-soft)!important; border-color:var(--control-danger-line)!important; color:var(--control-danger)!important; }
.ui-template-template_2 :is(.btn-info,.btn-warning,.btn-danger):hover { filter:brightness(.96); box-shadow:0 3px 10px rgb(20 48 36 / 10%); }
.ui-template-template_2 :is(button,a.btn,.page-link):focus-visible { outline:2px solid var(--control-accent); outline-offset:3px; box-shadow:0 0 0 3px var(--control-focus); }
.ui-template-template_2 .nav-tabs .nav-link.active { color:var(--wms-ink); background:var(--control-soft); border-color:var(--wms-line); }
.ui-template-template_2 :is(.text-muted,.help-block,.dataTables_info,.t2-muted,.t2-list-summary__meta,.workspace-date,small) { color:var(--wms-muted)!important; }
.ui-template-template_2 #sidebar { --sb-muted:#59665f; --sb-icon:#65746c; }
.ui-template-template_2 :is(.sidebar-brand__copy small,.t2-nav-group__label,.t2-account__copy small) { color:var(--sb-muted)!important; }
html[data-wms-skin=light] .ui-template-template_2 #sidebar :is(small,.t2-nav-group__label,.t2-account__role) { color:#59665f!important; }
.ui-template-template_2 :is(.dh-section-head p,.dh-stat-total,.dh-stat-bottom span,.dh-history-hint,.dh-footer span,.dataTables_length label,.auth-t2__panel-footer span) { color:var(--wms-muted)!important; }
.ui-template-template_2 :is(.dh-date>span,.t2-pill) { color:#536159!important; }
.ui-template-template_2 .t2-chip:not(.is-active) .t2-chip__label { color:#536159!important; }
.ui-template-template_2 .t2-chip.is-empty { opacity:1!important; }
.ui-template-template_2 .t2-chip.is-empty .t2-chip__count { color:#606d66!important; }
html[data-wms-theme=dark] .ui-template-template_2 :is(.dh-date>span,.t2-pill,.t2-chip:not(.is-active) .t2-chip__label,.t2-chip.is-empty .t2-chip__count) { color:var(--wms-muted)!important; }
.ui-template-template_2 :is(.card,.panel,.panel-heading,.panel-body,.panel-footer,.modal-content,.dropdown-menu,.t2-mcard,.t2-list-summary) { border-color:var(--wms-line)!important; }
.ui-template-template_2 #wsClock { display:block; margin-top:3px; color:inherit; font-size:11px; font-variant-numeric:tabular-nums; line-height:1.2; white-space:nowrap; }
.ui-template-template_2 :is(.btn,.t2-icon-btn,.workspace-logout) { transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease; }
.ui-template-template_2 :is(.btn,.t2-icon-btn,.workspace-logout):active { transform:translateY(1px); }
.ui-template-template_2 [aria-disabled=true],
.ui-template-template_2 :disabled { cursor:not-allowed; opacity:.62; }
@media (forced-colors: active) {
    .ui-template-template_2 :is(.btn,.form-control,.form-select,.select2-selection,.t2-chip) { border:1px solid ButtonText!important; }
}
/* Keep error, warning and information colors semantic instead of making every status green. */
.ui-template-template_2 .form-control.is-invalid { border-color:var(--wms-red)!important; }
.ui-template-template_2 .form-control.is-valid { border-color:var(--control-accent)!important; }
