.btn,
input,
textarea,
.progress,
.tag-label,
.label,
.badge,
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span,
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span,
.panel,
.panel-heading,
.panel-comments,
.nav-pills > li > a,
.breadcrumb,
.panel > table:last-child,
.panel > .table:first-child  {
    border-radius: 0!important;
}

.table-condensed > tbody > tr > td,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > td,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > thead > tr > th {
	padding-top: 12px;
}

.table-condensed > tbody > tr > td:first-child,
.table-condensed > tbody > tr > th:first-child,
.table-condensed > tfoot > tr > td:first-child,
.table-condensed > tfoot > tr > th:first-child,
.table-condensed > thead > tr > td:first-child,
.table-condensed > thead > tr > th:first-child {
	padding-left: 15px;
}

.btn-group .btn:not(:first-child) {
    margin-left: 6px;
}

.min,
.max {
    overscroll-behavior: none!important;
    overflow-x: clip!important;
}

a {
  color: #546474;
}

.panel-default .btn-primary {
    background-color: transparent!important;
    border-style: none!important;
    color: #fff!important;
    border: 1px solid #fff!important;
}

.panel-default .btn-primary:hover {
    background-color: transparent!important;
    color: #fff!important;
    border: 1px solid #fff!important;
}

.btn-primary {
    color: #fff;
    background-color: #546474;
	  /*border-style: none!important;*/
}

.btn-primary:hover {
    background-color: #38434d!important;
}

.btn-secondary {
    color: #fff;
    background-color: #546474;
	border-style: none!important;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #38434d!important;
}

.panel-heading .dropdown-toggle:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

#base-content .clearfix .pagination .dropdown-toggle:focus {
    outline: 5px auto #599fd0;
    outline-offset: -3px;
}
.table-responsive .dropdown-toggle:focus {
    outline: 5px auto -webkit-focus-ring-color;
    text-decoration: none;
}

/*
.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open > .dropdown-toggle.btn-primary.focus, .open > .dropdown-toggle.btn-primary:focus, .open > .dropdown-toggle.btn-primary:hover {
    background-color: transparent!important;
    border-style: none!important;
}

.btn-primary.focus, .btn-primary:focus {
    background-color: transparent!important;
    border-style: none!important;
}
*/

.secondary-color {
  background-color: #546474!important;
  color: white;
}

.h1,
.h2,
.h3,
h1,
h2 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h3 {
  margin-top: 5px;
  margin-bottom: 2px;
  font-size: 18px;
  line-height: 18px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.nav.nav-second-level.nav-up {
    transform: translateY(-100%);
    margin-top: 41px;
}

.nav-tabs {
    border-bottom: 1px solid rgb(148, 168, 187);
}


.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    color: #fff;
    background-color: #73879c;
    border: 1px solid #73879c;

}
.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 0;
}

.nav-tabs .dropdown .badge{
    color: #fff;
    background-color: #546474;
}

.nav-tabs .active-color .badge{
    color: #72879b;
    background-color: #ffffff;
}

.navbar-brand {
    padding: 0 12px;
    margin-left: 0px;
    height: 92px;
    display: flex;
    align-items: center;
}

.navbar-toggle {
    height: 92px;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand > img {
    display: inline-block;
}

.navbar-brand-logo {
    min-height: 92px;
}

.navbar-brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand-logo-wrap img {
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 64px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-brand-logo-wrap span {
    font-size: 19px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    line-height: 1;
}

.navbar-fixed-top {
    min-height: 92px;
}

.navbar-fixed-top .navbar-header {
    min-height: 92px;
    height: 92px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    body {
        padding-top: 92px;
    }

    .navbar-fixed-top {
        min-height: 92px;
    }

    .navbar-top-links {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 92px;
        margin: 0;
        float: right;
    }

    .navbar-top-links > li {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .navbar-top-links > li > a,
    .navbar-top-links > li > .custom-search-form {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .navbar-top-links > li > a {
        padding-top: 0;
        padding-bottom: 0;
    }

    .navbar-top-links .custom-search-form {
        margin: 0;
    }

    .navbar-top-links .custom-search-form form {
        margin-bottom: 0;
    }

    .navbar-default.sidebar.navbar-fixed-top {
        top: 96px !important;
        height: calc(100vh - 96px);
        overflow: visible;
        z-index: 1030;
    }

    .navbar-default.sidebar.navbar-fixed-top .sidebar-nav.navbar-collapse {
        height: calc(100vh - 96px);
        overflow: visible;
        position: relative;
    }

    body.min div.navbar-default.sidebar {
        top: 96px !important;
        height: calc(100vh - 96px);
        overflow: visible;
    }

    #page-wrapper,
    #footer-wrapper {
        margin-top: 0 !important;
    }

    #wrapper > .container-fluid,
    #wrapper > #page-wrapper {
        padding-top: 0;
    }
}

.row {
    margin-top: 5px;
}

form.filters {
    margin-top: 0px;
    padding: 0px 5px 5px;
}

.filters select, .filters textarea, .filters input[type="text"], .filters input[type="password"], .filters input[type="datetime"], .filters input[type="datetime-local"], .filters input[type="date"], .filters input[type="month"], .filters input[type="time"], .filters input[type="week"], .filters input[type="number"], .filters input[type="email"], .filters input[type="url"], .filters input[type="search"], .filters input[type="tel"], .filters input[type="color"], .filters .uneditable-input {
    width: 100%;
    border-radius: 4px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}

.filters hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

input[type="file"] {
    border: 0px;
    width: auto;
}

.form-control {
    width: 70% !important;
}

.bs-searchbox .form-control {
    width: 100% !important;
}

.dojo-input-group {
    width: 73%;
    z-index: 1;
}

.home-icon a {
    padding: 0 !important;
}

.hilite,
.hilite1 {
    background: #FF0;
}

.hilite2 {
    background: #A9DBA9;
}

.hilite3 {
    background: #F89406;
}

.hilite4 {
    background: #F8B9B7;
}

.hilite5 {
    background: #BCE8F1;
}

#swagger-ui-container h2 {
    font-size: 20px;
    line-height: 20px;
    padding: 0;
}

#swagger-ui-container h3 {
    font-size: 15px;
    line-height: 20px;
    padding: 0;
}

#swagger-ui-container .footer {
    display: none !important;
}

div#header {
    background: #FFF;
}

.zero {
    border: 0 !important;
    padding: 0 !important;
    width: 0 !important;
}

body #header form#api_selector .input input#input_apiKey {
    width: 500px;
}

.prod_name {
    padding-right: 15px;
    white-space: nowrap;
    width: 1px;
}

.breadcrumb a.active {
    color: #777 !important;
}

.badge.badge-count {
    background-color: #d9534f;
}

.badge.badge-count.badge-count0 {
    background-color: #5cb85c;
}

.dropdown-toggle-h {
    display: none;
    visibility: hidden;
}

a.eng_link {
    margin-bottom: 10px;
}

.ui-helper-reset {
    font-size: 96%;
}

#tabs.ui-widget {
    font-size: .8em;
}

form.metric_form,
form.metric_form select,
form.metric_form p,
form.metric_form ul,
form.metric_form ul li {
    list-style-type: none;
    font-size: 11px
}

form.metric_form label {
    font-size: 11px
}

form.metric_form input[type='submit'] {
    vertical-align: text-bottom;
}

form.metric_form p label {
    font-weight: 700;
}

.filters .panel-body {
    padding: 5px;
}

.filters .panel-heading {
    border-top: 1px solid #ddd;
}

.filters .panel-heading:first-child {
    border-top: 0px solid #ddd;
}

.panel-blue .panel-heading,
.panel-blue {
    color: #f5f5f5;
    background-color: #546474!important;
    border-color: #546474!important;
}

.panel-blue a {
    color: #546474;
}

.panel-blue a:hover {
    color: #38434d;
}

.nowrap {
    white-space: nowrap;
}

.metrics-chart {
    height: 300px;
}

.metrics-half-chart {
    height: 300px;
    width: 460px;
    display: inline-block;
    margin-bottom: 40px;
}

.table-400 {
    width: 40%;
}

.table-600 {
    width: 66%;
}

.table-full {
    width: 100%;
}

.metric-half {
    display: inline-block;
    vertical-align: top;
    width: 44%;
    margin-right: 20px;
    padding: 14px;
    border: 1px solid rgba(100, 116, 139, 0.30);
    border-radius: 8px;
    overflow-x: visible !important;
    box-sizing: border-box;
}

.metric-half table {
    width: 100%;
    table-layout: auto;
}

.field-help-text {
    display: block;
    font-size: 75%;
    margin: -10px 1px 10px;
}

.error-page-box {
    display: inline-block;
    vertical-align: middle;
    padding-right: 25px;
}

.inline-block {
    display: inline-block;
}

a.search-finding {
    color: #09d;
}

.no-bullets {
    list-style: none;
}

.inline-form,
.inline-label {
    display: inline;
}

div#upload-risk form select[multiple="multiple"] {
    height: 400px;
    width: auto;
}

.controls.file label {
    width: 20%;
    text-align: center;
}

.protip {
    text-align: center;
    margin-bottom: 10px;
}

.control-group input[type="file"] {
    display: inline-block;
    width: 0;
}

form#replace_risk_file label {
    text-align: center;
    width: 88px;
}

form#replace_risk_file input[type="file"] {
    display: inline-block;
    width: 0;
}

form ul {
    list-style-type: none;
    margin-left: 0px;
    padding-left: 0px
}

form ul li a#reset-password,
form ul li a#forgot-username {
    color: rgb(51, 122, 183)
}

form ul#id_accepted_findings {
    list-style: none;
    margin-left: 0;
    overflow: scroll;
    max-height: 500px;
}

form ul#id_accepted_findings li {
    padding: 5px;
}

form ul#id_accepted_findings li:nth-child(odd) {
    background-color: #f0f0f0;
}

div#upload-risk .helptext,
div.show_add_findings_form .helptext {
    display: block;
    font-size: 13px;
    font-style: italic;
    margin: auto;
    text-align: center;
}

a.accept-all-findings {
    cursor: pointer;
}

div.danger-zone {
    padding: 0;
    text-align: center;
}

div.danger-zone h3 {
    margin: 0px;
}

div.danger-zone p {
    margin-top: 10px;
}

.meta_profile {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #f0f0f0;
    border: 1px solid;
    border-color: #d0d0d0;
    border-radius: 4px;
    color: #000;
    padding: 8px 35px 8px 14px;
}

.meta_profile b {
    display: inline-block;
    width: 40%;
}

ul.messages {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin: 0 0 10px;
    padding: 5px;
}

.messages li {
    display: block;
    font-size: 16px;
    margin: 0 0 2px;
    padding: 2px 3px;
}

.top,
form ul#id_accepted_findings input {
    vertical-align: top;
}

.messages li.warning {
    color: #c09853;
}

.messages li.error {
    color: #b94a48;
}

.Pass,
.messages li.success {
    color: #468847;
}

.pass_fail {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #f89406;
    color: #fff;
    display: inline-block;
    font-size: 11.844px;
    font-weight: 700;
    line-height: 14px;
    padding: 2px 8px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    vertical-align: baseline;
    white-space: nowrap;
}

.dojo-sup {
  font-size: smaller;
  vertical-align: super;
}
.Fail {
    background-color: #b94a48;
}

.Pass {
    background-color: #468847;
}

.severity {
    font-size: 80%;
}

.severity-Info {
    background-color: #888888;
}

.severity-Low {
    background-color: #546474;
}

.severity-Medium {
    background-color: #FBE413;
}

.severity-High {
    background-color: #f09835;
}

.severity-Critical {
    background-color: #d9534f;
}

.age-red {
    background-color: #d9534f;
}

.age-green {
    background-color: green;
}

.age-blue {
    background-color: blue;
}

.age-orange {
    background-color: #EE7600;
}

.dojo-search {
    clear: right !important;
    display: inline-block !important;
    float: right !important;
    margin: 0 !important;
}

.pagination {
    margin: 10px;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover
{
  background-color: #546474;
  border-color: #546474;
}

.pagination-in-panel {
    margin-left: 10px!important;
    margin-right: 10px!important;
}

#risk_acceptance table form {
    margin: 0;
}

#risk_acceptance table td {
    vertical-align: middle;
}

div.eng_info {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-top: 10px;
    min-height: 135px;
    padding: 7px;
    width: 280px;
}

div.prod_info {
    background-color: #f5f5f5;
    border-radius: 4px;
    margin-top: 10px;
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
}

br {
    border: 0;

}

.filters h3 {
    font-size: 122% !important;
    line-height: 20px;
    margin: 0px 0 5px 0 !important;
}

.filters .helptext {
    display: none;
}

.table-bordered th {
    background-color: #DCEDFB !important;
}

span.report_note {
    display: inline-block;
    font-size: 11px !important;
}

span.report_note * {
    font-size: 11px !important;
}

div.pagination li form {
    display: inline-block;
    margin-left: 3px;
}

div.pagination li form select {
    display: inline-block;
    font-size: 11px;
    width: auto;
}

div.page_select {
    float: left;
}

input#simple_search {
    width: 100%!important;
}

.support-page-wrapper {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.support-container {
    display: flex;
    width: 75%;
    margin-bottom: 150px;
}

.support-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.support-box.shape {
    border-radius: 12px;
    padding: 10px 25px 25px 25px;
    margin: 0px 10px 0px 10px;
    transition: transform .5s;
}

.community {
    color: #546474!important;
    background-color: #e7e7e7!important;
}

.commercial {
    color: #e7e7e7!important;
    background-color: #1d4565!important;
}

.support-box.hover:hover {
    transform: translateY(-10px);
}

.btn-primary.support {
    font-size: 16px;
    font-weight: 500;
    padding: 10px!important;
    border-radius: 6px!important;
    margin: 20px 10px 0px 10px!important;
    border: none!important;
}

.btn-primary.support.dark:hover {
    color: #546474!important;
    background-color: #f7f7f7!important;
}

.btn-primary.support.light:hover {
    color: #e7e7e7!important;
    background-color: #235175!important;
}

.divider {
    border-bottom: 1px solid;
    margin: 10px 25px 15px 25px;
}

.divider.dark {
    border-color: #546474!important
}

.divider.light {
    border-color: #e7e7e7!important
}

.dojo-modals-wrapper {
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.footer {
    background-color: #F8F8F8;
    border-top: 1px solid #dcdcdc;
    padding: 30px 0;
}

.footer img {
    opacity: .7;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.footer img:hover {
    opacity: 1
}

.metric-data .row {
    margin-bottom: 40px;
}

.navbar a.brand {
    margin: 0;
    padding: 0;
}

.metric-data .well {
    padding: 7px;
    font-size: 12px !important;
}

.metric-data h4 {
    font-size: 14px;
    font-weight: bold;
}

body {
    padding-top: 50px;
}

@media (min-width: 768px) {
    body {
        padding-top: 92px !important;
    }

    #page-wrapper {
        margin-top: 0 !important;
    }

    #footer-wrapper {
        margin-top: 0 !important;
    }
}

body.popup {
    padding-top: 0;
}

html,
body,
.container {
    height: 100%;
}

body > .container {
    height: auto;
    min-height: 100%;
}

body #header form#api_selector .input a#explore:hover,
body #header form#api_selector .input a#explore {
    background-color: #09d !important;
}

.controls ul {
    list-style-type: none;
    margin: 0
}

div.dataTables_wrapper
div.dataTables_filter {
    margin: 10px!important;
}

.navbar li.search-form {
    width: 170px
}

label,
input,
button,
select,
textarea {
    font-size: 14px
}

ul.left {
    text-align: left
}

.breadcrumb.main {
    margin-top: 10px;
}

/* App-wide list tables: keep tall cells from misaligning a row (a cell that
   wraps to multiple lines shouldn't drag its neighbors' content out of
   vertical alignment). Applies to every DataTables/Bootstrap list table. */
body.acg-shell table.table > tbody > tr > td {
    vertical-align: middle;
}

.mitre-id-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    max-width: 240px;
}

.mitre-id-badge,
.mitre-id-more {
    font-size: 0.75em;
    font-weight: 600;
    white-space: nowrap;
    background-color: rgba(148, 163, 184, 0.10) !important;
    color: #475569 !important;
    border: 1px solid rgba(100, 116, 139, 0.75);
    border-radius: 6px !important;
}

.mitre-id-more {
    cursor: pointer;
}

body.acg-shell.dark-theme .mitre-id-badge,
body.acg-shell.dark-theme .mitre-id-more {
    background-color: rgba(148, 163, 184, 0.08) !important;
    color: #cbd5e1 !important;
    border-color: rgba(148, 163, 184, 0.55);
}

.finding-title-link {
    font-weight: 700;
}

/* Scan Type status (Completed / In Progress / Blocked...) as a soft-fill
   pill-button chip instead of plain (sometimes italic) text. */
.status-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    border: none;
    white-space: nowrap;
}

.status-chip-completed { background: rgba(22, 163, 74, 0.12); color: #15803d; }
.status-chip-in-progress { background: rgba(37, 99, 235, 0.12); color: #1d4ed8; }
.status-chip-blocked { background: rgba(220, 38, 38, 0.12); color: #b91c1c; }
.status-chip-cancelled { background: rgba(100, 116, 139, 0.12); color: #475569; }
.status-chip-not-started { background: rgba(148, 163, 184, 0.16); color: #64748b; }
.status-chip-on-hold { background: rgba(245, 158, 11, 0.14); color: #b45309; }
.status-chip-scheduled { background: rgba(124, 58, 237, 0.12); color: #6d28d9; }
.status-chip-waiting-for-resource { background: rgba(245, 158, 11, 0.14); color: #b45309; }

body.acg-shell.dark-theme .status-chip-completed { background: rgba(34, 197, 94, 0.16); color: #86efac; }
body.acg-shell.dark-theme .status-chip-in-progress { background: rgba(59, 130, 246, 0.18); color: #93c5fd; }
body.acg-shell.dark-theme .status-chip-blocked { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
body.acg-shell.dark-theme .status-chip-cancelled { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
body.acg-shell.dark-theme .status-chip-not-started { background: rgba(148, 163, 184, 0.16); color: #cbd5e1; }
body.acg-shell.dark-theme .status-chip-on-hold { background: rgba(245, 158, 11, 0.16); color: #fcd34d; }
body.acg-shell.dark-theme .status-chip-scheduled { background: rgba(167, 139, 250, 0.18); color: #c4b5fd; }
body.acg-shell.dark-theme .status-chip-waiting-for-resource { background: rgba(245, 158, 11, 0.16); color: #fcd34d; }

.obs-cell-clamp {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
    word-break: break-word;
    cursor: default;
}

.form-read-only {
    margin-left: 20px;
}

.centered {
    text-align: center;
}

.centered table {
    margin: auto;
    text-align: left;
}

table.centered th {
    text-align: center;
}

table.centered td {
    text-align: center;
}

.text-critical {
    color: #d9534f
}

.text-high {
    color: #f0ad4e
}

.text-medium {
    color: #f0de28
}

.text-low {
    color: #546474
}

input[type="checkbox"] {
    display: inline;
    width: 22px;
    vertical-align: middle;
    margin-top: 0px;
    border: 0;
    padding: 0px;
    box-shadow: none
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 500px;
    min-width: 0;
}

.footer {
    font-size: x-small
}

.footer img.logo {
    width: 5%;
    height: 5%;
}

td .fa-fw {
    font-size: 18px;
}

.same-height-panel-row .panel {
    min-height: 150px;
}

.view-finding .panel-body pre, .endpoints pre {
    background-color: transparent;
    border: 0px;
    padding: 0px;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-break: normal;
}

h4.finding-title {
    width: 90%;
}

@media (min-width: 768px) {
    .dl-horizontal dt {
        width: 180px;
    }

    .dl-horizontal dd {
        margin-left: 200px;
    }

}

.panel-heading span.clickable {
    cursor: pointer;
}

#test-pulldown .popover-content {
    color: #000000;
}

span.endpoint_product {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 3px;
}

#vuln_endpoints ul {
    list-style-type: square;
    margin-left: 5px;
    padding-left: 5px;
    width: 100%;
}

.endpoint-panel {
    overflow-x: scroll;
    max-height: 300px;
}

.endpoints i.fa-circle {
    font-size: 7px;
    vertical-align: middle;
}

.dropdown-menu > li > a.text-danger {
    color: #a94442!important;;
}

.dropdown-menu  {
	background-color: #fff;
}

.dropdown-menu a {
	text-decoration: none!important;
	letter-spacing: 0.04em;
  color: #000000!important;;
}

th .fa-sort-asc {
    vertical-align: -3px
}

th .fa-sort-desc {
    vertical-align: 3px
}

th a {
    color: #333;
    width: 100%;
    display: inline-block;
}

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?2eclin');
    src: url('../fonts/icomoon.eot?2eclin#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?2eclin') format('truetype'),
    url('../fonts/icomoon.woff?2eclin') format('woff'),
    url('../fonts/icomoon.svg?2eclin#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-grab-reorder-down:before {
    content: "\e902";
}

.icon-grab-reorder-up:before {
    content: "\e903";
}

.icon-grab-reorder:before {
    content: "\e904";
}

.icon-add-template:before {
    content: "\e900";
}

.icon-plusminus:before {
    content: "\e800";
}

.icon-page-break:before {
    content: "\e901";
}

.icon-user-check:before {
    content: "\e975";
}

#side-menu ul a {
    /*border-top: 1px solid #ddd;*/
    border-radius: 4px;
}

li#minimize-menu-li {
    display: none;
    visibility: hidden;
}

div.custom-search-form {
    height: 21px;
    width: 265px;
}

.announcement-banner {
    margin: 0px -15px;
    border-radius: 0px 0px 4px 4px;
}

@media (min-width: 795px) {
    div.custom-search-form {
        height: 21px;
        width: 350px;
    }
}

@media (min-width: 945px) {
    div.custom-search-form {
        height: 21px;
        width: 500px;
    }
}

@media (min-width: 320px) {
    #page-wrapper {
        margin: 75px 0 0 0;
    }

    #footer-wrapper {
        margin: 75px 0 0 0;
    }
}

@media (min-width: 359px) {
    #page-wrapper {
        margin: 100px 0 0 0;
    }

    #footer-wrapper {
        margin: 100px 0 0 0;
    }
}

@media (min-width: 600px) {
    #page-wrapper {
        margin: 50px 0 0 0;
    }

    #footer-wrapper {
        margin: 50px 0 0 0;
    }
}

@media (min-width: 768px) {
    .sidebar {
        width: 175px
    }

    #page-wrapper {
        margin: 0 0 0 175px;
    }

    #footer-wrapper {
        margin: 0 0 0 175px;
        border-left: 1px solid #e7e7e7;
    }

    li#minimize-menu-li {
        display: inline-block;
        visibility: visible;
    }

    div.custom-search-form {
        height: 21px;
        width: 305px;
    }

    #side-menu > li > a span.arrow,
    #side-menu > li > a i.arrow {
        display: inline-block;
        float: right;
        margin-top: 4px;
        color: rgba(219, 228, 240, 0.8);
    }

    #side-menu > li.active > a span.arrow,
    #side-menu > li.mm-active > a span.arrow,
    #side-menu > li.active > a i.arrow,
    #side-menu > li.mm-active > a i.arrow {
        color: #ffffff;
    }

    #side-menu li {
        position: relative;
        border-radius: 4px;
    }

    #side-menu > li > a {
        position: relative;
    }

    #side-menu > li > a::after {
        content: "";
        position: absolute;
        top: 0;
        right: -20px;
        width: 20px;
        height: 100%;
        background: transparent;
    }

    #side-menu > li ul {
        position: static;
        left: auto;
        top: auto;
        min-width: 0;
        height: auto !important;
        display: none;
        z-index: 10000;
        background-color: transparent;
        background-clip: border-box;
        border: 0;
        border-left: 3px solid rgba(245, 158, 11, 0.75);
        border-radius: 0;
        box-shadow: none;
        margin: 6px 0 8px 16px;
        padding: 4px 0 4px 10px;
    }

    #side-menu > li.active > ul,
    #side-menu > li.mm-active > ul,
    #side-menu > li > ul.in {
        display: block !important;
    }

    body.min #page-wrapper {
        margin: 0 0 0 50px;
        border-left: 1px solid #e7e7e7;
    }

    body.min #footer-wrapper {
        margin: 0 0 0 50px;
    }

    body.min div.navbar-default.sidebar {
        width: 50px;
    }

    body.min div.navbar-default.sidebar li a span {
        display: none;
    }

    body.min div.navbar-default.sidebar li a i {
        font-size: 18px;
    }

    body.min #min-menu i:before {
        content: "\f0a9" !important;
    }

    body.max #min-menu i:before {
        content: "\f0a8" !important;
    }
    
    .announcement-banner {
        margin: 0px -30px;
    }

}

#toTop {
    position: fixed;
    bottom: 95px;
    right: 40px;
    cursor: pointer;
    display: none;
    width: 40px;
    height: 30px;
}

.dojo-filter-set * {
    font-size: 11px;
}

.dojo-filter-set.form-inline .form-group {
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: middle;
    margin-right: 25px;
}

.dojo-filter-set.form-inline .filter-form-group {
    display: flex;
    flex-wrap: wrap;
    flex-basis: auto;
    flex-grow: 4;
    align-content: stretch;
    margin-bottom: 10px;
    vertical-align: middle;
    margin-right: 25px;
}

.dojo-filter-set.form-inline .filter-form-input {
    margin-right: 25px;
    margin-bottom: 10px;
}

.dojo-filter-set.form-inline .filter-form-control {
    width: 100%!important;
    vertical-align: middle;
}

.dojo-filter-set.form-inline .form-control {
    height: auto!important;
}

.report-filter-set {
    padding-left: 10px;
}

.report-filter-set .form-group {
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: middle;
    margin-right: 25px;
}

.finding-list .panel-body, .finding-list table {
    font-size: .95em !important;
}

.dojo-filter-set.form-inline select[multiple=multiple] {
    width: 200px;
}

#the-filters {
    background-color: #f9f9f9;
}

#the-filters-open {
    background-color: #f9f9f9;
}

#the-filters-paused {
    background-color: #f9f9f9;
}

#the-filters-closed {
    background-color: #f9f9f9;
}

.panel-default {
    border: 1px solid #dddedf;
}

.panel-heading h2,
.panel-heading h3,
.panel-heading h4,
.panel-heading h5 {
	margin-top: 0;
	margin-bottom: 0;
}

.panel-heading .btn {
	padding-top: 0;
	padding-bottom: 0;
}

.panel-default > .panel-comments {
    color: black;
    font-size: 12px;
    padding: 10px 10px;
    background-color: #ECECEC;
    border-color: #A1C0D7;
    border: 1px solid #dddedf;
}

.panel-default > .panel-heading {
    color: white;
    font-size: 16px;
    background-color: rgba(32, 166, 216, 0.75);
    border-color: #A1C0D7;
}

.panel-default > .panel-heading a,
.panel-default > .panel-heading small{
	color: #fff;
}

.panel-default > .panel-heading a{
	text-decoration: underline;
}

.panel-default > .panel-heading a:hover{
	color: #546474;
}

.panel-default-secondary{
	border: 1px solid #dddedf;
	border-top-style: none;
}

.panel-default-secondary > .panel-heading {
  color: white;
  background-color: #546474;
	border-style: solid;
	border-color: #536473;
}

.panel-heading .text-muted {
    color: #4b4b4b;
}

.panel-body.product-graphs {
	padding-left: 0;
	padding-right: 0;
	background-color: #f8f9f8;
}

.product-graphs .panel-body {
	border-right: 1px solid #dcdedf;
	border-left: 1px solid #dcdedf;
}

.graph {
    min-height: 158px;
}

.graph-loader {
    min-height: 158px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel-footer {
    background-color: #dddedf;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.panel-footer small{
	color: #246c91;
}

div.dt-buttons {
    margin: 10px!important;
}

div.dt-search {
    display: inline-block!important;
}

table#product_types .btn-success{
	background-color: #546474;
	border-color: #546474;
}

table#product_types .btn-success:hover{
	background-color: #3d4a58;
	border-color: #3d4a58;
}

table#product_types .btn-warning{
	background-color: #149b7e;
	border-color: #149b7e;
}

table#product_types .btn-warning:hover{
	background-color: #11876e;
	border-color: #11876e;
}

span.pull-right.clickable i.glyphicon-chevron-up, span.pull-right.clickable i.glyphicon-chevron-down {
    color: #546474;
}

.finding-description {
    max-height: 500px;
    overflow-y: scroll;
}

.finding-description::-webkit-scrollbar {
    -webkit-appearance: none;
}

.finding-description::-webkit-scrollbar:vertical {
    width: 13px;
}

.finding-description::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .5);
}

.finding-description::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 8px;
}

.highlight {
    background-color: rgb(255, 255, 123);
}


.benchmark_pass {
  background-color: #dff0d8;
}
.benchmark_fail {
  background-color: #f2dede;
}
.benchmark_disabled {
  background-color: #eaedf2
}

form#quick-add-form {
    display: inline-block;
    width: 40%;
}

.dojo-filter-heading {
    background-color: #EBF4FB;
    margin: 0px;
    padding: 5px 10px;
    border-radius: 0px;
    border: 1px solid #A1C0D7;
    margin-left: -16px;
    margin-right: -16px;
    margin-top: -16px;
    font-size: 15px;
    margin-bottom: 15px;
}

.dojo-report-heading {
    margin-top: 15px;
    margin-left: -16px;
    margin-right: -16px;
    background-color: #EBF4FB;
    border-radius: 0px;
    border: 1px solid #A1C0D7;
    font-size: 15px;
    padding: 5px 10px;
    margin-bottom: 15px;
}

div.potential-finding, div.potential-finding div.panel-heading {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

a.template-popover:hover {
    cursor: url(../img/zoom-in.cur), zoom-in;
}

.popover{
    max-width: 500px;
}

#template_findings div.popover {
    width: 50% !important;
    max-width: 50% !important;
}

#template_findings div.popover .popover-content {
    overflow: hidden;
}

.panel-available-widget {
    border-color: #ddd;
}

.panel-available-widget .panel-heading {
    background-color: #f5f5f5;
    border-color: #ddd;
}

.panel-available-widget .form-group * {

}

.panel-available-widget .form-control {
    width: 100%;
    height: auto;
}

.panel-available-widget .panel-heading h5 {
    margin: 0;
}

.panel-available-widget .panel-heading hr {
    margin: 7px 0;
}

.available-widgets .panel-available-widget .panel-body {
    display: none;
}

ul#sortable1, ul#sortable2 {
    padding: 10px 0 0;
    list-style-type: none;
}

ul#sortable1 li div.panel-heading:hover, ul#sortable2 li div.panel-heading:hover {
    cursor: default;
}

.available-widgets .ui-state-highlight, .in-use-widgets .ui-state-highlight {
    height: 35px;
    line-height: 1.2em;
    border: 2px dotted #d0d0d0;
    margin-top: 3px;
    margin-bottom: 20px;
}

.available-widgets .ui-state-highlight:first-child, .in-use-widgets .ui-state-highlight:first-child {
    margin-top: 0px;
    margin-bottom: 10px;
}

.report-page-break {
    display: flex;
    align-items: center;
    text-align: center;
}

.report-page-break::before,
.report-page-break::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed #000;
}

.report-page-break:not(:empty)::before {
    margin-right: 0.25em;
}

.report-page-break:not(:empty)::after {
    margin-left: 0.25em;
}

.editor * {
    font-size: 1em !important;
}

.editor ul {
    list-style-type: disc;
    padding: 0 40px;
}

.editor {
    overflow: scroll;
    min-height: 250px;
}

.in-use-widgets .report-filter-set .btn-sm {
    padding: 2px 10px;
}

.btn-tag {
    background: #3498db;
    border-radius: 3px;
    border-color: #ddd;
    color: #ffffff;
    font-size: 90%;
    padding: 2px 5px 2px 5px;
    text-decoration: none;
}

.btn-grade {
    border-radius: 2px;
    border-color: #ddd;
    color: #ffffff;
    padding: 1px 1px 1px 1px;
    text-decoration: none;
}

.tag-all {
    background: #3498db;
    text-decoration: none;
}


.A {
    background: #4ec83d;
}
.B {
  background: #ffa100;
}
.C {
  background: #FFBD33;
}
.D {
  background: #cc3300;
}
.F {
  background: #ef251e;
}

.white-color {
  color: #FFFFFF;
}

div.tags .label {
    font-size: 90;
    display: inline-block;
    padding: .6em .3em;
}

.tag-label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 11px;
    color: #fff;
    border-radius: .25em;
    text-decoration: none;
    text-decoration-style: solid;
}

.tag-color {
    background: #556270;
    border: 1px solid #fff!important;
}

.tag-version {
    background: rgba(32, 166, 216, 0.7);
    border: 1px solid #fff!important;
}

.happy-green-color {
    color: green;
}

.warning-color {
    background: red;
}

.amber-color {
  background: #ffc107;
}

.amber-color-with-padding {
  background: #ffc107;
  padding: .2em .6em .3em;
}

.tag-label:link {
    color: white;
    text-decoration: none;
}

.tag-label:hover {
    color: white;
    text-decoration: none;
}

.tag-label:active {
    color: white;
    text-decoration: none;
}

.tag-label:visited {
    color: white;
    text-decoration: none;
}

#finding_pic, .modal_finding_pic:hover {
    cursor: url(../img/zoom-in.cur), zoom-in;
}

.product-detailed-info ol.product-detailed-info-numbers li {
    display: table-cell;
    width: 1%;
    padding: 5px 5px;
    text-align: center;
    white-space: nowrap;
    border-bottom: 0;
    border-bottom-width: 0px;
    border-bottom-style: initial;
    border-bottom-color: initial;
}
.product-detailed-info ol.product-detailed-info-numbers li .language-color {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
mark{
    background: orange;
    color: black;
}

.btn-overdue {
    border-radius: 0px;
    border-color: #ddd;
    color: #ffffff;
    background: #ef251e;
    padding: 2px 2px 2px 2px;
    font-size: 90%;
}

.bg-vuln-critical {
  background-color:#D43F3A
}
.bg-vuln-high {
  background-color:#D57A1D
}
.bg-vuln-medium {
  background-color:#E4AB18
}
.bg-vuln-low {
  background-color:#4CAE4C
}
.bg-vuln-info {
  background-color:#357ABD
}
.bg-muted {
  background-color:#777
}
.vuln-count {
  color:#fff;
  font-size:18px;
  font-weight: 700;
}
small {
  font-size:12px;
  font-weight:400;
}

.fa-minus-square, .fa-trash {
    color: red;
}

.fa-plus-square, .fa-exchange, .fa-share-square {
    color: green;
}

.fa-asterisk {
    color: blue;
}

#jira i:hover {
    cursor: pointer;
}

.no-bottom-margin {
    margin-bottom: 0px;
}

.lightgrey {
    color:lightgrey;
}

.red {
    color:red;
}

.no-italics {
    font-style: normal;
}

.select2-container {
    min-width:200px;
}

#toggleBox {
    background-color: transparent!important;
    border: none!important;
    font-weight: bold!important;
    position: absolute!important;
    left: auto!important;
    right: 10px!important;
}

.EasyMDEContainer .table {
    width: unset!important;
}

/* remove spinners (up & down arrow) for integer / number fields
/* For Firefox */

input[type='number'] {
    -moz-appearance:textfield;
}

/* Webkit browsers like Safari and Chrome */

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.table th, .table td {
    border-right: 1px solid #ddd;
}
.table th:last-child, .table td:last-child {
    border-right: none; 
}

/* Keep the color of the legend in forced color mode */
.legend td {
    forced-color-adjust: none;
}
    
.legend .legendLabel {
    padding-left: 4px;   
    forced-color-adjust: auto;
}
    
.fa-caret-down,
.caret {
        forced-color-adjust: none;
}    
    
/* Keep arrows icons in forced color mode  */
@media (forced-colors: active) {
    .fa-caret-down,
    .caret {
        color: ButtonText;
    }
 }

/* -------------------------------------------------------------------------
   Army Cyber Group visual shell
   A distinct look and feel from the stock DefectDojo admin theme.
   ------------------------------------------------------------------------- */

body.acg-shell {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    color: #0f172a;
    background:
        radial-gradient(circle at top right, rgba(229, 2, 2, 0.06), transparent 28%),
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.10), transparent 22%),
        linear-gradient(180deg, #f7fafc 0%, #eef3f9 100%);
}

/* Force Inter on every Bootstrap element that overrides font-family */
body.acg-shell,
body.acg-shell h1, body.acg-shell h2, body.acg-shell h3,
body.acg-shell h4, body.acg-shell h5, body.acg-shell h6,
body.acg-shell p, body.acg-shell span:not([class*="fa-"]), body.acg-shell a,
body.acg-shell label, body.acg-shell td, body.acg-shell th,
body.acg-shell input, body.acg-shell textarea, body.acg-shell select,
body.acg-shell button, body.acg-shell .btn,
body.acg-shell .form-control,
body.acg-shell .navbar, body.acg-shell .nav,
body.acg-shell .modal, body.acg-shell .popover,
body.acg-shell .tooltip, body.acg-shell .alert,
body.acg-shell .badge, body.acg-shell .label,
body.acg-shell .table, body.acg-shell .panel,
body.acg-shell .dropdown-menu {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body.acg-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.02) 100%);
    z-index: -1;
}

body.acg-shell #wrapper {
    min-height: 100vh;
}

body.acg-shell .navbar-fixed-top {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #172554 100%);
    border: 0;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
}

body.acg-shell .navbar-fixed-top .navbar-header {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 6px;
}

body.acg-shell .navbar-brand-logo-wrap span,
body.acg-shell .navbar-top-links > li > a,
body.acg-shell .navbar-top-links .dropdown-toggle,
body.acg-shell .navbar-top-links .dropdown-toggle:hover,
body.acg-shell .navbar-top-links .dropdown-toggle:focus {
    color: #f8fafc !important;
}

body.acg-shell .navbar-brand-logo-wrap img {
    width: 72px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

body.acg-shell .navbar-brand-logo-wrap span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 16px;
}

body.acg-shell .navbar-top-links > li > a {
    border-radius: 8px;
    margin: 0 2px;
    transition: background 0.15s ease, color 0.15s ease;
}

body.acg-shell .navbar-top-links > li > a:hover,
body.acg-shell .navbar-top-links > li > a:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
}

/* Search bar with icon inside */
body.acg-shell .navbar-top-links .custom-search-form form {
    display: flex;
    align-items: center;
}

body.acg-shell .navbar-top-links .acg-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

body.acg-shell .navbar-top-links .acg-search-wrap .form-control {
    width: 260px !important;
    padding-right: 38px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    box-shadow: none;
}

body.acg-shell .navbar-top-links .acg-search-wrap .form-control::placeholder {
    color: rgba(248, 250, 252, 0.55);
}

body.acg-shell .navbar-top-links .acg-search-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.60);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: color 0.15s ease;
}

body.acg-shell .navbar-top-links .acg-search-btn:hover {
    color: #e50202;
}

/* ── Navbar: full-height flex container ──────────────────── */

body.acg-shell nav.navbar.navbar-fixed-top {
    display: flex !important;
    flex-direction: row;
    align-items: stretch;
    min-height: 76px;
    padding: 0;
}

body.acg-shell .navbar-fixed-top .navbar-header {
    display: flex;
    align-items: center;
    min-width: 230px;
    padding: 0 16px;
    flex-shrink: 0;
    float: none !important;
}

/* ── Right-side icon list ────────────────────────────────── */

body.acg-shell .navbar-top-links {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    margin: 0 0 0 auto !important;
    padding: 0 12px;
    gap: 2px;
    float: none !important;
    height: auto;
}

body.acg-shell .navbar-top-links > li {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    height: 76px;          /* same as navbar height */
}

/* Search form li: natural width */
body.acg-shell .navbar-top-links > li:has(.custom-search-form) {
    padding-right: 8px;
}

/* Icon-only li cells — fixed 48 px wide, centered */
body.acg-shell .navbar-top-links > li.dropdown {
    width: 48px;
    min-width: 48px;
}

/* Icon button inside each cell */
body.acg-shell .navbar-top-links > li.dropdown > a.dropdown-toggle {
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 !important;
    position: relative;
}

/* Hide inline caret-down */
body.acg-shell .navbar-top-links > li.dropdown > a > .fa-caret-down {
    display: none;
}

body.acg-shell .navbar-top-links > li.dropdown > a > .fa-bell,
body.acg-shell .navbar-top-links > li.dropdown > a > .fa-user {
    font-size: 16px;
}

/* Badge pinned to top-right of icon button */
body.acg-shell .navbar-top-links > li.dropdown > a > .badge-count {
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: 9px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    line-height: 15px;
    border-radius: 999px;
    text-align: center;
}

/* Theme-toggle li: auto width (pill is wider than 48 px) */
body.acg-shell #theme-toggle-li {
    width: auto;
    padding: 0 4px;
}

body.acg-shell #theme-toggle-btn {
    height: 40px;
    display: flex !important;
    align-items: center;
    padding: 0 4px !important;
}

/* ─────────────────────────────────────────────────────────── */

body.acg-shell .navbar-top-links .dropdown-menu {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

body.acg-shell .navbar-default.sidebar {
    background: linear-gradient(180deg, #111827 0%, #172033 100%);
    border: 0;
    box-shadow: 12px 0 30px rgba(15, 23, 42, 0.12);
}

@media (min-width: 768px) {
    body.acg-shell .sidebar {
        width: 230px;
    }

    body.acg-shell #page-wrapper {
        margin-left: 230px;
    }

    body.acg-shell #footer-wrapper {
        margin-left: 230px;
    }

    body.acg-shell .navbar-default.sidebar.navbar-fixed-top {
        top: var(--acg-navbar-height, 105px) !important;
        height: calc(100vh - var(--acg-navbar-height, 105px));
        margin-top: 0;
        overflow-y: hidden;
        overflow-x: hidden;
    }

    body.acg-shell .navbar-default.sidebar.navbar-fixed-top .sidebar-nav.navbar-collapse {
        height: calc(100vh - var(--acg-navbar-height, 105px));
    }

    body.acg-shell {
        padding-top: var(--acg-navbar-height, 92px) !important;
    }
}

body.acg-shell .navbar-default.sidebar .sidebar-nav.navbar-collapse,
body.acg-shell .navbar-default.sidebar .nav {
    background: transparent;
}

/* ── Top-level nav items ── */
body.acg-shell .navbar-default.sidebar .nav > li {
    border-radius: 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
body.acg-shell .navbar-default.sidebar .nav > li:last-child {
    border-bottom: none;
}

/* Each top-level link has an invisible ::after hit-area extending 20px past
   its own right edge (see #side-menu > li > a::after). The browser's native
   focus ring includes that overflowing pseudo-element in its paint bounds,
   which Chromium then renders as a second, detached rectangle floating just
   outside the sidebar. Swap the native outline for a contained inset one so
   focus stays visible without that stray box. */
body.acg-shell .navbar-default.sidebar .nav > li > a:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(229, 2, 2, 0.55);
}

body.acg-shell .navbar-default.sidebar .nav > li > a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    border-left: none !important;
    background: transparent !important;
    padding: 9px 20px;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

body.acg-shell .navbar-default.sidebar .nav > li > a .fa-fw {
    width: 20px;
    font-size: 16px;
    flex-shrink: 0;
}

body.acg-shell .navbar-default.sidebar .nav > li > a span.arrow,
body.acg-shell .navbar-default.sidebar .nav > li > a .glyphicon.arrow,
body.acg-shell .navbar-default.sidebar .nav > li > a i.arrow {
    margin-left: auto !important;
    font-size: 10px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
body.acg-shell .navbar-default.sidebar .nav > li.mm-active > a i.arrow,
body.acg-shell .navbar-default.sidebar .nav > li.open > a i.arrow {
    transform: rotate(180deg);
}

body.acg-shell .navbar-default.sidebar .nav > li > a:hover,
body.acg-shell .navbar-default.sidebar .nav > li > a:focus {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.06) !important;
    border-left: none !important;
}

body.acg-shell .navbar-default.sidebar .nav > li.active > a,
body.acg-shell .navbar-default.sidebar .nav > li > a.active {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #f1f5f9;
    border-left: none !important;
}

/* ── Submenu container ── */
body.acg-shell .navbar-default.sidebar .nav-second-level,
body.acg-shell #side-menu > li ul {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 2px 8px 4px !important;
    box-shadow: none;
}

body.acg-shell .navbar-default.sidebar .nav-second-level > li {
    background: transparent;
    border-radius: 0;
}

/* ── Submenu items ── */
body.acg-shell .navbar-default.sidebar .nav-second-level > li > a,
body.acg-shell #side-menu ul a {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    border-left: none !important;
    background: transparent !important;
    color: #94a3b8 !important;
    font-size: 12px;
    font-weight: 400;
    transition: background 0.15s, color 0.15s;
}

body.acg-shell .navbar-default.sidebar .nav-second-level > li > a .fa-fw,
body.acg-shell #side-menu ul a .fa-fw {
    width: 14px;
    font-size: 11px;
    flex-shrink: 0;
    opacity: 0.75;
}

body.acg-shell .navbar-default.sidebar .nav-second-level > li > a:hover,
body.acg-shell .navbar-default.sidebar .nav-second-level > li > a:focus,
body.acg-shell #side-menu ul a:hover,
body.acg-shell #side-menu ul a:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #e2e8f0 !important;
    border-left: none !important;
}

body.acg-shell .navbar-default.sidebar .nav-second-level > li.active > a,
body.acg-shell .navbar-default.sidebar .nav-second-level > li > a.active {
    background: rgba(37, 99, 235, 0.18) !important;
    color: #93c5fd !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border-left: none !important;
}

body.acg-shell #side-menu li {
    border-radius: 0;
}

body.acg-shell #side-menu li a {
    color: #cbd5e1;
}

body.acg-shell #page-wrapper {
    background: transparent;
}

/* Collapsed ("icon rail") sidebar mode: the widened sidebar/content rules
   above always target #page-wrapper margin-left, which ties with the base
   theme's "body.min #page-wrapper" rule on specificity — being later in the
   file it was winning even when collapsed, leaving the content margin stuck
   at the expanded width instead of shrinking to match the 50px icon rail. */
@media (min-width: 768px) {
    body.acg-shell.min #page-wrapper,
    body.acg-shell.min #footer-wrapper {
        margin-left: 50px !important;
    }
}

/* Nav-link padding sized for the expanded sidebar doesn't fit the 50px
   collapsed rail — constrain it so icons stay centered instead of
   overflowing/getting clipped. */
body.acg-shell.min .navbar-default.sidebar .nav > li > a {
    padding: 14px 0 !important;
    justify-content: center !important;
    gap: 0 !important;
}

/* If a submenu (e.g. Profiles) was left expanded before collapsing to the
   icon rail, it stays visible and its un-<span>-wrapped label text (unlike
   top-level items, submenu links don't wrap their text in <span>, so the
   base "li a span { display:none }" rule can't hide it) overflows the 50px
   rail. There's no flyout-on-hover wired up for collapsed mode, so just
   keep every submenu closed while collapsed. */
body.acg-shell.min .navbar-default.sidebar .nav-second-level {
    display: none !important;
}

body.acg-shell #page-wrapper > .container-fluid,
body.acg-shell #page-wrapper > .container {
    padding-top: 24px;
    padding-bottom: 28px;
    max-width: 1760px;
    margin-left: auto;
    margin-right: auto;
}

body.acg-shell .breadcrumb.main {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

body.acg-shell .breadcrumb.main > li {
    display: flex;
    align-items: center;
}

body.acg-shell .breadcrumb.main > li + li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f105";
    padding: 0 10px;
    color: rgba(148, 163, 184, 0.7);
    font-size: 11px;
}

body.acg-shell .breadcrumb.main a {
    color: #64748b;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease;
}

body.acg-shell .breadcrumb.main a:hover {
    color: #2563eb;
    text-decoration: none;
}

body.acg-shell .breadcrumb.main a.active {
    color: #e50202 !important;
    font-weight: 700;
    cursor: default;
}

body.acg-shell .breadcrumb.main a.active:hover {
    color: #e50202 !important;
}

body.acg-shell .breadcrumb.main a .fa-house {
    color: #94a3b8;
    font-size: 12px;
}

body.acg-shell .panel,
body.acg-shell .well,
body.acg-shell .modal-content {
    border: 1px solid rgba(100, 116, 139, 0.35);
    border-radius: 16px !important;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

/* Row action dropdowns (e.g. the Application List "..." menu) live inside a
   .panel.table-responsive, so the rounded-corner overflow:hidden above clips
   the open menu to the row's height. Lift the clip only while a menu inside
   is actually open. This app's bootstrap.min.js is Bootstrap 3.4.1, which
   toggles class "open" on the .dropdown wrapper (not .show on .dropdown-menu
   as in Bootstrap 4/5) — match that instead of relying on the
   show.bs.dropdown JS timing. */
body.acg-shell .panel:has(.dropdown.open),
body.acg-shell .table-responsive:has(.dropdown.open) {
    overflow: visible;
}

/* Row "options" menu (⋮) used across many list pages (Users, Groups,
   Product Types, Engagements, ...). The <li class="dropdown"> is no longer
   position:absolute (that inline style was removed — the outer <ul>'s
   default browser padding was the real cause of the old overlap bug), so
   it renders as a normal static-flow element now. */
body.acg-shell td > ul > li.dropdown {
    display: flex;
    align-items: center;
}

body.acg-shell .panel-default > .panel-heading,
body.acg-shell .panel-heading {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    color: #0f172a;
    font-weight: 700;
    border-color: rgba(148, 163, 184, 0.18);
    padding: 14px 18px;
    position: relative;
    z-index: 5;
    overflow: visible;
}

body.acg-shell .panel-default > .panel-heading a,
body.acg-shell .panel-heading a,
body.acg-shell .panel-default > .panel-heading small {
    color: #0f172a;
}

body.acg-shell .panel-body {
    background: #ffffff;
    padding: 18px 20px;
}

body.acg-shell .panel-heading .dropdown,
body.acg-shell .panel-heading .dropdown-toggle,
body.acg-shell .panel-heading #show-filters,
body.acg-shell .panel-heading .dropdown-menu {
    position: relative;
    z-index: 6;
}

body.acg-shell .panel-heading .dropdown-menu {
    z-index: 1060;
}

/* Every button in the app should be a solid filled pill, not the old
   white/outline look — a legacy rule at the top of this file forces
   border-radius:0 !important on .btn, so the radius here needs !important
   too or it silently loses regardless of the color changes below. */
body.acg-shell .btn {
    border-radius: 999px !important;
    border-style: solid;
    border-width: 1px;
}

body.acg-shell .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

body.acg-shell .btn-default,
body.acg-shell .btn-secondary {
    border-color: #475569;
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: #ffffff !important;
}

/* The base (pre-ACG) theme's .btn-secondary:hover sets a dark slate
   background with !important — match that intent instead of fighting it,
   just a shade darker so hover still reads as filled + interactive. */
body.acg-shell .btn-default:hover,
body.acg-shell .btn-secondary:hover {
    background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
    color: #ffffff !important;
    border-color: #334155 !important;
}

body.acg-shell .btn-primary:hover,
body.acg-shell .btn-primary:focus {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    border-color: #1e40af;
    color: #ffffff;
}

/* Dropdown-trigger buttons (Reports, Quick Actions, Columns, Filters...)
   should stay a plain outlined control regardless of btn-primary/default/
   secondary — solid fill is reserved for real action buttons, not menus. */
body.acg-shell .btn.dropdown-toggle {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    box-shadow: none !important;
}

body.acg-shell .btn.dropdown-toggle:hover,
body.acg-shell .btn.dropdown-toggle:focus {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

body.acg-shell.dark-theme .btn.dropdown-toggle {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
}

body.acg-shell.dark-theme .btn.dropdown-toggle:hover,
body.acg-shell.dark-theme .btn.dropdown-toggle:focus {
    background: #263347 !important;
    border-color: #475569 !important;
    color: #f8fafc !important;
}

/* "Page Size" control on list pages: keep it a plain white bordered pill
   rather than the solid-filled secondary button style above. */
body.acg-shell #pageSizeDropdown {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
}

body.acg-shell #pageSizeDropdown:hover,
body.acg-shell #pageSizeDropdown:focus {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}

body.acg-shell.dark-theme #pageSizeDropdown {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    color: #e2e8f0 !important;
}

body.acg-shell.dark-theme #pageSizeDropdown:hover,
body.acg-shell.dark-theme #pageSizeDropdown:focus {
    background: #263347 !important;
    border-color: #475569 !important;
    color: #f8fafc !important;
}

body.acg-shell .dojo-filter-apply-btn {
    min-width: 132px;
}

body.acg-shell .dojo-filter-clear-btn {
    min-width: 132px;
    border-color: #1d4ed8;
    color: #1d4ed8;
    background: #ffffff;
}

body.acg-shell .dojo-filter-clear-btn:hover,
body.acg-shell .dojo-filter-clear-btn:focus {
    color: #ffffff;
    background: #1d4ed8;
    border-color: #1e40af;
}

body.acg-shell table.table,
body.acg-shell .dataTable,
body.acg-shell .table {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
}

/* Same clipping problem as the .panel/.table-responsive fix above, but on
   the <table> element itself: DataTables/Bootstrap tables get this same
   rounded-corner overflow:hidden directly, which clips row action dropdowns
   (class "open" on Bootstrap 3's .dropdown) even after the outer panel's
   overflow is freed. */
body.acg-shell .dataTable:has(.dropdown.open),
body.acg-shell .table:has(.dropdown.open) {
    overflow: visible;
}

body.acg-shell .acg-row-actions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

body.acg-shell .table > thead > tr > th,
body.acg-shell .table > thead > tr > td {
    background: #eef2f7;
    color: #0f172a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    font-weight: 700;
}

body.acg-shell .table > tbody > tr:hover > td {
    background: #f8fbff;
}

body.acg-shell .table > tbody > tr:hover > td.bg-vuln-critical {
    background-color: #D43F3A !important;
}

body.acg-shell .table > tbody > tr:hover > td.bg-vuln-high {
    background-color: #D57A1D !important;
}

body.acg-shell .table > tbody > tr:hover > td.bg-vuln-medium {
    background-color: #E4AB18 !important;
}

body.acg-shell .table > tbody > tr:hover > td.bg-vuln-low {
    background-color: #4CAE4C !important;
}

body.acg-shell .table > tbody > tr:hover > td.bg-vuln-info {
    background-color: #357ABD !important;
}

body.acg-shell .table > tbody > tr:hover > td.bg-muted {
    background-color: #777 !important;
}

body.acg-shell .vuln-count,
body.acg-shell .vuln-count a,
body.acg-shell .vuln-count a:hover,
body.acg-shell .vuln-count a:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

body.acg-shell .dataTables_wrapper .dataTables_filter input,
body.acg-shell .dataTables_wrapper .dataTables_length select,
body.acg-shell input.form-control,
body.acg-shell select.form-control,
body.acg-shell textarea.form-control {
    border-radius: 12px;
    border-color: #cbd5e1;
    box-shadow: none;
}

/* Native <select> dropdown arrow sits flush against the far edge by
   default; swap in a custom chevron with more inset from the edge. */
body.acg-shell select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 8px;
    padding-right: 42px;
}

body.acg-shell.dark-theme select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Table toolbar (Column visibility / Copy / Excel / CSV / PDF / Print). These
   render as plain "btn btn-default" from the DataTables Buttons extension;
   the app's own .btn-default rule has no !important so it loses to the base
   "kill every border-radius" rule at the top of this file, leaving them
   flat/square while every other button in the app is styled. */
body.acg-shell .dt-buttons .btn,
body.acg-shell .dt-buttons button {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.18) !important;
    color: #374151 !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.07) !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    padding: 8px 14px !important;
    transition: background 0.15s, box-shadow 0.15s;
}

body.acg-shell .dt-buttons .btn:hover,
body.acg-shell .dt-buttons button:hover {
    background: #f8fafc !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12) !important;
}

body.acg-shell .dt-buttons {
    display: none !important;
}

body.acg-shell .dt-button-collection {
    border-radius: 12px !important;
    border: 1px solid rgba(148, 163, 184, 0.25) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18) !important;
    padding: 6px !important;
}

/* Icons for the toolbar buttons — DataTables Buttons only renders text. */
body.acg-shell .dt-buttons .buttons-colvis::before,
body.acg-shell .dt-buttons .buttons-copy::before,
body.acg-shell .dt-buttons .buttons-excel::before,
body.acg-shell .dt-buttons .buttons-csv::before,
body.acg-shell .dt-buttons .buttons-pdf::before,
body.acg-shell .dt-buttons .buttons-print::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}
body.acg-shell .dt-buttons .buttons-colvis::before { content: "\f0db"; }
body.acg-shell .dt-buttons .buttons-copy::before { content: "\f0c5"; }
body.acg-shell .dt-buttons .buttons-excel::before { content: "\f1c3"; }
body.acg-shell .dt-buttons .buttons-csv::before { content: "\f6dd"; }
body.acg-shell .dt-buttons .buttons-pdf::before { content: "\f1c1"; }
body.acg-shell .dt-buttons .buttons-print::before { content: "\f02f"; }

/* Buttons + search on the same row; the table itself still wraps to its
   own line below since it's forced to full width. */
body.acg-shell .dt-container {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

body.acg-shell .dt-container > table {
    flex: 1 1 100%;
}

body.acg-shell .dt-container > .dt-search {
    margin-left: 0 !important;
}

/* Per-table DataTables "Search:" box — hidden; the styled search box above
   each list (e.g. "Search applications") already covers this. */
body.acg-shell .dt-search {
    display: none !important;
}

body.acg-shell .form-control {
    width: 100% !important;
    min-height: 44px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
}

body.acg-shell .form-group {
    margin-bottom: 16px;
}

body.acg-shell .acg-login-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 24px 48px;
}

body.acg-shell .acg-login-columns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
}

body.acg-shell .acg-login-left {
    flex: 1 1 480px;
    max-width: 560px;
    order: 2;
}

body.acg-shell .acg-login-right {
    flex: 1 1 480px;
    max-width: 560px;
    min-height: 480px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    order: 1;
}

body.acg-shell .acg-login-right-inner {
    text-align: center;
    color: #ffffff;
}

body.acg-shell .acg-login-right-inner h2 {
    color: #ffffff;
    font-weight: 700;
    font-size: 26px;
    margin: 0 0 14px;
}

body.acg-shell .acg-login-right-inner p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.5;
    max-width: 360px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    body.acg-shell .acg-login-right {
        display: none;
    }
}

body.acg-shell .acg-login-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 22px;
}

body.acg-shell .acg-login-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 28px 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
}

body.acg-shell .acg-login-form {
    margin: 0;
}

body.acg-shell .acg-login-fieldset {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    float: none;
}

body.acg-shell .acg-login-card .form-group {
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

body.acg-shell .acg-login-card .form-horizontal .form-group {
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
}

body.acg-shell .acg-login-card .form-horizontal .form-group .control-label {
    margin-top: 10px;
}

body.acg-shell .acg-login-card .form-horizontal .form-group .form-control {
    background: #ffffff;
}

body.acg-shell .acg-login-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
    text-align: center;
}

body.acg-shell .acg-login-actions ul {
    margin: 0;
    padding: 0;
}

body.acg-shell .acg-login-actions > div {
    float: none;
    width: auto;
    margin: 0 !important;
    padding: 0;
}

body.acg-shell .acg-login-actions .btn {
    min-width: 160px;
}

body.acg-shell .acg-login-actions ul {
    text-align: center;
}

/* ── Global form restyling ──────────────────────────────────── */

/* Label: small-caps, left-aligned */
body.acg-shell .control-label {
    color: #1e293b;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 11px;
    margin-bottom: 4px;
    text-align: left !important;
    float: none !important;
    width: 100% !important;
    padding-top: 0 !important;
}

/* Remove Bootstrap card box; make each form-group a clean block */
body.acg-shell .form-horizontal .form-group {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-bottom: 14px;
}

/* Override Bootstrap float-based col-sm-* inside every form-group */
body.acg-shell .form-horizontal .form-group > [class*="col-"] {
    float: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Checkbox offset column */
body.acg-shell .form-horizontal .col-sm-offset-2,
body.acg-shell .form-horizontal .col-sm-offset-1 {
    margin-left: 0 !important;
}

body.acg-shell .form-horizontal .form-group .form-control,
body.acg-shell .form-horizontal .form-group .bootstrap-select,
body.acg-shell .form-horizontal .form-group .select2-container,
body.acg-shell .form-horizontal .form-group .chosen-container {
    width: 100% !important;
}

body.acg-shell .form-horizontal .form-group .help-block,
body.acg-shell .form-horizontal .form-group .field-help-text {
    color: #64748b;
    font-size: 11px;
    margin-top: 3px;
}

/* ── 3-column grid wrapper (use <div class="acg-form-grid"> in templates) ── */
body.acg-shell .acg-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 40px;
    align-items: start;
}

body.acg-shell .acg-form-grid > .form-group {
    min-width: 0;
    /* Bootstrap's .form-horizontal .form-group carries a built-in
       margin: 0 -15px (it's designed to behave like a .row). That negative
       margin bled each grid item 15px past its own cell on both sides,
       silently eating the gap and causing adjacent fields to overlap. */
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.acg-shell .acg-form-grid > .form-group {
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column;
    gap: 4px;
}

body.acg-shell .acg-form-grid > .form-group:has(textarea),
body.acg-shell .acg-form-grid > .form-group:has(.CodeMirror),
body.acg-shell .acg-form-grid > .form-group:has(.editor-toolbar),
body.acg-shell .acg-form-grid > .form-group:has(.chosen-container) {
    grid-column: 1 / -1;
}

body.acg-shell .acg-form-grid > .form-group:has(.checkbox) {
    margin-top: 28px;
}

/* Markdown editor height */
body.acg-shell .CodeMirror {
    height: 120px !important;
    min-height: 120px !important;
}
body.acg-shell .CodeMirror-scroll {
    min-height: 120px !important;
}
body.acg-shell .editor-toolbar,
body.acg-shell .editor-statusbar,
body.acg-shell .CodeMirror {
    width: 100% !important;
}

body.acg-shell .badge.badge-count {
    background: #e50202;
    color: #ffffff;
    border-radius: 999px;
    padding: 4px 7px;
}

body.acg-shell .severity-Info {
    background-color: #94a3b8;
}

body.acg-shell .severity-Low {
    background-color: #2563eb;
}

body.acg-shell .severity-Medium {
    background-color: #f59e0b;
}

body.acg-shell .severity-High {
    background-color: #ef4444;
}

body.acg-shell .severity-Critical {
    background-color: #991b1b;
}

/* ── Observations table: soft dot-pill badges (Severity + Status) ───── */
body.acg-shell .label.severity,
body.acg-shell .status-pill {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: none;
    white-space: nowrap;
}

body.acg-shell .status-pill a {
    color: inherit;
    text-decoration: underline;
}

body.acg-shell .severity-Info {
    background: rgba(148, 163, 184, 0.16);
    color: #475569;
}

body.acg-shell .severity-Low {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

body.acg-shell .severity-Medium {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

body.acg-shell .severity-High {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

body.acg-shell .severity-Critical {
    background: rgba(153, 27, 27, 0.16);
    color: #991b1b;
}

body.acg-shell .status-active {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
}

body.acg-shell .status-resolved {
    background: rgba(22, 163, 74, 0.14);
    color: #15803d;
}

body.acg-shell .status-risk-accepted {
    background: rgba(37, 99, 235, 0.12);
    color: #1d4ed8;
}

body.acg-shell .status-duplicate,
body.acg-shell .status-not-applicable,
body.acg-shell .status-inactive {
    background: rgba(148, 163, 184, 0.16);
    color: #64748b;
}

body.acg-shell.dark-theme .severity-Info {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

body.acg-shell.dark-theme .severity-Low {
    background: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
}

body.acg-shell.dark-theme .severity-Medium {
    background: rgba(251, 191, 36, 0.18);
    color: #fcd34d;
}

body.acg-shell.dark-theme .severity-High {
    background: rgba(248, 113, 113, 0.18);
    color: #fca5a5;
}

body.acg-shell.dark-theme .severity-Critical {
    background: rgba(220, 38, 38, 0.24);
    color: #fca5a5;
}

body.acg-shell.dark-theme .status-active {
    background: rgba(251, 191, 36, 0.18);
    color: #fcd34d;
}

body.acg-shell.dark-theme .status-resolved {
    background: rgba(74, 222, 128, 0.18);
    color: #86efac;
}

body.acg-shell.dark-theme .status-risk-accepted {
    background: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
}

body.acg-shell.dark-theme .status-duplicate,
body.acg-shell.dark-theme .status-not-applicable,
body.acg-shell.dark-theme .status-inactive {
    background: rgba(148, 163, 184, 0.14);
    color: #94a3b8;
}

/* ── App-wide list tables: cleaner header + flat rows (no zebra), hover highlight only ── */
body.acg-shell table.table > thead > tr > th {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 11px;
    color: #1e293b;
    font-weight: 700;
    border-bottom: 2px solid #64748b !important;
    border-top: none !important;
    background: #ffffff;
    text-align: center;
}

body.acg-shell table.table > thead > tr > th a {
    color: inherit;
}

body.acg-shell table.table > thead > tr > th a:hover {
    color: #b91c1c;
}

body.acg-shell table.table-striped > tbody > tr:nth-of-type(odd) {
    background: transparent;
}

body.acg-shell table.table > tbody > tr:hover {
    background: rgba(37, 99, 235, 0.045) !important;
}

body.acg-shell.dark-theme table.table > thead > tr > th {
    color: #f1f5f9;
    background: #1e293b;
    border-bottom-color: #94a3b8 !important;
}

body.acg-shell.dark-theme table.table > tbody > tr:hover {
    background: rgba(96, 165, 250, 0.06) !important;
}

/* ── Pagination: rounded pill buttons, brand-red active state ── */
body.acg-shell .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin-left: 4px;
    color: #475569 !important;
    background: transparent;
    border-color: transparent;
}

body.acg-shell .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #eef2f7 !important;
    border-color: rgba(148, 163, 184, 0.30) !important;
    color: #0f172a !important;
}

body.acg-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.acg-shell .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #e50202 !important;
    border-color: #e50202 !important;
    color: #ffffff !important;
}

body.acg-shell.dark-theme .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
}

body.acg-shell .panel-blue .panel-heading,
body.acg-shell .panel-blue {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
}

body.acg-shell .panel-blue a {
    color: #1d4ed8;
}

body.acg-shell .nav-tabs {
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    display: flex;
    flex-wrap: wrap;
}

/* Older "tabs-left" widgets (e.g. Indicator Counts on the metrics page)
   float the tab list to the left and let .tab-content flow beside it in
   the remaining space. The flex row above makes the tab list wider than
   that layout expects, squeezing/overflowing the content to the right.
   Convert these to plain top-tabs-then-content-below instead. */
body.acg-shell .tabbable.tabs-left > .nav-tabs {
    float: none;
    margin-right: 0;
    border-right: none;
}

body.acg-shell .tabbable.tabs-left > .tab-content {
    float: none;
    clear: both;
    width: 100%;
    overflow: visible;
    padding-top: 16px;
}

body.acg-shell .nav-tabs > li {
    margin-right: 6px;
}

body.acg-shell .nav-tabs > li > a {
    border-radius: 12px 12px 0 0;
    color: #334155;
    background: rgba(148, 163, 184, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-bottom: none;
    padding: 10px 18px;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.acg-shell .nav-tabs > li > a .fa-solid {
    color: #64748b;
    margin-right: 6px;
    font-size: 13px;
}

body.acg-shell .nav-tabs > li.active > a .fa-solid {
    color: #e50202;
}

body.acg-shell .nav-tabs > li.active > a {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.32);
    border-bottom-color: #ffffff;
    color: #0f172a;
    box-shadow: 0 -3px 0 #e50202 inset, 0 -4px 12px rgba(15, 23, 42, 0.06);
}

body.acg-shell .nav-tabs > li.active > a:hover,
body.acg-shell .nav-tabs > li.active > a:focus {
    color: #0f172a;
    background: #ffffff;
}

body.acg-shell .nav-tabs > li > a:hover,
body.acg-shell .nav-tabs > li > a:focus {
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(148, 163, 184, 0.30);
}

body.acg-shell .nav-tabs .badge {
    background: #0f172a !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 11px;
    border-radius: 999px;
    padding: 2px 7px;
    margin-left: 5px;
}

body.acg-shell .nav-tabs > li.active .badge,
body.acg-shell .nav-tabs > li.active.active-color .badge {
    background: #e50202 !important;
    color: #ffffff !important;
}

body.acg-shell .dropdown-menu > .active > a,
body.acg-shell .dropdown-menu > .active > a:focus,
body.acg-shell .dropdown-menu > .active > a:hover {
    color: #0f172a;
    background: #e2e8f0;
}

body.acg-shell .dropdown-menu {
    color: #0f172a;
}

body.acg-shell .bootstrap-select .dropdown-menu li.selected a,
body.acg-shell .bootstrap-select .dropdown-menu li.selected a:focus,
body.acg-shell .bootstrap-select .dropdown-menu li.selected a:hover {
    color: #0f172a;
    background: #e2e8f0;
}

body.acg-shell .bootstrap-select .dropdown-menu li.selected span.text {
    color: #0f172a;
}

body.acg-shell .bootstrap-select .dropdown-menu li a:hover,
body.acg-shell .bootstrap-select .dropdown-menu li a:focus {
    color: #0f172a;
    background: #f8fafc;
}

.sast-job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sast-job-cancel-btn {
    white-space: nowrap;
}

/* ============================================================
   ACG THEME TOGGLE — PILL BUTTON
   ============================================================ */

#theme-toggle-btn {
    display: flex !important;
    align-items: center;
    padding: 0 6px !important;
}

.theme-toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 5px 13px;
    transition: background 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

/* Pill background adapts to navbar colour */
body.acg-shell:not(.dark-theme) .theme-toggle-pill {
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.16);
}

body.acg-shell.dark-theme .theme-toggle-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.theme-icon-sun,
.theme-icon-moon {
    font-size: 13px;
    transition: color 0.2s ease, opacity 0.2s ease;
}

/* Light mode  — sun active, moon muted */
body.acg-shell:not(.dark-theme) .theme-icon-sun  { color: #f59e0b; opacity: 1; }
body.acg-shell:not(.dark-theme) .theme-icon-moon { color: #94a3b8; opacity: 0.5; }

/* Dark mode — moon active, sun muted */
body.acg-shell.dark-theme .theme-icon-sun  { color: #94a3b8; opacity: 0.5; }
body.acg-shell.dark-theme .theme-icon-moon { color: #e2e8f0; opacity: 1; }

/* ============================================================
   ACG LIGHT THEME — TOP NAVBAR
   ============================================================ */

body.acg-shell:not(.dark-theme) .navbar-fixed-top {
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 2px 16px rgba(15, 23, 42, 0.07);
}

body.acg-shell:not(.dark-theme) .navbar-fixed-top .navbar-header {
    border-right-color: rgba(15, 23, 42, 0.10);
}

body.acg-shell:not(.dark-theme) .navbar-brand-logo-wrap span {
    color: #0f172a !important;
}

body.acg-shell:not(.dark-theme) .navbar-brand-logo-wrap img {
    background: rgba(229, 2, 2, 0.06);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10);
}

body.acg-shell:not(.dark-theme) .navbar-top-links > li > a,
body.acg-shell:not(.dark-theme) .navbar-top-links .dropdown-toggle,
body.acg-shell:not(.dark-theme) .navbar-top-links .dropdown-toggle:hover,
body.acg-shell:not(.dark-theme) .navbar-top-links .dropdown-toggle:focus {
    color: #334155 !important;
}

body.acg-shell:not(.dark-theme) .navbar-top-links > li > a:hover,
body.acg-shell:not(.dark-theme) .navbar-top-links > li > a:focus {
    background: rgba(15, 23, 42, 0.04);
    color: #0f172a !important;
}

body.acg-shell:not(.dark-theme) .navbar-top-links .acg-search-wrap .form-control {
    background: #f1f5f9;
    border: 1px solid rgba(15, 23, 42, 0.18);
    color: #0f172a;
}

body.acg-shell:not(.dark-theme) .navbar-top-links .acg-search-wrap .form-control::placeholder {
    color: rgba(15, 23, 42, 0.38);
}

body.acg-shell:not(.dark-theme) .navbar-top-links .acg-search-btn {
    color: rgba(15, 23, 42, 0.40);
}

body.acg-shell:not(.dark-theme) .navbar-top-links .acg-search-btn:hover {
    color: #e50202;
}

/* Light theme icon button hover */
body.acg-shell:not(.dark-theme) .navbar-top-links > li.dropdown > a.dropdown-toggle:hover,
body.acg-shell:not(.dark-theme) .navbar-top-links > li.dropdown > a.dropdown-toggle:focus {
    background: rgba(15, 23, 42, 0.04);
}

body.acg-shell:not(.dark-theme) .navbar-top-links .dropdown-menu {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.10);
}

body.acg-shell:not(.dark-theme) .navbar-top-links .dropdown-menu > li > a {
    color: #334155;
}

body.acg-shell:not(.dark-theme) .navbar-top-links .dropdown-menu > li > a:hover,
body.acg-shell:not(.dark-theme) .navbar-top-links .dropdown-menu > li > a:focus {
    background: #f8fafc;
    color: #0f172a;
}

/* ============================================================
   ACG LIGHT THEME — SIDEBAR
   ============================================================ */

body.acg-shell:not(.dark-theme) .navbar-default.sidebar {
    background: #ffffff;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 2px 0 16px rgba(15, 23, 42, 0.04);
}

body.acg-shell:not(.dark-theme) .navbar-default.sidebar .sidebar-nav.navbar-collapse,
body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav {
    background: transparent;
}

/* Light — dividers between top-level items */
body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav > li {
    border-bottom-color: rgba(15, 23, 42, 0.07);
}

/* Light — top-level links */
body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav > li > a {
    color: #374151 !important;
    border-left: none !important;
    background: transparent !important;
}

body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav > li > a:hover,
body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav > li > a:focus {
    color: #111827 !important;
    background: rgba(15, 23, 42, 0.05) !important;
    border-left: none !important;
}

body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav > li.active > a,
body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav > li > a.active {
    background: rgba(15, 23, 42, 0.05) !important;
    color: #111827 !important;
    border-left: none !important;
}

/* Light — submenu container */
body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav-second-level,
body.acg-shell:not(.dark-theme) #side-menu > li ul {
    background: transparent !important;
    border: none !important;
}

/* Light — submenu links */
body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav-second-level > li > a,
body.acg-shell:not(.dark-theme) #side-menu ul a {
    color: #6b7280 !important;
    border-left: none !important;
    background: transparent !important;
}

body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav-second-level > li > a:hover,
body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav-second-level > li > a:focus,
body.acg-shell:not(.dark-theme) #side-menu ul a:hover,
body.acg-shell:not(.dark-theme) #side-menu ul a:focus {
    color: #111827 !important;
    background: rgba(15, 23, 42, 0.05) !important;
    border-left: none !important;
}

/* Light — active submenu pill */
body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav-second-level > li.active > a,
body.acg-shell:not(.dark-theme) .navbar-default.sidebar .nav-second-level > li > a.active {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border-left: none !important;
}

body.acg-shell:not(.dark-theme) #side-menu li a {
    color: #374151;
}

body.acg-shell:not(.dark-theme) #side-menu > li > a span.arrow,
body.acg-shell:not(.dark-theme) #side-menu > li > a i.arrow {
    color: rgba(55, 65, 81, 0.45);
}

body.acg-shell:not(.dark-theme) #side-menu > li.active > a span.arrow,
body.acg-shell:not(.dark-theme) #side-menu > li.mm-active > a span.arrow,
body.acg-shell:not(.dark-theme) #side-menu > li.active > a i.arrow,
body.acg-shell:not(.dark-theme) #side-menu > li.mm-active > a i.arrow {
    color: #374151;
}

/* ============================================================
   ACG DARK THEME
   ============================================================ */

body.acg-shell.dark-theme {
    color: #e2e8f0;
    background:
        radial-gradient(circle at top right, rgba(229, 2, 2, 0.06), transparent 28%),
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.08), transparent 22%),
        linear-gradient(180deg, #0f172a 0%, #1a2332 100%);
}

/* --- Panels & Cards --- */
body.acg-shell.dark-theme .panel,
body.acg-shell.dark-theme .well,
body.acg-shell.dark-theme .modal-content {
    border-color: rgba(148, 163, 184, 0.15);
    background: #1e293b;
}

body.acg-shell.dark-theme .panel-default > .panel-heading,
body.acg-shell.dark-theme .panel-heading {
    background: linear-gradient(135deg, #1e293b 0%, #162032 100%);
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.15);
}

body.acg-shell.dark-theme .panel-default > .panel-heading a,
body.acg-shell.dark-theme .panel-heading a,
body.acg-shell.dark-theme .panel-default > .panel-heading small {
    color: #cbd5e1;
}

body.acg-shell.dark-theme .panel-body {
    background: #1e293b;
    color: #e2e8f0;
}

/* --- Breadcrumb --- */
body.acg-shell.dark-theme .breadcrumb.main {
    background: rgba(22, 32, 50, 0.92);
    border-color: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
}

body.acg-shell.dark-theme .breadcrumb > li + li::before,
body.acg-shell.dark-theme .breadcrumb > .active {
    color: #94a3b8;
}

body.acg-shell.dark-theme .breadcrumb.main a {
    color: #93c5fd;
}

body.acg-shell.dark-theme .breadcrumb.main a:hover {
    color: #bfdbfe;
}

body.acg-shell.dark-theme .breadcrumb.main a.active {
    color: #f87171 !important;
    font-weight: 700;
}

body.acg-shell.dark-theme .breadcrumb.main a.active:hover {
    color: #f87171 !important;
}

body.acg-shell.dark-theme .breadcrumb.main a .fa-house {
    color: #64748b;
}

/* --- Tables --- */
body.acg-shell.dark-theme table.table,
body.acg-shell.dark-theme .dataTable,
body.acg-shell.dark-theme .table {
    background: #1e293b;
    color: #e2e8f0;
}

body.acg-shell.dark-theme .table > thead > tr > th,
body.acg-shell.dark-theme .table > thead > tr > td {
    background: #162032;
    color: #cbd5e1;
    border-bottom-color: rgba(148, 163, 184, 0.15);
}

body.acg-shell.dark-theme .table > tbody > tr > td,
body.acg-shell.dark-theme .table > tbody > tr > th {
    color: #e2e8f0;
    border-top-color: rgba(148, 163, 184, 0.10);
}

body.acg-shell.dark-theme .table > tbody > tr:hover > td {
    background: #263347;
}

body.acg-shell.dark-theme .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.03);
}

body.acg-shell.dark-theme .dataTables_wrapper .dataTables_info {
    color: #94a3b8;
}

body.acg-shell.dark-theme .dataTables_wrapper .dataTables_filter label,
body.acg-shell.dark-theme .dataTables_wrapper .dataTables_length label {
    color: #94a3b8;
}

body.acg-shell.dark-theme .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #94a3b8 !important;
    background: transparent;
    border-color: transparent;
}

body.acg-shell.dark-theme .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #263347 !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}

body.acg-shell.dark-theme .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.acg-shell.dark-theme .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #e50202 !important;
    border-color: #e50202 !important;
    color: #ffffff !important;
}

/* --- Form Controls --- */
body.acg-shell.dark-theme .dataTables_wrapper .dataTables_filter input,
body.acg-shell.dark-theme .dataTables_wrapper .dataTables_length select,
body.acg-shell.dark-theme input.form-control,
body.acg-shell.dark-theme select.form-control,
body.acg-shell.dark-theme textarea.form-control {
    background: #162032;
    border-color: #334155;
    color: #e2e8f0;
}

body.acg-shell.dark-theme .form-control {
    background: #162032;
    border-color: #334155;
    color: #e2e8f0;
}

body.acg-shell.dark-theme .form-control::placeholder {
    color: #64748b;
}

body.acg-shell.dark-theme .form-horizontal .form-group {
    background: transparent !important;
    border: 0 !important;
    color: #e2e8f0;
}

body.acg-shell.dark-theme .form-horizontal .form-group .form-control {
    background: #162032;
    color: #e2e8f0;
}

body.acg-shell.dark-theme .form-horizontal .form-group .help-block,
body.acg-shell.dark-theme .form-horizontal .form-group .field-help-text {
    color: #64748b;
}

body.acg-shell.dark-theme .control-label {
    color: #e2e8f0;
    font-weight: 800;
}

body.acg-shell.dark-theme .input-group-addon {
    background: #263347;
    border-color: #334155;
    color: #94a3b8;
}

/* --- Nav Tabs --- */
body.acg-shell.dark-theme .nav-tabs {
    border-bottom-color: rgba(148, 163, 184, 0.20);
}

body.acg-shell.dark-theme .nav-tabs > li > a {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.15);
}

body.acg-shell.dark-theme .nav-tabs > li.active > a,
body.acg-shell.dark-theme .nav-tabs > li.active > a:hover,
body.acg-shell.dark-theme .nav-tabs > li.active > a:focus {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.20);
    border-bottom-color: #1e293b;
    color: #e2e8f0;
    box-shadow: 0 -3px 0 #e50202 inset;
}

body.acg-shell.dark-theme .nav-tabs > li > a:hover,
body.acg-shell.dark-theme .nav-tabs > li > a:focus {
    color: #93c5fd;
    background: rgba(30, 41, 59, 0.72);
    border-color: rgba(148, 163, 184, 0.15);
}

body.acg-shell.dark-theme .nav-tabs > li > a .fa-solid {
    color: #64748b;
}

body.acg-shell.dark-theme .nav-tabs > li.active > a .fa-solid {
    color: #f87171;
}

body.acg-shell.dark-theme .nav-tabs .badge {
    background: #0f172a !important;
    color: #f1f5f9 !important;
}

body.acg-shell.dark-theme .nav-tabs > li.active .badge,
body.acg-shell.dark-theme .nav-tabs > li.active.active-color .badge {
    background: #e50202 !important;
    color: #ffffff !important;
}

body.acg-shell.dark-theme .nav-tabs-custom {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
}

/* --- Dropdowns --- */
body.acg-shell.dark-theme .dropdown-menu {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
}

body.acg-shell.dark-theme .dropdown-menu > li > a {
    color: #e2e8f0;
}

body.acg-shell.dark-theme .dropdown-menu > li > a:hover,
body.acg-shell.dark-theme .dropdown-menu > li > a:focus {
    background: #263347;
    color: #f8fafc;
}

body.acg-shell.dark-theme .dropdown-menu > .active > a,
body.acg-shell.dark-theme .dropdown-menu > .active > a:focus,
body.acg-shell.dark-theme .dropdown-menu > .active > a:hover {
    color: #f8fafc;
    background: #334155;
}

body.acg-shell.dark-theme .dropdown-menu .divider {
    background-color: rgba(148, 163, 184, 0.15);
}

body.acg-shell.dark-theme .bootstrap-select .dropdown-menu {
    background: #1e293b;
}

body.acg-shell.dark-theme .bootstrap-select .dropdown-menu li.selected a,
body.acg-shell.dark-theme .bootstrap-select .dropdown-menu li.selected a:focus,
body.acg-shell.dark-theme .bootstrap-select .dropdown-menu li.selected a:hover {
    color: #f8fafc;
    background: #334155;
}

body.acg-shell.dark-theme .bootstrap-select .dropdown-menu li.selected span.text {
    color: #f8fafc;
}

body.acg-shell.dark-theme .bootstrap-select .dropdown-menu li a:hover,
body.acg-shell.dark-theme .bootstrap-select .dropdown-menu li a:focus {
    color: #f8fafc;
    background: #263347;
}

/* --- Modals --- */
body.acg-shell.dark-theme .modal-header {
    background: #162032;
    border-color: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
}

body.acg-shell.dark-theme .modal-header .modal-title,
body.acg-shell.dark-theme .modal-header .close {
    color: #e2e8f0;
}

body.acg-shell.dark-theme .modal-body {
    background: #1e293b;
    color: #e2e8f0;
}

body.acg-shell.dark-theme .modal-footer {
    background: #162032;
    border-color: rgba(148, 163, 184, 0.15);
}

/* --- Buttons --- */
body.acg-shell.dark-theme .btn-default,
body.acg-shell.dark-theme .btn-secondary {
    background: #263347;
    border-color: #334155;
    color: #e2e8f0;
}

body.acg-shell.dark-theme .btn-default:hover,
body.acg-shell.dark-theme .btn-secondary:hover {
    background: #334155;
    color: #f8fafc;
}

body.acg-shell.dark-theme .dojo-filter-clear-btn {
    background: #263347;
    color: #93c5fd;
    border-color: #1d4ed8;
}

body.acg-shell.dark-theme .dojo-filter-clear-btn:hover,
body.acg-shell.dark-theme .dojo-filter-clear-btn:focus {
    background: #1d4ed8;
    color: #ffffff;
}

/* --- Pagination --- */
body.acg-shell.dark-theme .pagination > li > a,
body.acg-shell.dark-theme .pagination > li > span {
    background: #1e293b;
    border-color: #334155;
    color: #93c5fd;
}

body.acg-shell.dark-theme .pagination > .active > a,
body.acg-shell.dark-theme .pagination > .active > a:hover,
body.acg-shell.dark-theme .pagination > .active > span {
    background: #e50202;
    border-color: #e50202;
    color: #ffffff;
}

body.acg-shell.dark-theme .pagination > li > a:hover,
body.acg-shell.dark-theme .pagination > li > span:hover {
    background: #263347;
    color: #bfdbfe;
}

/* --- Typography & Links --- */
body.acg-shell.dark-theme a {
    color: #93c5fd;
}

body.acg-shell.dark-theme a:hover,
body.acg-shell.dark-theme a:focus {
    color: #bfdbfe;
}

body.acg-shell.dark-theme .text-muted {
    color: #64748b !important;
}

body.acg-shell.dark-theme h1,
body.acg-shell.dark-theme h2,
body.acg-shell.dark-theme h3,
body.acg-shell.dark-theme h4,
body.acg-shell.dark-theme h5,
body.acg-shell.dark-theme h6,
body.acg-shell.dark-theme label,
body.acg-shell.dark-theme p {
    color: #e2e8f0;
}

body.acg-shell.dark-theme .well {
    background: #162032;
    border-color: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
}

/* --- Alerts --- */
body.acg-shell.dark-theme .alert {
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.20);
}
body.acg-shell.dark-theme .alert-warning {
    background: rgba(245, 158, 11, 0.14);
    color: #fcd34d;
    border-color: rgba(245, 158, 11, 0.35);
}
body.acg-shell.dark-theme .alert-danger {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.35);
}
body.acg-shell.dark-theme .alert-info {
    background: rgba(59, 130, 246, 0.14);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.35);
}
body.acg-shell.dark-theme .alert-success {
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.35);
}
body.acg-shell.dark-theme .alert a,
body.acg-shell.dark-theme .alert-link {
    font-weight: 600;
    text-decoration: underline;
    color: inherit;
}

/* --- Page header --- */
body.acg-shell.dark-theme .page-header {
    border-bottom-color: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
}

/* --- Breadcrumb (plain, no .main) --- */
body.acg-shell.dark-theme .breadcrumb {
    background: rgba(22, 32, 50, 0.80);
    border-color: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

/* --- List group --- */
body.acg-shell.dark-theme .list-group-item {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
}
body.acg-shell.dark-theme .list-group-item:hover,
body.acg-shell.dark-theme .list-group-item:focus {
    background: #263347;
    color: #f8fafc;
}
body.acg-shell.dark-theme .list-group-item.active,
body.acg-shell.dark-theme .list-group-item.active:hover,
body.acg-shell.dark-theme .list-group-item.active:focus {
    background: #e50202;
    border-color: #e50202;
    color: #ffffff;
}
body.acg-shell.dark-theme a.list-group-item {
    color: #cbd5e1;
}

/* --- Panel footer --- */
body.acg-shell.dark-theme .panel-footer {
    background: #162032;
    border-top-color: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

/* --- Pre / Code / Kbd --- */
body.acg-shell.dark-theme pre {
    background: #162032;
    border-color: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
}
body.acg-shell.dark-theme code {
    background: rgba(148, 163, 184, 0.10);
    color: #f472b6;
}
body.acg-shell.dark-theme kbd {
    background: #0f172a;
    color: #e2e8f0;
}

/* --- HR --- */
body.acg-shell.dark-theme hr {
    border-top-color: rgba(148, 163, 184, 0.15);
}

/* --- Blockquote --- */
body.acg-shell.dark-theme blockquote {
    border-left-color: rgba(148, 163, 184, 0.25);
    color: #94a3b8;
}

/* --- Help block / field hints --- */
body.acg-shell.dark-theme .help-block,
body.acg-shell.dark-theme .field-help-text {
    color: #64748b;
}

/* --- Small text --- */
body.acg-shell.dark-theme small,
body.acg-shell.dark-theme .small {
    color: #94a3b8;
}

/* --- Bootstrap-select trigger button --- */
body.acg-shell.dark-theme .bootstrap-select > .dropdown-toggle,
body.acg-shell.dark-theme .bootstrap-select > .dropdown-toggle.btn-default {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}
body.acg-shell.dark-theme .bootstrap-select > .dropdown-toggle:hover,
body.acg-shell.dark-theme .bootstrap-select > .dropdown-toggle:focus,
body.acg-shell.dark-theme .bootstrap-select.open > .dropdown-toggle {
    background: #263347 !important;
    border-color: #475569 !important;
    color: #f8fafc !important;
}
body.acg-shell.dark-theme .bootstrap-select > .dropdown-toggle .caret {
    border-top-color: #94a3b8;
}

/* --- Nav pills --- */
body.acg-shell.dark-theme .nav-pills > li > a {
    color: #94a3b8;
    background: transparent;
}
body.acg-shell.dark-theme .nav-pills > li > a:hover,
body.acg-shell.dark-theme .nav-pills > li > a:focus {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}
body.acg-shell.dark-theme .nav-pills > li.active > a,
body.acg-shell.dark-theme .nav-pills > li.active > a:hover,
body.acg-shell.dark-theme .nav-pills > li.active > a:focus {
    background: #e50202;
    color: #ffffff;
}

/* --- DataTables wrapper background --- */
body.acg-shell.dark-theme .dataTables_wrapper {
    color: #e2e8f0;
}

/* --- Callout / highlight boxes --- */
body.acg-shell.dark-theme .callout,
body.acg-shell.dark-theme .callout-default {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.20);
    color: #e2e8f0;
}
body.acg-shell.dark-theme .callout-danger {
    background: rgba(239, 68, 68, 0.10);
    border-left-color: #ef4444;
}
body.acg-shell.dark-theme .callout-warning {
    background: rgba(245, 158, 11, 0.10);
    border-left-color: #f59e0b;
}
body.acg-shell.dark-theme .callout-info {
    background: rgba(59, 130, 246, 0.10);
    border-left-color: #3b82f6;
}

/* --- Popover --- */
body.acg-shell.dark-theme .popover {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.20);
}
body.acg-shell.dark-theme .popover-title {
    background: #162032;
    color: #e2e8f0;
    border-bottom-color: rgba(148, 163, 184, 0.15);
}
body.acg-shell.dark-theme .popover-content {
    color: #e2e8f0;
}
body.acg-shell.dark-theme .popover.top > .arrow::after    { border-top-color:    #1e293b; }
body.acg-shell.dark-theme .popover.bottom > .arrow::after { border-bottom-color: #162032; }
body.acg-shell.dark-theme .popover.left > .arrow::after   { border-left-color:   #1e293b; }
body.acg-shell.dark-theme .popover.right > .arrow::after  { border-right-color:  #1e293b; }

/* --- Tooltip --- */
body.acg-shell.dark-theme .tooltip-inner {
    background: #0f172a;
    color: #e2e8f0;
}
body.acg-shell.dark-theme .tooltip.top .tooltip-arrow    { border-top-color:    #0f172a; }
body.acg-shell.dark-theme .tooltip.bottom .tooltip-arrow { border-bottom-color: #0f172a; }
body.acg-shell.dark-theme .tooltip.left .tooltip-arrow   { border-left-color:   #0f172a; }
body.acg-shell.dark-theme .tooltip.right .tooltip-arrow  { border-right-color:  #0f172a; }

/* --- Thumbnail --- */
body.acg-shell.dark-theme .thumbnail {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.15);
}

/* --- Progress bars --- */
body.acg-shell.dark-theme .progress {
    background: #263347;
}

/* --- Table tfoot --- */
body.acg-shell.dark-theme .table > tfoot > tr > td,
body.acg-shell.dark-theme .table > tfoot > tr > th {
    background: #162032;
    color: #94a3b8;
    border-top-color: rgba(148, 163, 184, 0.15);
}

/* Keep severity colors and navbar/sidebar unchanged in dark mode */
body.acg-shell.dark-theme .navbar-fixed-top,
body.acg-shell.dark-theme .navbar-default.sidebar {
    /* Already dark — no change needed */
}

/* ============================================================
   ACG DASHBOARD STAT CARDS
   ============================================================ */

/* Shared base */
body.acg-shell .status .panel {
    border-radius: 12px !important;
    overflow: hidden !important;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
body.acg-shell .status .panel:hover {
    transform: translateY(-2px);
}
/* Kill the red left-accent injected by the general panel-heading rule */
body.acg-shell .status .panel .panel-heading,
body.acg-shell .status .panel .panel-body {
    border-left: none !important;
    border-radius: 0 !important;
}

/* ---- Light mode ---- */
body.acg-shell:not(.dark-theme) .status .panel {
    box-shadow: none;
}
body.acg-shell:not(.dark-theme) .status .panel:hover {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
}
body.acg-shell:not(.dark-theme) .status .panel .panel-body {
    background: transparent !important;
    padding: 22px 20px 14px !important;
}
body.acg-shell:not(.dark-theme) .status .panel .stat-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
body.acg-shell:not(.dark-theme) .status .panel .stat-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: transparent;
    border: 1px solid;
}
body.acg-shell:not(.dark-theme) .status .panel-blue .stat-card-icon  { border-color: rgba(37,99,235,0.20);  color: rgba(37,99,235,0.35); }
body.acg-shell:not(.dark-theme) .status .panel-red .stat-card-icon   { border-color: rgba(153,27,27,0.20);  color: rgba(153,27,27,0.35); }
body.acg-shell:not(.dark-theme) .status .panel-green .stat-card-icon { border-color: rgba(22,101,52,0.20);  color: rgba(22,101,52,0.35); }
body.acg-shell:not(.dark-theme) .status .panel-yellow .stat-card-icon{ border-color: rgba(146,64,14,0.20);  color: rgba(146,64,14,0.35); }
body.acg-shell:not(.dark-theme) .status .panel-gray .stat-card-icon  { border-color: rgba(71,85,105,0.20);   color: rgba(71,85,105,0.40); }
body.acg-shell:not(.dark-theme) .status .panel .stat-label {
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    color: #64748b;
    margin-bottom: 10px;
}
body.acg-shell:not(.dark-theme) .status .panel .huge {
    font-size: 38px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -1px;
}
body.acg-shell:not(.dark-theme) .status .panel .panel-footer {
    background: transparent !important;
    border-top: 1px solid rgba(15, 23, 42, 0.06) !important;
    padding: 11px 20px !important;
    font-size: 13px;
    font-weight: 500;
}

/* Blue */
body.acg-shell:not(.dark-theme) .status .panel-blue {
    background: #e8f0fc !important;
    border: 1px solid rgba(37,99,235,0.25) !important;
}
body.acg-shell:not(.dark-theme) .status .panel-blue .huge { color: #1e3a8a !important; }
body.acg-shell:not(.dark-theme) .status .panel-blue .panel-footer,
body.acg-shell:not(.dark-theme) .status .panel-blue a { color: #2563eb !important; }
body.acg-shell:not(.dark-theme) .status .panel-blue a:hover { color: #1d4ed8 !important; }

/* Red */
body.acg-shell:not(.dark-theme) .status .panel-red {
    background: #fbe9ea !important;
    border: 1px solid rgba(153,27,27,0.25) !important;
}
body.acg-shell:not(.dark-theme) .status .panel-red .huge { color: #7f1d1d !important; }
body.acg-shell:not(.dark-theme) .status .panel-red .panel-footer,
body.acg-shell:not(.dark-theme) .status .panel-red a { color: #dc2626 !important; }
body.acg-shell:not(.dark-theme) .status .panel-red a:hover { color: #b91c1c !important; }

/* Green */
body.acg-shell:not(.dark-theme) .status .panel-green {
    background: #e9f5ec !important;
    border: 1px solid rgba(22,101,52,0.25) !important;
}
body.acg-shell:not(.dark-theme) .status .panel-green .huge { color: #14532d !important; }
body.acg-shell:not(.dark-theme) .status .panel-green .panel-footer,
body.acg-shell:not(.dark-theme) .status .panel-green a { color: #16a34a !important; }
body.acg-shell:not(.dark-theme) .status .panel-green a:hover { color: #15803d !important; }

/* Amber */
body.acg-shell:not(.dark-theme) .status .panel-yellow {
    background: #fdf6e3 !important;
    border: 1px solid rgba(146,64,14,0.25) !important;
}
body.acg-shell:not(.dark-theme) .status .panel-yellow .huge { color: #78350f !important; }
body.acg-shell:not(.dark-theme) .status .panel-yellow .panel-footer,
body.acg-shell:not(.dark-theme) .status .panel-yellow a { color: #d97706 !important; }
body.acg-shell:not(.dark-theme) .status .panel-yellow a:hover { color: #b45309 !important; }

/* Gray (neutral/secondary stats) */
body.acg-shell:not(.dark-theme) .status .panel-gray {
    background: #f1f5f9 !important;
    border: 1px solid rgba(71,85,105,0.20) !important;
}
body.acg-shell:not(.dark-theme) .status .panel-gray .huge { color: #334155 !important; }
body.acg-shell:not(.dark-theme) .status .panel-gray .panel-footer,
body.acg-shell:not(.dark-theme) .status .panel-gray a { color: #475569 !important; }
body.acg-shell:not(.dark-theme) .status .panel-gray a:hover { color: #1e293b !important; }

/* ---- Dark mode ---- */
body.acg-shell.dark-theme .status .panel {
    background: #1e293b !important;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
}
body.acg-shell.dark-theme .status .panel:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.40) !important;
}
body.acg-shell.dark-theme .status .panel .panel-body {
    background: transparent !important;
    padding: 22px 20px 14px !important;
}
body.acg-shell.dark-theme .status .panel .stat-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
body.acg-shell.dark-theme .status .panel .stat-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
body.acg-shell.dark-theme .status .panel-blue .stat-card-icon  { background: rgba(59,130,246,0.15);  color: #93c5fd; }
body.acg-shell.dark-theme .status .panel-red .stat-card-icon   { background: rgba(239,68,68,0.15);   color: #fca5a5; }
body.acg-shell.dark-theme .status .panel-green .stat-card-icon { background: rgba(34,197,94,0.15);   color: #86efac; }
body.acg-shell.dark-theme .status .panel-yellow .stat-card-icon{ background: rgba(245,158,11,0.15);  color: #fcd34d; }
body.acg-shell.dark-theme .status .panel-gray .stat-card-icon   { background: rgba(100,116,139,0.20);  color: #cbd5e1; }
body.acg-shell.dark-theme .status .panel .stat-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
    margin-bottom: 10px;
}
body.acg-shell.dark-theme .status .panel .huge {
    font-size: 42px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #e2e8f0 !important;
    letter-spacing: -1px;
}
body.acg-shell.dark-theme .status .panel .panel-footer {
    background: rgba(255, 255, 255, 0.03) !important;
    border-top: 1px solid rgba(148, 163, 184, 0.10) !important;
    padding: 11px 20px !important;
    font-size: 13px;
    font-weight: 500;
}

/* Blue — dark */
body.acg-shell.dark-theme .status .panel-blue {
    border: 1px solid rgba(59, 130, 246, 0.22) !important;
    border-top: 3px solid #3b82f6 !important;
}
body.acg-shell.dark-theme .status .panel-blue .panel-footer,
body.acg-shell.dark-theme .status .panel-blue a { color: #93c5fd !important; }

/* Red — dark */
body.acg-shell.dark-theme .status .panel-red {
    border: 1px solid rgba(239, 68, 68, 0.22) !important;
    border-top: 3px solid #ef4444 !important;
}
body.acg-shell.dark-theme .status .panel-red .panel-footer,
body.acg-shell.dark-theme .status .panel-red a { color: #fca5a5 !important; }

/* Green — dark */
body.acg-shell.dark-theme .status .panel-green {
    border: 1px solid rgba(34, 197, 94, 0.22) !important;
    border-top: 3px solid #22c55e !important;
}
body.acg-shell.dark-theme .status .panel-green .panel-footer,
body.acg-shell.dark-theme .status .panel-green a { color: #86efac !important; }

/* Amber — dark */
body.acg-shell.dark-theme .status .panel-yellow {
    border: 1px solid rgba(245, 158, 11, 0.22) !important;
    border-top: 3px solid #f59e0b !important;
}
body.acg-shell.dark-theme .status .panel-yellow .panel-footer,
body.acg-shell.dark-theme .status .panel-yellow a { color: #fcd34d !important; }

/* Gray — dark */
body.acg-shell.dark-theme .status .panel-gray {
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    border-top: 3px solid #64748b !important;
}
body.acg-shell.dark-theme .status .panel-gray .panel-footer,
body.acg-shell.dark-theme .status .panel-gray a { color: #cbd5e1 !important; }

/* Indicators Overview cards: force equal width/height per row. These are
   plain Bootstrap 3 float columns, so uneven content (wrapped footer text,
   varying chart heights) leaves ragged rows and blank gaps below the
   shortest card. Flex-ify the grid so every card in a row stretches to
   match the tallest one. */
body.acg-shell .product-graphs-overview {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
body.acg-shell .product-graphs-overview > [class*="col-"] {
    display: flex;
    float: none;
}
body.acg-shell .product-graphs-overview > [class*="col-"] > .panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
}
body.acg-shell .product-graphs-overview > [class*="col-"] > .panel > .panel-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}
body.acg-shell .product-graphs-overview .stat-card-content {
    flex: 0 0 auto;
}
body.acg-shell .product-graphs-overview .graph {
    flex: 1 1 auto;
    min-height: 160px;
}
body.acg-shell .product-graphs-overview > [class*="col-"] > .panel > .panel-footer {
    flex: 0 0 auto;
}

/* ============================================================
   ACG FILTER DRAWER
   ============================================================ */

/* Toggle button — white outlined pill (replaces blue primary) */
body.acg-shell #show-filters,
body.acg-shell .toggle-filters {
    background: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.18) !important;
    color: #374151 !important;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.07) !important;
    border-radius: 8px !important;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 14px !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}
body.acg-shell #show-filters:hover,
body.acg-shell .toggle-filters:hover {
    border-color: rgba(15, 23, 42, 0.30) !important;
    background: #f8fafc !important;
    color: #0f172a !important;
}
body.acg-shell .toggle-filters .caret { display: none; }

/* Drawer panel — fixed right side */
body.acg-shell #the-filters,
body.acg-shell .is-filters {
    position: fixed !important;
    top: 92px;
    right: 0;
    bottom: 0;
    width: 320px;
    z-index: 1045;
    background: #ffffff;
    box-shadow: -6px 0 32px rgba(15, 23, 42, 0.12);
    border-left: 1px solid rgba(15, 23, 42, 0.08);
    overflow-y: auto;
    overflow-x: hidden;
    /* Always displayed; visibility controlled by transform */
    display: block !important;
    height: auto !important;
    padding: 0 !important;
    transform: translateX(110%);
    visibility: hidden;
    transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.26s;
}
body.acg-shell #the-filters.in,
body.acg-shell .is-filters.in {
    transform: translateX(0);
    visibility: visible;
}

/* Backdrop */
.acg-filter-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.30);
    z-index: 1044;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
}
.acg-filter-backdrop.active { display: block; }

/* Drawer header injected by JS */
.filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 2;
}
.filter-drawer-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    font-size: 16px;
    padding: 4px 6px;
    line-height: 1;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}
.filter-drawer-close:hover { background: #f1f5f9; color: #0f172a; }

/* Restyle filter form fields for vertical stacking inside drawer */
body.acg-shell .is-filters .filter-set { padding: 0; }
body.acg-shell .is-filters .filter-form-group.container-fluid { padding: 16px 20px 4px; }
body.acg-shell .is-filters .filter-form-group > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 14px;
}
body.acg-shell .is-filters .filter-form-input label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
    margin-bottom: 4px;
}
body.acg-shell .is-filters .filter-form-control,
body.acg-shell .is-filters .form-control,
body.acg-shell .is-filters select,
body.acg-shell .is-filters input[type="text"],
body.acg-shell .is-filters input[type="date"] {
    width: 100% !important;
    border-radius: 8px !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    font-size: 13px !important;
    padding: 7px 10px !important;
    color: #0f172a !important;
    background: #ffffff !important;
}
body.acg-shell .is-filters .filter-form-control:focus,
body.acg-shell .is-filters .form-control:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.10) !important;
    outline: none !important;
}
/* Action buttons row */
body.acg-shell .is-filters .container-fluid:last-of-type {
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(15, 23, 42, 0.07);
    margin-top: 4px;
}
body.acg-shell .is-filters .dojo-filter-apply-btn,
body.acg-shell .is-filters .dojo-filter-clear-btn {
    width: 100%;
    border-radius: 8px !important;
    margin-bottom: 8px;
}

/* Select2 inside filter drawer */
body.acg-shell .is-filters .select2-container {
    width: 100% !important;
    min-width: 0 !important;
}
body.acg-shell .is-filters .select2-container .select2-selection--single,
body.acg-shell .is-filters .select2-container .select2-selection--multiple {
    border-radius: 8px !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    min-height: 34px !important;
    font-size: 13px !important;
    background: #ffffff !important;
}
body.acg-shell .is-filters .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #0f172a !important;
    line-height: 34px !important;
    padding-left: 10px !important;
}
body.acg-shell .is-filters .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
}
body.acg-shell .is-filters .select2-container .select2-selection--single:focus,
body.acg-shell .is-filters .select2-container .select2-selection--multiple:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.10) !important;
}
/* Bootstrap-select inside filter drawer */
body.acg-shell .is-filters .bootstrap-select {
    width: 100% !important;
}
body.acg-shell .is-filters .bootstrap-select > .btn {
    border-radius: 8px !important;
    border: 1px solid rgba(15, 23, 42, 0.15) !important;
    font-size: 13px !important;
    padding: 7px 10px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    height: auto !important;
    min-height: 34px !important;
}
/* Ensure native single selects also get full styling */
body.acg-shell .is-filters select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8.825L1.175 4 2.238 2.938 6 6.7 9.763 2.937 10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px !important;
}
/* Ensure Apply/Clear buttons have proper padding and font */
body.acg-shell .is-filters .dojo-filter-apply-btn {
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}
body.acg-shell .is-filters .dojo-filter-clear-btn {
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* ---- Dark mode ---- */
body.acg-shell.dark-theme #the-filters,
body.acg-shell.dark-theme .is-filters {
    background: #1e293b;
    border-left-color: rgba(148, 163, 184, 0.12);
    box-shadow: -6px 0 32px rgba(0, 0, 0, 0.35);
}
body.acg-shell.dark-theme .filter-drawer-header {
    background: #1e293b;
    border-bottom-color: rgba(148, 163, 184, 0.12);
}
body.acg-shell.dark-theme .filter-drawer-title { color: #e2e8f0; }
body.acg-shell.dark-theme .filter-drawer-close { color: #64748b; }
body.acg-shell.dark-theme .filter-drawer-close:hover { background: #263347; color: #e2e8f0; }
body.acg-shell.dark-theme .is-filters .filter-form-input label { color: #64748b; }
body.acg-shell.dark-theme .is-filters .container-fluid:last-of-type {
    border-top-color: rgba(148, 163, 184, 0.10);
}
body.acg-shell.dark-theme .is-filters .select2-container .select2-selection--single,
body.acg-shell.dark-theme .is-filters .select2-container .select2-selection--multiple {
    background: #162032 !important;
    border-color: #334155 !important;
}
body.acg-shell.dark-theme .is-filters .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #e2e8f0 !important;
}
body.acg-shell.dark-theme .is-filters .bootstrap-select > .btn {
    background: #162032 !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
body.acg-shell.dark-theme .is-filters .filter-form-control,
body.acg-shell.dark-theme .is-filters .form-control,
body.acg-shell.dark-theme .is-filters select,
body.acg-shell.dark-theme .is-filters input[type="text"],
body.acg-shell.dark-theme .is-filters input[type="date"] {
    background: #162032 !important;
    border-color: #334155 !important;
    color: #e2e8f0 !important;
}
body.acg-shell.dark-theme .is-filters .container-fluid:last-of-type {
    border-top-color: rgba(148, 163, 184, 0.10);
}
body.acg-shell.dark-theme #show-filters,
body.acg-shell.dark-theme .toggle-filters {
    background: #1e293b !important;
    border-color: rgba(148, 163, 184, 0.20) !important;
    color: #cbd5e1 !important;
}
body.acg-shell.dark-theme #show-filters:hover,
body.acg-shell.dark-theme .toggle-filters:hover {
    background: #263347 !important;
    color: #e2e8f0 !important;
}

/* ============================================================
   ACG LIST HEADER (icon + title + total count + search + actions)
   Shared by list pages such as All Scan Types, All Applications.
   ============================================================ */
body.acg-shell .acg-list-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}
body.acg-shell .acg-list-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
body.acg-shell .acg-list-title-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    font-size: 17px;
    color: #475569;
}
body.acg-shell .acg-list-title-icon .acg-list-title-icon-badge {
    position: absolute;
    right: -7px;
    bottom: -5px;
    font-size: 10px;
    color: #475569;
    background: #f8fafc;
    border-radius: 50%;
    padding: 1px;
}
body.acg-shell .acg-list-total {
    font-weight: 400;
    font-size: 13px;
    color: #64748b;
}
body.acg-shell .acg-list-header-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
body.acg-shell .acg-list-search-form {
    position: relative;
    flex: 0 0 auto;
    width: 320px;
    margin: 0;
}
body.acg-shell .acg-list-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}
body.acg-shell .acg-list-search-input {
    width: 100%;
    height: 38px;
    padding-left: 34px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(15, 23, 42, 0.18) !important;
    box-shadow: none !important;
    font-size: 13px;
}
body.acg-shell .acg-list-header-actions .dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 !important;
}
body.acg-shell .acg-list-header-actions .dropdown > button.btn {
    height: 38px;
    box-sizing: border-box;
    padding: 0 16px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    line-height: 1 !important;
}
body.acg-shell.dark-theme .acg-list-total {
    color: #94a3b8;
}
body.acg-shell.dark-theme .acg-list-title-icon,
body.acg-shell.dark-theme .acg-list-title-icon .acg-list-title-icon-badge {
    color: #cbd5e1;
}
body.acg-shell.dark-theme .acg-list-title-icon-badge {
    background: #1e293b;
}
body.acg-shell.dark-theme .acg-list-search-input {
    border-color: rgba(148, 163, 184, 0.20) !important;
}

#acg-scan-toast-region {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.acg-scan-toast {
    background: #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
    padding: 10px 12px;
}
.acg-scan-toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.acg-scan-toast-label {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    text-transform: capitalize;
}
.acg-scan-toast-close {
    background: none;
    border: none;
    font-size: 16px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0;
}
.acg-scan-toast-phase {
    font-size: 12px;
    color: #64748b;
    margin: 4px 0 6px;
}
.acg-scan-toast-progress {
    margin: 0;
    height: 8px;
}
body.acg-shell.dark-theme .acg-scan-toast {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.25);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
body.acg-shell.dark-theme .acg-scan-toast-label {
    color: #e2e8f0;
}
body.acg-shell.dark-theme .acg-scan-toast-phase {
    color: #94a3b8;
}
body.acg-shell.dark-theme .acg-scan-toast-close {
    color: #94a3b8;
}

.btn,
input,
textarea,
.progress,
.tag-label,
.label,
.badge,
.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span,
.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span,
.panel,
.panel-heading,
.panel-comments,
.nav-pills > li > a,
.breadcrumb,
.panel > table:last-child,
.panel > .table:first-child  {
    border-radius: 0!important;
}

.table-condensed > tbody > tr > td,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > td,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > thead > tr > th {
	padding-top: 12px;
}

.table-condensed > tbody > tr > td:first-child,
.table-condensed > tbody > tr > th:first-child,
.table-condensed > tfoot > tr > td:first-child,
.table-condensed > tfoot > tr > th:first-child,
.table-condensed > thead > tr > td:first-child,
.table-condensed > thead > tr > th:first-child {
	padding-left: 15px;
}

.btn-group .btn:not(:first-child) {
    margin-left: 6px;
}

.min,
.max {
    overscroll-behavior: none!important;
    overflow-x: clip!important;
}

a {
  color: #546474;
}

.panel-default .btn-primary {
    background-color: transparent!important;
    border-style: none!important;
    color: #fff!important;
    border: 1px solid #fff!important;
}

.panel-default .btn-primary:hover {
    background-color: transparent!important;
    color: #fff!important;
    border: 1px solid #fff!important;
}

.btn-primary {
    color: #fff;
    background-color: #546474;
	  /*border-style: none!important;*/
}

.btn-primary:hover {
    background-color: #38434d!important;
}

.btn-secondary {
    color: #fff;
    background-color: #546474;
	border-style: none!important;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #38434d!important;
}

.panel-heading .dropdown-toggle:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

#base-content .clearfix .pagination .dropdown-toggle:focus {
    outline: 5px auto #599fd0;
    outline-offset: -3px;
}
.table-responsive .dropdown-toggle:focus {
    outline: 5px auto -webkit-focus-ring-color;
    text-decoration: none;
}

/*
.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open > .dropdown-toggle.btn-primary.focus, .open > .dropdown-toggle.btn-primary:focus, .open > .dropdown-toggle.btn-primary:hover {
    background-color: transparent!important;
    border-style: none!important;
}

.btn-primary.focus, .btn-primary:focus {
    background-color: transparent!important;
    border-style: none!important;
}
*/

.secondary-color {
  background-color: #546474!important;
  color: white;
}

.h1,
.h2,
.h3,
h1,
h2 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h3 {
  margin-top: 5px;
  margin-bottom: 2px;
  font-size: 18px;
  line-height: 18px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

.nav.nav-second-level.nav-up {
    transform: translateY(-100%);
    margin-top: 41px;
}

.nav-tabs {
    border-bottom: 1px solid rgb(148, 168, 187);
}


.nav-tabs > li.active > a,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    color: #fff;
    background-color: #73879c;
    border: 1px solid #73879c;

}
.nav-tabs > li > a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 0;
}

.nav-tabs .dropdown .badge{
    color: #fff;
    background-color: #546474;
}

.nav-tabs .active-color .badge{
    color: #72879b;
    background-color: #ffffff;
}

.navbar-brand {
    padding: 0 12px;
    margin-left: 0px;
    height: 92px;
    display: flex;
    align-items: center;
}

.navbar-toggle {
    height: 92px;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-brand > img {
    display: inline-block;
}

.navbar-brand-logo {
    min-height: 92px;
}

.navbar-brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand-logo-wrap img {
    width: auto;
    height: auto;
    max-width: 120px;
    max-height: 64px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-brand-logo-wrap span {
    font-size: 19px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    line-height: 1;
}

.navbar-fixed-top {
    min-height: 92px;
}

.navbar-fixed-top .navbar-header {
    min-height: 92px;
    height: 92px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    body {
        padding-top: 92px;
    }

    .navbar-fixed-top {
        min-height: 92px;
    }

    .navbar-top-links {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        height: 92px;
        margin: 0;
        float: right;
    }

    .navbar-top-links > li {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .navbar-top-links > li > a,
    .navbar-top-links > li > .custom-search-form {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .navbar-top-links > li > a {
        padding-top: 0;
        padding-bottom: 0;
    }

    .navbar-top-links .custom-search-form {
        margin: 0;
    }

    .navbar-top-links .custom-search-form form {
        margin-bottom: 0;
    }

    .navbar-default.sidebar.navbar-fixed-top {
        top: 96px !important;
        height: calc(100vh - 96px);
        overflow: visible;
        z-index: 1030;
    }

    .navbar-default.sidebar.navbar-fixed-top .sidebar-nav.navbar-collapse {
        height: calc(100vh - 96px);
        overflow: visible;
        position: relative;
    }

    body.min div.navbar-default.sidebar {
        top: 96px !important;
        height: calc(100vh - 96px);
        overflow: visible;
    }

    #page-wrapper,
    #footer-wrapper {
        margin-top: 0 !important;
    }

    #wrapper > .container-fluid,
    #wrapper > #page-wrapper {
        padding-top: 0;
    }
}

.row {
    margin-top: 5px;
}

form.filters {
    margin-top: 0px;
    padding: 0px 5px 5px;
}

.filters select, .filters textarea, .filters input[type="text"], .filters input[type="password"], .filters input[type="datetime"], .filters input[type="datetime-local"], .filters input[type="date"], .filters input[type="month"], .filters input[type="time"], .filters input[type="week"], .filters input[type="number"], .filters input[type="email"], .filters input[type="url"], .filters input[type="search"], .filters input[type="tel"], .filters input[type="color"], .filters .uneditable-input {
    width: 100%;
    border-radius: 4px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
}

.filters hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

input[type="file"] {
    border: 0px;
    width: auto;
}

.form-control {
    width: 70% !important;
}

.bs-searchbox .form-control {
    width: 100% !important;
}

.dojo-input-group {
    width: 73%;
    z-index: 1;
}

.home-icon a {
    padding: 0 !important;
}

.hilite,
.hilite1 {
    background: #FF0;
}

.hilite2 {
    background: #A9DBA9;
}

.hilite3 {
    background: #F89406;
}

.hilite4 {
    background: #F8B9B7;
}

.hilite5 {
    background: #BCE8F1;
}

#swagger-ui-container h2 {
    font-size: 20px;
    line-height: 20px;
    padding: 0;
}

#swagger-ui-container h3 {
    font-size: 15px;
    line-height: 20px;
    padding: 0;
}

#swagger-ui-container .footer {
    display: none !important;
}

div#header {
    background: #FFF;
}

.zero {
    border: 0 !important;
    padding: 0 !important;
    width: 0 !important;
}

body #header form#api_selector .input input#input_apiKey {
    width: 500px;
}

.prod_name {
    padding-right: 15px;
    white-space: nowrap;
    width: 1px;
}

.breadcrumb a.active {
    color: #777 !important;
}

.badge.badge-count {
    background-color: #d9534f;
}

.badge.badge-count.badge-count0 {
    background-color: #5cb85c;
}

.dropdown-toggle-h {
    display: none;
    visibility: hidden;
}

a.eng_link {
    margin-bottom: 10px;
}

.ui-helper-reset {
    font-size: 96%;
}

#tabs.ui-widget {
    font-size: .8em;
}

form.metric_form,
form.metric_form select,
form.metric_form p,
form.metric_form ul,
form.metric_form ul li {
    list-style-type: none;
    font-size: 11px
}

form.metric_form label {
    font-size: 11px
}

form.metric_form input[type='submit'] {
    vertical-align: text-bottom;
}

form.metric_form p label {
    font-weight: 700;
}

.filters .panel-body {
    padding: 5px;
}

.filters .panel-heading {
    border-top: 1px solid #ddd;
}

.filters .panel-heading:first-child {
    border-top: 0px solid #ddd;
}

.panel-blue .panel-heading,
.panel-blue {
    color: #f5f5f5;
    background-color: #546474!important;
    border-color: #546474!important;
}

.panel-blue a {
    color: #546474;
}

.panel-blue a:hover {
    color: #38434d;
}

.nowrap {
    white-space: nowrap;
}

.metrics-chart {
    height: 300px;
}

.metrics-half-chart {
    height: 300px;
    width: 460px;
    display: inline-block;
    margin-bottom: 40px;
}

.table-400 {
    width: 40%;
}

.table-600 {
    width: 66%;
}

.table-full {
    width: 100%;
}

.metric-half {
    display: inline-block;
    vertical-align: top;
    width: 38%;
}

.field-help-text {
    display: block;
    font-size: 75%;
    margin: -10px 1px 10px;
}

.error-page-box {
    display: inline-block;
    vertical-align: middle;
    padding-right: 25px;
}

.inline-block {
    display: inline-block;
}

a.search-finding {
    color: #09d;
}

.no-bullets {
    list-style: none;
}

.inline-form,
.inline-label {
    display: inline;
}

div#upload-risk form select[multiple="multiple"] {
    height: 400px;
    width: auto;
}

.controls.file label {
    width: 20%;
    text-align: center;
}

.protip {
    text-align: center;
    margin-bottom: 10px;
}

.control-group input[type="file"] {
    display: inline-block;
    width: 0;
}

form#replace_risk_file label {
    text-align: center;
    width: 88px;
}

form#replace_risk_file input[type="file"] {
    display: inline-block;
    width: 0;
}

form ul {
    list-style-type: none;
    margin-left: 0px;
    padding-left: 0px
}

form ul li a#reset-password,
form ul li a#forgot-username {
    color: rgb(51, 122, 183)
}

form ul#id_accepted_findings {
    list-style: none;
    margin-left: 0;
    overflow: scroll;
    max-height: 500px;
}

form ul#id_accepted_findings li {
    padding: 5px;
}

form ul#id_accepted_findings li:nth-child(odd) {
    background-color: #f0f0f0;
}

div#upload-risk .helptext,
div.show_add_findings_form .helptext {
    display: block;
    font-size: 13px;
    font-style: italic;
    margin: auto;
    text-align: center;
}

a.accept-all-findings {
    cursor: pointer;
}

div.danger-zone {
    padding: 0;
    text-align: center;
}

div.danger-zone h3 {
    margin: 0px;
}

div.danger-zone p {
    margin-top: 10px;
}

.meta_profile {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #f0f0f0;
    border: 1px solid;
    border-color: #d0d0d0;
    border-radius: 4px;
    color: #000;
    padding: 8px 35px 8px 14px;
}

.meta_profile b {
    display: inline-block;
    width: 40%;
}

ul.messages {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #f0f0f0;
    border-radius: 4px;
    margin: 0 0 10px;
    padding: 5px;
}

.messages li {
    display: block;
    font-size: 16px;
    margin: 0 0 2px;
    padding: 2px 3px;
}

.top,
form ul#id_accepted_findings input {
    vertical-align: top;
}

.messages li.warning {
    color: #c09853;
}

.messages li.error {
    color: #b94a48;
}

.Pass,
.messages li.success {
    color: #468847;
}

.pass_fail {
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #f89406;
    color: #fff;
    display: inline-block;
    font-size: 11.844px;
    font-weight: 700;
    line-height: 14px;
    padding: 2px 8px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    vertical-align: baseline;
    white-space: nowrap;
}

.dojo-sup {
  font-size: smaller;
  vertical-align: super;
}
.Fail {
    background-color: #b94a48;
}

.Pass {
    background-color: #468847;
}

.severity {
    font-size: 80%;
}

.severity-Info {
    background-color: #888888;
}

.severity-Low {
    background-color: #546474;
}

.severity-Medium {
    background-color: #FBE413;
}

.severity-High {
    background-color: #f09835;
}

.severity-Critical {
    background-color: #d9534f;
}

.age-red {
    background-color: #d9534f;
}

.age-green {
    background-color: green;
}

.age-blue {
    background-color: blue;
}

.age-orange {
    background-color: #EE7600;
}

.dojo-search {
    clear: right !important;
    display: inline-block !important;
    float: right !important;
    margin: 0 !important;
}

.pagination {
    margin: 10px;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover
{
  background-color: #546474;
  border-color: #546474;
}

.pagination-in-panel {
    margin-left: 10px!important;
    margin-right: 10px!important;
}

#risk_acceptance table form {
    margin: 0;
}

#risk_acceptance table td {
    vertical-align: middle;
}

div.eng_info {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-top: 10px;
    min-height: 135px;
    padding: 7px;
    width: 280px;
}

div.prod_info {
    background-color: #f5f5f5;
    border-radius: 4px;
    margin-top: 10px;
    padding: 10px 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
}

br {
    border: 0;

}

.filters h3 {
    font-size: 122% !important;
    line-height: 20px;
    margin: 0px 0 5px 0 !important;
}

.filters .helptext {
    display: none;
}

.table-bordered th {
    background-color: #DCEDFB !important;
}

span.report_note {
    display: inline-block;
    font-size: 11px !important;
}

span.report_note * {
    font-size: 11px !important;
}

div.pagination li form {
    display: inline-block;
    margin-left: 3px;
}

div.pagination li form select {
    display: inline-block;
    font-size: 11px;
    width: auto;
}

div.page_select {
    float: left;
}

input#simple_search {
    width: 100%!important;
}

.support-page-wrapper {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.support-container {
    display: flex;
    width: 75%;
    margin-bottom: 150px;
}

.support-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    font-size: 16px;
    font-weight: 500;
}

.support-box.shape {
    border-radius: 12px;
    padding: 10px 25px 25px 25px;
    margin: 0px 10px 0px 10px;
    transition: transform .5s;
}

.community {
    color: #546474!important;
    background-color: #e7e7e7!important;
}

.commercial {
    color: #e7e7e7!important;
    background-color: #1d4565!important;
}

.support-box.hover:hover {
    transform: translateY(-10px);
}

.btn-primary.support {
    font-size: 16px;
    font-weight: 500;
    padding: 10px!important;
    border-radius: 6px!important;
    margin: 20px 10px 0px 10px!important;
    border: none!important;
}

.btn-primary.support.dark:hover {
    color: #546474!important;
    background-color: #f7f7f7!important;
}

.btn-primary.support.light:hover {
    color: #e7e7e7!important;
    background-color: #235175!important;
}

.divider {
    border-bottom: 1px solid;
    margin: 10px 25px 15px 25px;
}

.divider.dark {
    border-color: #546474!important
}

.divider.light {
    border-color: #e7e7e7!important
}

.dojo-modals-wrapper {
    display: none;
    flex-direction: column;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

.footer {
    background-color: #F8F8F8;
    border-top: 1px solid #dcdcdc;
    padding: 30px 0;
}

.footer img {
    opacity: .7;
    transition: opacity .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out;
    -webkit-transition: opacity .25s ease-in-out;
}

.footer img:hover {
    opacity: 1
}

.metric-data .row {
    margin-bottom: 40px;
}

.navbar a.brand {
    margin: 0;
    padding: 0;
}

.metric-data .well {
    padding: 7px;
    font-size: 12px !important;
}

.metric-data h4 {
    font-size: 14px;
    font-weight: bold;
}

body {
    padding-top: 50px;
}

@media (min-width: 768px) {
    body {
        padding-top: 92px !important;
    }

    #page-wrapper {
        margin-top: 0 !important;
    }

    #footer-wrapper {
        margin-top: 0 !important;
    }
}

body.popup {
    padding-top: 0;
}

html,
body,
.container {
    height: 100%;
}

body > .container {
    height: auto;
    min-height: 100%;
}

body #header form#api_selector .input a#explore:hover,
body #header form#api_selector .input a#explore {
    background-color: #09d !important;
}

.controls ul {
    list-style-type: none;
    margin: 0
}

div.dataTables_wrapper
div.dataTables_filter {
    margin: 10px!important;
}

.navbar li.search-form {
    width: 170px
}

label,
input,
button,
select,
textarea {
    font-size: 14px
}

ul.left {
    text-align: left
}

.breadcrumb.main {
    margin-top: 10px;
}

.form-read-only {
    margin-left: 20px;
}

.centered {
    text-align: center;
}

.centered table {
    margin: auto;
    text-align: left;
}

table.centered th {
    text-align: center;
}

table.centered td {
    text-align: center;
}

.text-critical {
    color: #d9534f
}

.text-high {
    color: #f0ad4e
}

.text-medium {
    color: #f0de28
}

.text-low {
    color: #546474
}

input[type="checkbox"] {
    display: inline;
    width: 22px;
    vertical-align: middle;
    margin-top: 0px;
    border: 0;
    padding: 0px;
    box-shadow: none
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
    width: 500px;
    min-width: 0;
}

.footer {
    font-size: x-small
}

.footer img.logo {
    width: 5%;
    height: 5%;
}

td .fa-fw {
    font-size: 18px;
}

.same-height-panel-row .panel {
    min-height: 150px;
}

.view-finding .panel-body pre, .endpoints pre {
    background-color: transparent;
    border: 0px;
    padding: 0px;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-break: normal;
}

h4.finding-title {
    width: 90%;
}

@media (min-width: 768px) {
    .dl-horizontal dt {
        width: 180px;
    }

    .dl-horizontal dd {
        margin-left: 200px;
    }

}

.panel-heading span.clickable {
    cursor: pointer;
}

#test-pulldown .popover-content {
    color: #000000;
}

span.endpoint_product {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 3px;
}

#vuln_endpoints ul {
    list-style-type: square;
    margin-left: 5px;
    padding-left: 5px;
    width: 100%;
}

.endpoint-panel {
    overflow-x: scroll;
    max-height: 300px;
}

.endpoints i.fa-circle {
    font-size: 7px;
    vertical-align: middle;
}

.dropdown-menu > li > a.text-danger {
    color: #a94442!important;;
}

.dropdown-menu  {
	background-color: #fff;
}

.dropdown-menu a {
	text-decoration: none!important;
	letter-spacing: 0.04em;
  color: #000000!important;;
}

th .fa-sort-asc {
    vertical-align: -3px
}

th .fa-sort-desc {
    vertical-align: 3px
}

th a {
    color: #333;
    width: 100%;
    display: inline-block;
}

@font-face {
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?2eclin');
    src: url('../fonts/icomoon.eot?2eclin#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?2eclin') format('truetype'),
    url('../fonts/icomoon.woff?2eclin') format('woff'),
    url('../fonts/icomoon.svg?2eclin#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-grab-reorder-down:before {
    content: "\e902";
}

.icon-grab-reorder-up:before {
    content: "\e903";
}

.icon-grab-reorder:before {
    content: "\e904";
}

.icon-add-template:before {
    content: "\e900";
}

.icon-plusminus:before {
    content: "\e800";
}

.icon-page-break:before {
    content: "\e901";
}

.icon-user-check:before {
    content: "\e975";
}

#side-menu ul a {
    /*border-top: 1px solid #ddd;*/
    border-radius: 4px;
}

li#minimize-menu-li {
    display: none;
    visibility: hidden;
}

div.custom-search-form {
    height: 21px;
    width: 265px;
}

.announcement-banner {
    margin: 0px -15px;
    border-radius: 0px 0px 4px 4px;
}

@media (min-width: 795px) {
    div.custom-search-form {
        height: 21px;
        width: 350px;
    }
}

@media (min-width: 945px) {
    div.custom-search-form {
        height: 21px;
        width: 500px;
    }
}

@media (min-width: 320px) {
    #page-wrapper {
        margin: 75px 0 0 0;
    }

    #footer-wrapper {
        margin: 75px 0 0 0;
    }
}

@media (min-width: 359px) {
    #page-wrapper {
        margin: 100px 0 0 0;
    }

    #footer-wrapper {
        margin: 100px 0 0 0;
    }
}

@media (min-width: 600px) {
    #page-wrapper {
        margin: 50px 0 0 0;
    }

    #footer-wrapper {
        margin: 50px 0 0 0;
    }
}

@media (min-width: 768px) {
    .sidebar {
        width: 175px
    }

    #page-wrapper {
        margin: 0 0 0 175px;
    }

    #footer-wrapper {
        margin: 0 0 0 175px;
        border-left: 1px solid #e7e7e7;
    }

    li#minimize-menu-li {
        display: inline-block;
        visibility: visible;
    }

    div.custom-search-form {
        height: 21px;
        width: 305px;
    }

    body.min #side-menu li a span.arrow,
    body.min #side-menu li a i.arrow {
        display: none !important;
    }

    body.min #side-menu li {
        position: relative;
        border-radius: 4px;
    }

    body.min #side-menu > li > a {
        position: relative;
    }

    body.min #side-menu > li > a::after {
        content: "";
        position: absolute;
        top: 0;
        right: -20px;
        width: 20px;
        height: 100%;
        background: transparent;
    }

    body.min #side-menu > li ul {
        position: absolute;
        left: calc(100% - 1px);
        top: 0;
        min-width: 200px;
        height: auto !important;
	display: none;
        z-index: 10000;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0, 0, 0, .15);
        border-left-width: 0;
        border-radius: 4px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    }

    /* body.min #side-menu > li.mm-active ul, */
    body.min #side-menu > li:hover ul,
    body.min #side-menu > li > ul:hover {
        display: block !important;
    }

    body.min #page-wrapper {
        margin: 0 0 0 50px;
        border-left: 1px solid #e7e7e7;
    }

    body.min #footer-wrapper {
        margin: 0 0 0 50px;
    }

    body.min div.navbar-default.sidebar {
        width: 50px;
    }

    body.min div.navbar-default.sidebar li a span {
        display: none;
    }

    body.min div.navbar-default.sidebar li a i {
        font-size: 18px;
    }

    body.min #min-menu i:before {
        content: "\f0a9" !important;
    }

    body.max #min-menu i:before {
        content: "\f0a8" !important;
    }
    
    .announcement-banner {
        margin: 0px -30px;
    }

}

#toTop {
    position: fixed;
    bottom: 95px;
    right: 40px;
    cursor: pointer;
    display: none;
    width: 40px;
    height: 30px;
}

.dojo-filter-set * {
    font-size: 11px;
}

.dojo-filter-set.form-inline .form-group {
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: middle;
    margin-right: 25px;
}

.dojo-filter-set.form-inline .filter-form-group {
    display: flex;
    flex-wrap: wrap;
    flex-basis: auto;
    flex-grow: 4;
    align-content: stretch;
    margin-bottom: 10px;
    vertical-align: middle;
    margin-right: 25px;
}

.dojo-filter-set.form-inline .filter-form-input {
    margin-right: 25px;
    margin-bottom: 10px;
}

.dojo-filter-set.form-inline .filter-form-control {
    width: 100%!important;
    vertical-align: middle;
}

.dojo-filter-set.form-inline .form-control {
    height: auto!important;
}

.report-filter-set {
    padding-left: 10px;
}

.report-filter-set .form-group {
    display: inline-block;
    margin-bottom: 10px;
    vertical-align: middle;
    margin-right: 25px;
}

.finding-list .panel-body, .finding-list table {
    font-size: .95em !important;
}

.dojo-filter-set.form-inline select[multiple=multiple] {
    width: 200px;
}

#the-filters {
    background-color: #f9f9f9;
}

#the-filters-open {
    background-color: #f9f9f9;
}

#the-filters-paused {
    background-color: #f9f9f9;
}

#the-filters-closed {
    background-color: #f9f9f9;
}

.panel-default {
    border: 1px solid #dddedf;
}

.panel-heading h2,
.panel-heading h3,
.panel-heading h4,
.panel-heading h5 {
	margin-top: 0;
	margin-bottom: 0;
}

.panel-heading .btn {
	padding-top: 0;
	padding-bottom: 0;
}

.panel-default > .panel-comments {
    color: black;
    font-size: 12px;
    padding: 10px 10px;
    background-color: #ECECEC;
    border-color: #A1C0D7;
    border: 1px solid #dddedf;
}

.panel-default > .panel-heading {
    color: white;
    font-size: 16px;
    background-color: rgba(32, 166, 216, 0.75);
    border-color: #A1C0D7;
}

.panel-default > .panel-heading a,
.panel-default > .panel-heading small{
	color: #fff;
}

.panel-default > .panel-heading a{
	text-decoration: underline;
}

.panel-default > .panel-heading a:hover{
	color: #546474;
}

.panel-default-secondary{
	border: 1px solid #dddedf;
	border-top-style: none;
}

.panel-default-secondary > .panel-heading {
  color: white;
  background-color: #546474;
	border-style: solid;
	border-color: #536473;
}

.panel-heading .text-muted {
    color: #4b4b4b;
}

.panel-body.product-graphs {
	padding-left: 0;
	padding-right: 0;
	background-color: #f8f9f8;
}

.product-graphs .panel-body {
	border-right: 1px solid #dcdedf;
	border-left: 1px solid #dcdedf;
}

.graph {
    min-height: 158px;
}

.graph-loader {
    min-height: 158px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.panel-footer {
    background-color: #dddedf;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.panel-footer small{
	color: #246c91;
}

div.dt-buttons {
    margin: 10px!important;
}

div.dt-search {
    display: inline-block!important;
}

table#product_types .btn-success{
	background-color: #546474;
	border-color: #546474;
}

table#product_types .btn-success:hover{
	background-color: #3d4a58;
	border-color: #3d4a58;
}

table#product_types .btn-warning{
	background-color: #149b7e;
	border-color: #149b7e;
}

table#product_types .btn-warning:hover{
	background-color: #11876e;
	border-color: #11876e;
}

span.pull-right.clickable i.glyphicon-chevron-up, span.pull-right.clickable i.glyphicon-chevron-down {
    color: #546474;
}

.finding-description {
    max-height: 500px;
    overflow-y: scroll;
}

.finding-description::-webkit-scrollbar {
    -webkit-appearance: none;
}

.finding-description::-webkit-scrollbar:vertical {
    width: 13px;
}

.finding-description::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .5);
}

.finding-description::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 8px;
}

.highlight {
    background-color: rgb(255, 255, 123);
}


.benchmark_pass {
  background-color: #dff0d8;
}
.benchmark_fail {
  background-color: #f2dede;
}
.benchmark_disabled {
  background-color: #eaedf2
}

form#quick-add-form {
    display: inline-block;
    width: 40%;
}

.dojo-filter-heading {
    background-color: #EBF4FB;
    margin: 0px;
    padding: 5px 10px;
    border-radius: 0px;
    border: 1px solid #A1C0D7;
    margin-left: -16px;
    margin-right: -16px;
    margin-top: -16px;
    font-size: 15px;
    margin-bottom: 15px;
}

.dojo-report-heading {
    margin-top: 15px;
    margin-left: -16px;
    margin-right: -16px;
    background-color: #EBF4FB;
    border-radius: 0px;
    border: 1px solid #A1C0D7;
    font-size: 15px;
    padding: 5px 10px;
    margin-bottom: 15px;
}

div.potential-finding, div.potential-finding div.panel-heading {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

a.template-popover:hover {
    cursor: url(../img/zoom-in.cur), zoom-in;
}

.popover{
    max-width: 500px;
}

#template_findings div.popover {
    width: 50% !important;
    max-width: 50% !important;
}

#template_findings div.popover .popover-content {
    overflow: hidden;
}

.panel-available-widget {
    border-color: #ddd;
}

.panel-available-widget .panel-heading {
    background-color: #f5f5f5;
    border-color: #ddd;
}

.panel-available-widget .form-group * {

}

.panel-available-widget .form-control {
    width: 100%;
    height: auto;
}

.panel-available-widget .panel-heading h5 {
    margin: 0;
}

.panel-available-widget .panel-heading hr {
    margin: 7px 0;
}

.available-widgets .panel-available-widget .panel-body {
    display: none;
}

ul#sortable1, ul#sortable2 {
    padding: 10px 0 0;
    list-style-type: none;
}

ul#sortable1 li div.panel-heading:hover, ul#sortable2 li div.panel-heading:hover {
    cursor: default;
}

.available-widgets .ui-state-highlight, .in-use-widgets .ui-state-highlight {
    height: 35px;
    line-height: 1.2em;
    border: 2px dotted #d0d0d0;
    margin-top: 3px;
    margin-bottom: 20px;
}

.available-widgets .ui-state-highlight:first-child, .in-use-widgets .ui-state-highlight:first-child {
    margin-top: 0px;
    margin-bottom: 10px;
}

.report-page-break {
    display: flex;
    align-items: center;
    text-align: center;
}

.report-page-break::before,
.report-page-break::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed #000;
}

.report-page-break:not(:empty)::before {
    margin-right: 0.25em;
}

.report-page-break:not(:empty)::after {
    margin-left: 0.25em;
}

.editor * {
    font-size: 1em !important;
}

.editor ul {
    list-style-type: disc;
    padding: 0 40px;
}

.editor {
    overflow: scroll;
    min-height: 250px;
}

.in-use-widgets .report-filter-set .btn-sm {
    padding: 2px 10px;
}

.btn-tag {
    background: #3498db;
    border-radius: 3px;
    border-color: #ddd;
    color: #ffffff;
    font-size: 90%;
    padding: 2px 5px 2px 5px;
    text-decoration: none;
}

.btn-grade {
    border-radius: 2px;
    border-color: #ddd;
    color: #ffffff;
    padding: 1px 1px 1px 1px;
    text-decoration: none;
}

.tag-all {
    background: #3498db;
    text-decoration: none;
}


.A {
    background: #4ec83d;
}
.B {
  background: #ffa100;
}
.C {
  background: #FFBD33;
}
.D {
  background: #cc3300;
}
.F {
  background: #ef251e;
}

.white-color {
  color: #FFFFFF;
}

div.tags .label {
    font-size: 90;
    display: inline-block;
    padding: .6em .3em;
}

.tag-label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 11px;
    color: #fff;
    border-radius: .25em;
    text-decoration: none;
    text-decoration-style: solid;
}

.tag-color {
    background: #556270;
    border: 1px solid #fff!important;
}

.tag-version {
    background: rgba(32, 166, 216, 0.7);
    border: 1px solid #fff!important;
}

.happy-green-color {
    color: green;
}

.warning-color {
    background: red;
}

.amber-color {
  background: #ffc107;
}

.amber-color-with-padding {
  background: #ffc107;
  padding: .2em .6em .3em;
}

.tag-label:link {
    color: white;
    text-decoration: none;
}

.tag-label:hover {
    color: white;
    text-decoration: none;
}

.tag-label:active {
    color: white;
    text-decoration: none;
}

.tag-label:visited {
    color: white;
    text-decoration: none;
}

#finding_pic, .modal_finding_pic:hover {
    cursor: url(../img/zoom-in.cur), zoom-in;
}

.product-detailed-info ol.product-detailed-info-numbers li {
    display: table-cell;
    width: 1%;
    padding: 5px 5px;
    text-align: center;
    white-space: nowrap;
    border-bottom: 0;
    border-bottom-width: 0px;
    border-bottom-style: initial;
    border-bottom-color: initial;
}
.product-detailed-info ol.product-detailed-info-numbers li .language-color {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
mark{
    background: orange;
    color: black;
}

.btn-overdue {
    border-radius: 0px;
    border-color: #ddd;
    color: #ffffff;
    background: #ef251e;
    padding: 2px 2px 2px 2px;
    font-size: 90%;
}

.bg-vuln-critical {
  background-color:#D43F3A
}
.bg-vuln-high {
  background-color:#D57A1D
}
.bg-vuln-medium {
  background-color:#E4AB18
}
.bg-vuln-low {
  background-color:#4CAE4C
}
.bg-vuln-info {
  background-color:#357ABD
}
.bg-muted {
  background-color:#777
}
.vuln-count {
  color:#fff;
  font-size:18px;
  font-weight: 700;
}
small {
  font-size:12px;
  font-weight:400;
}

.fa-minus-square, .fa-trash {
    color: red;
}

.fa-plus-square, .fa-exchange, .fa-share-square {
    color: green;
}

.fa-asterisk {
    color: blue;
}

#jira i:hover {
    cursor: pointer;
}

.no-bottom-margin {
    margin-bottom: 0px;
}

.lightgrey {
    color:lightgrey;
}

.red {
    color:red;
}

.no-italics {
    font-style: normal;
}

.select2-container {
    min-width:200px;
}

#toggleBox {
    background-color: transparent!important;
    border: none!important;
    font-weight: bold!important;
    position: absolute!important;
    left: 0!important;
}

.EasyMDEContainer .table {
    width: unset!important;
}

/* remove spinners (up & down arrow) for integer / number fields
/* For Firefox */

input[type='number'] {
    -moz-appearance:textfield;
}

/* Webkit browsers like Safari and Chrome */

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.table th, .table td {
    border-right: 1px solid #ddd;
}
.table th:last-child, .table td:last-child {
    border-right: none; 
}

/* Keep the color of the legend in forced color mode */
.legend td {
    forced-color-adjust: none;
}
    
.legend .legendLabel {
    padding-left: 4px;   
    forced-color-adjust: auto;
}
    
.fa-caret-down,
.caret {
        forced-color-adjust: none;
}    
    
/* Keep arrows icons in forced color mode  */
@media (forced-colors: active) {
    .fa-caret-down,
    .caret {
        color: ButtonText;
    }
 }

/* -------------------------------------------------------------------------
   Army Cyber Group visual shell
   A distinct look and feel from the stock DefectDojo admin theme.
   ------------------------------------------------------------------------- */

body.acg-shell {
    font-family: "Segoe UI", "Inter", "Open Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0f172a;
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.10), transparent 28%),
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.10), transparent 22%),
        linear-gradient(180deg, #f7fafc 0%, #eef3f9 100%);
}

body.acg-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.02) 100%);
    z-index: -1;
}

body.acg-shell #wrapper {
    min-height: 100vh;
}

body.acg-shell .navbar-fixed-top {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 45%, #172554 100%);
    border: 0;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.18);
}

body.acg-shell .navbar-fixed-top .navbar-header {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 6px;
}

body.acg-shell .navbar-brand-logo-wrap span,
body.acg-shell .navbar-top-links > li > a,
body.acg-shell .navbar-top-links .dropdown-toggle,
body.acg-shell .navbar-top-links .dropdown-toggle:hover,
body.acg-shell .navbar-top-links .dropdown-toggle:focus {
    color: #f8fafc !important;
}

body.acg-shell .navbar-brand-logo-wrap img {
    width: 72px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

body.acg-shell .navbar-brand-logo-wrap span {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 16px;
}

body.acg-shell .navbar-top-links > li > a {
    border-radius: 999px;
    margin: 0 4px;
    transition: all 0.2s ease-in-out;
}

body.acg-shell .navbar-top-links > li > a:hover,
body.acg-shell .navbar-top-links > li > a:focus {
    background: rgba(255, 255, 255, 0.10);
    color: #fff !important;
}

body.acg-shell .navbar-top-links .custom-search-form .form-control {
    width: 280px !important;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    box-shadow: none;
}

body.acg-shell .navbar-top-links .custom-search-form .form-control::placeholder {
    color: rgba(248, 250, 252, 0.72);
}

body.acg-shell .navbar-top-links .custom-search-form .btn-primary {
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    border-color: #f59e0b;
}

body.acg-shell .navbar-top-links .dropdown-menu {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.20);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

body.acg-shell .navbar-default.sidebar {
    background: linear-gradient(180deg, #111827 0%, #172033 100%);
    border: 0;
    box-shadow: 12px 0 30px rgba(15, 23, 42, 0.12);
}

@media (min-width: 768px) {
    body.acg-shell .navbar-default.sidebar.navbar-fixed-top {
        top: 96px !important;
        margin-top: 0;
    }
}

body.acg-shell .navbar-default.sidebar .sidebar-nav.navbar-collapse,
body.acg-shell .navbar-default.sidebar .nav {
    background: transparent;
}

body.acg-shell .navbar-default.sidebar .nav > li > a {
    color: #dbe4f0;
    border-left: 3px solid transparent;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

body.acg-shell .navbar-default.sidebar .nav > li > a:hover,
body.acg-shell .navbar-default.sidebar .nav > li > a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #f59e0b;
}

body.acg-shell .navbar-default.sidebar .nav > li.active > a,
body.acg-shell .navbar-default.sidebar .nav > li > a.active {
    background: rgba(245, 158, 11, 0.14);
    color: #ffffff;
    border-left-color: #f59e0b;
}

body.acg-shell .navbar-default.sidebar .nav-second-level {
    background: #111827 !important;
    border-left: 3px solid rgba(245, 158, 11, 0.75);
    margin-left: 8px;
    padding-left: 8px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.28);
}

body.acg-shell .navbar-default.sidebar .nav-second-level > li {
    background: transparent;
}

body.acg-shell .navbar-default.sidebar .nav-second-level > li > a {
    color: #e2e8f0;
    background: transparent;
    border-left: 3px solid transparent;
}

body.acg-shell .navbar-default.sidebar .nav-second-level > li > a:hover,
body.acg-shell .navbar-default.sidebar .nav-second-level > li > a:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #f59e0b;
}

body.acg-shell .navbar-default.sidebar .nav-second-level > li.active > a,
body.acg-shell .navbar-default.sidebar .nav-second-level > li > a.active {
    color: #ffffff;
    background: rgba(245, 158, 11, 0.16);
    border-left-color: #f59e0b;
}

body.acg-shell #side-menu ul a {
    color: #e2e8f0;
}

body.acg-shell #side-menu ul a:hover,
body.acg-shell #side-menu ul a:focus {
    color: #ffffff;
}

body.acg-shell #side-menu > li ul {
    background-color: #111827;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-left-width: 3px;
    border-left-color: rgba(245, 158, 11, 0.75);
}

body.acg-shell #side-menu li {
    border-radius: 12px;
}

body.acg-shell #side-menu li a {
    color: #dbe4f0;
}

body.acg-shell #page-wrapper {
    background: transparent;
}

body.acg-shell #page-wrapper > .container-fluid,
body.acg-shell #page-wrapper > .container {
    padding-top: 24px;
    padding-bottom: 28px;
    max-width: 1760px;
    margin-left: auto;
    margin-right: auto;
}

body.acg-shell .breadcrumb.main {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    padding: 10px 14px;
}

body.acg-shell .panel,
body.acg-shell .well,
body.acg-shell .modal-content {
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.10);
    overflow: hidden;
}

body.acg-shell .panel-default > .panel-heading,
body.acg-shell .panel-heading {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    color: #0f172a;
    font-weight: 700;
    border-color: rgba(148, 163, 184, 0.18);
    padding: 14px 18px;
    border-left: 5px solid #f59e0b;
    position: relative;
    z-index: 5;
    overflow: visible;
}

body.acg-shell .panel-default > .panel-heading a,
body.acg-shell .panel-heading a,
body.acg-shell .panel-default > .panel-heading small {
    color: #0f172a;
}

body.acg-shell .panel-body {
    background: #ffffff;
    padding: 18px 20px;
}

body.acg-shell .panel-heading .dropdown,
body.acg-shell .panel-heading .dropdown-toggle,
body.acg-shell .panel-heading #show-filters,
body.acg-shell .panel-heading .dropdown-menu {
    position: relative;
    z-index: 6;
}

body.acg-shell .panel-heading .dropdown-menu {
    z-index: 1060;
}

body.acg-shell .btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #1d4ed8;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

body.acg-shell .btn-default,
body.acg-shell .btn-secondary {
    border-radius: 999px;
    border-color: #d1d5db;
    background: #ffffff;
    color: #374151 !important;
}

body.acg-shell .btn-primary:hover,
body.acg-shell .btn-primary:focus {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    border-color: #1e40af;
}

body.acg-shell .dojo-filter-apply-btn {
    min-width: 132px;
}

body.acg-shell .dojo-filter-clear-btn {
    min-width: 132px;
    border-color: #1d4ed8;
    color: #1d4ed8;
    background: #ffffff;
}

body.acg-shell .dojo-filter-clear-btn:hover,
body.acg-shell .dojo-filter-clear-btn:focus {
    color: #ffffff;
    background: #1d4ed8;
    border-color: #1e40af;
}

body.acg-shell table.table,
body.acg-shell .dataTable,
body.acg-shell .table {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
}

body.acg-shell .table > thead > tr > th,
body.acg-shell .table > thead > tr > td {
    background: #eef2f7;
    color: #0f172a;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    font-weight: 700;
}

body.acg-shell .table > tbody > tr:hover > td {
    background: #f8fbff;
}

body.acg-shell .table > tbody > tr:hover > td.bg-vuln-critical {
    background-color: #D43F3A !important;
}

body.acg-shell .table > tbody > tr:hover > td.bg-vuln-high {
    background-color: #D57A1D !important;
}

body.acg-shell .table > tbody > tr:hover > td.bg-vuln-medium {
    background-color: #E4AB18 !important;
}

body.acg-shell .table > tbody > tr:hover > td.bg-vuln-low {
    background-color: #4CAE4C !important;
}

body.acg-shell .table > tbody > tr:hover > td.bg-vuln-info {
    background-color: #357ABD !important;
}

body.acg-shell .table > tbody > tr:hover > td.bg-muted {
    background-color: #777 !important;
}

body.acg-shell .vuln-count,
body.acg-shell .vuln-count a,
body.acg-shell .vuln-count a:hover,
body.acg-shell .vuln-count a:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

body.acg-shell .dataTables_wrapper .dataTables_filter input,
body.acg-shell .dataTables_wrapper .dataTables_length select,
body.acg-shell input.form-control,
body.acg-shell select.form-control,
body.acg-shell textarea.form-control {
    border-radius: 12px;
    border-color: #cbd5e1;
    box-shadow: none;
}

body.acg-shell .form-control {
    width: 100% !important;
    min-height: 44px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
}

body.acg-shell .form-group {
    margin-bottom: 16px;
}

body.acg-shell .acg-login-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 28px 24px 48px;
}

body.acg-shell .acg-login-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 22px;
}

body.acg-shell .acg-login-card {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 28px 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
}

body.acg-shell .acg-login-form {
    margin: 0;
}

body.acg-shell .acg-login-fieldset {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    float: none;
}

body.acg-shell .acg-login-card .form-group {
    background: transparent;
    border: 0;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

body.acg-shell .acg-login-card .form-horizontal .form-group {
    background: transparent;
    border: 0;
    padding: 0;
    border-radius: 0;
}

body.acg-shell .acg-login-card .form-horizontal .form-group .control-label {
    margin-top: 10px;
}

body.acg-shell .acg-login-card .form-horizontal .form-group .form-control {
    background: #ffffff;
}

body.acg-shell .acg-login-actions {
    padding-top: 4px;
}

body.acg-shell .acg-login-actions ul {
    margin: 0;
    padding: 0;
}

body.acg-shell .control-label {
    color: #334155;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 12px;
    margin-bottom: 6px;
}

body.acg-shell .form-horizontal .form-group {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
}

body.acg-shell .form-horizontal .form-group .form-control,
body.acg-shell .form-horizontal .form-group .bootstrap-select,
body.acg-shell .form-horizontal .form-group .select2-container {
    width: 100% !important;
}

body.acg-shell .form-horizontal .form-group .help-block,
body.acg-shell .form-horizontal .form-group .field-help-text {
    color: #64748b;
}

body.acg-shell .badge.badge-count {
    background: #f59e0b;
    color: #0f172a;
    border-radius: 999px;
    padding: 4px 7px;
}

body.acg-shell .severity-Info {
    background-color: #94a3b8;
}

body.acg-shell .severity-Low {
    background-color: #2563eb;
}

body.acg-shell .severity-Medium {
    background-color: #f59e0b;
}

body.acg-shell .severity-High {
    background-color: #ef4444;
}

body.acg-shell .severity-Critical {
    background-color: #991b1b;
}

body.acg-shell .panel-blue .panel-heading,
body.acg-shell .panel-blue {
    background-color: #1f2937 !important;
    border-color: #1f2937 !important;
}

body.acg-shell .panel-blue a {
    color: #1d4ed8;
}

body.acg-shell .nav-tabs > li > a {
    border-radius: 14px 14px 0 0;
    color: #0f172a;
    background: transparent;
    border: 1px solid transparent;
}

body.acg-shell .nav-tabs > li.active > a {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.28);
    border-bottom-color: #ffffff;
    color: #0f172a;
    box-shadow: 0 -3px 0 #f59e0b inset;
}

body.acg-shell .nav-tabs > li.active > a:hover,
body.acg-shell .nav-tabs > li.active > a:focus {
    color: #0f172a;
    background: #ffffff;
}

body.acg-shell .nav-tabs > li > a:hover,
body.acg-shell .nav-tabs > li > a:focus {
    color: #1d4ed8;
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(148, 163, 184, 0.18);
}

body.acg-shell .dropdown-menu > .active > a,
body.acg-shell .dropdown-menu > .active > a:focus,
body.acg-shell .dropdown-menu > .active > a:hover {
    color: #0f172a;
    background: #e2e8f0;
}

body.acg-shell .dropdown-menu {
    color: #0f172a;
}

body.acg-shell .table-responsive .dropdown-menu {
    z-index: 2000;
}

body.acg-shell .table-responsive.dropdown-open,
body.acg-shell .table-responsive.dropdown-open .dataTables_wrapper,
body.acg-shell .table-responsive.dropdown-open table.table,
body.acg-shell .table-responsive.dropdown-open .dataTable {
    overflow: visible !important;
}

body.acg-shell .table-responsive.dropdown-open {
    position: relative;
    z-index: 1500;
}

body.acg-shell .table-responsive.dropdown-open td,
body.acg-shell .table-responsive.dropdown-open th {
    overflow: visible !important;
}

body.acg-shell .table-responsive.dropdown-open td:first-child,
body.acg-shell .table-responsive.dropdown-open th:first-child {
    position: relative;
    z-index: auto;
}

body.acg-shell .table-responsive.dropdown-open tbody > tr {
    position: relative;
    z-index: auto;
}

body.acg-shell .table-responsive.dropdown-open .dropdown {
    position: relative;
    z-index: 3000;
}

body.acg-shell .table-responsive.dropdown-open .dropdown.open {
    z-index: 3001;
}

body.acg-shell .table-responsive.dropdown-open .dropdown-menu {
    position: relative;
    z-index: 3001;
    background: #fff;
    background-clip: padding-box;
    isolation: isolate;
}

body.acg-shell .table-responsive.dropdown-open tbody > tr.dropdown-row-open {
    z-index: 3500;
}

body.acg-shell .table-responsive.dropdown-open tbody > tr.dropdown-row-open > td,
body.acg-shell .table-responsive.dropdown-open tbody > tr.dropdown-row-open > th {
    position: relative;
    z-index: 3500;
    overflow: visible !important;
}

body.acg-shell .table-responsive.dropdown-open tbody > tr.dropdown-row-open > td.dropdown-cell-open,
body.acg-shell .table-responsive.dropdown-open tbody > tr.dropdown-row-open > th.dropdown-cell-open {
    z-index: 3605;
}

body.acg-shell .table-responsive.dropdown-open tbody > tr.dropdown-row-open .dropdown,
body.acg-shell .table-responsive.dropdown-open tbody > tr.dropdown-row-open .dropdown.open {
    z-index: 3600;
}

body.acg-shell .table-responsive.dropdown-open tbody > tr.dropdown-row-open .dropdown-menu {
    z-index: 3601;
}

body.acg-shell .table-responsive.dropdown-open .dropdown-menu > li,
body.acg-shell .table-responsive.dropdown-open .dropdown-menu > li > a {
    position: relative;
    z-index: 3602;
    background: #fff;
}

body.acg-shell .table-responsive.dropdown-open .dropdown-menu > li > a:hover,
body.acg-shell .table-responsive.dropdown-open .dropdown-menu > li > a:focus {
    background: #f5f7fb;
}

body.acg-shell .bootstrap-select .dropdown-menu li.selected a,
body.acg-shell .bootstrap-select .dropdown-menu li.selected a:focus,
body.acg-shell .bootstrap-select .dropdown-menu li.selected a:hover {
    color: #0f172a;
    background: #e2e8f0;
}

body.acg-shell .bootstrap-select .dropdown-menu li.selected span.text {
    color: #0f172a;
}

body.acg-shell .bootstrap-select .dropdown-menu li a:hover,
body.acg-shell .bootstrap-select .dropdown-menu li a:focus {
    color: #0f172a;
    background: #f8fafc;
}

.sast-job-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sast-job-cancel-btn {
    white-space: nowrap;
}
    

/* Added for table centering */
table.table td, table.table th, .dt-center {
    text-align: center !important;
    vertical-align: middle !important;
}

.severity-Critical,
.severity-High,
.severity-Medium,
.severity-Low,
.severity-Info {
    color: white !important;
}

/* Exploit Intelligence section — left-align content */
#vuln_intel table.table td,
#vuln_intel table.table th {
    text-align: left !important;
}

/* Fix collapse menu alignment */
body.min #min-menu i { margin-left: -4px; }
body.max #min-menu i { margin-left: 2px; }
