/*
 * Shin Theme
 */

/* Prevent DataTables header chevron from wrapping to new line */
.dt-column-title {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  text-transform: uppercase;
}

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed
  .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu)
  .layout-page {
  padding-top: 74px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page
  .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu)
  .layout-page,
.docs-page
  .layout-menu-fixed.layout-wrapper:not(.layout-without-menu)
  .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/* Stops the annyoing transition on page load */
.preload * {
  animation-duration: 0s !important;
  -webkit-animation-duration: 0s !important;
  transition:
    background-color 0s,
    opacity 0s,
    color 0s,
    width 0s,
    height 0s,
    padding 0s,
    margin 0s !important;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir="rtl"] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

/* shin-badge web component */
shin-badge .badge {
  color: var(--bs-body-bg, #fff);
}

@media (max-width: 1020px) {
  shin-badge .badge {
    font-size: 0.9em;
    padding: 0.5em 0.75em;
  }
}

/* shin-pill web component */
.shin-pill {
  display: inline-flex;
  align-items: stretch;
  border-radius: 999px;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.12);
}
.shin-pill__label {
  padding: 0.3em 0.65em;
  color: var(--bs-body-bg, #fff);
  display: flex;
  align-items: center;
}
.shin-pill__label--ok {
  background-color: var(--bs-success);
  color: #000000;
}
.shin-pill__label--notok {
  background-color: var(--bs-danger);
  color: #ffffff;
}
.shin-pill__dot {
  padding: 0 0.55em;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}
.shin-pill__dot-circle {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.shin-btn-xs {
  width: 30px !important;
}

.shin-btn-md {
  width: 160px !important;
}

html.dark-style .card-header {
    padding: 0 1.5rem 0 1.5rem !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.2rem !important;
    color:#ffffff !important;

    h1, h2, h3, h4, h5, h6 {
      color:#ffffff !important;
      margin-bottom: 8px !important;
    }
}

html.light-style .card-header {
    padding: 0 1.5rem 0 8px !important;
    padding-top: 0.75rem !important;
    padding-bottom: 0.2rem !important;
    color:#ffffff !important;

    h1, h2, h3, h4, h5, h6 {
      color:#ffffff !important;
      margin-bottom: 8px !important;
    }
}

/*
* Typography
*/
.fs-7 {
  font-size: 0.9rem !important;
}

.fs-8 {
  font-size: 0.8rem !important;
}

.fs-9 {
  font-size: 0.7rem !important;
}

.fs-10 {
  font-size: 0.6rem !important;
}

.fs-11 {
  font-size: 0.5rem !important;
}

.mb-5-px {
  margin-bottom: 5px;
}

.mb-6-px {
  margin-bottom: 6px;
}

.mb-8-px {
  margin-bottom: 8px;
}

.mb-10-px {
  margin-bottom: 10px;
}

.mt-5-px {
  margin-top: 5px;
}

.mt-10-px {
  margin-top: 10px;
}

/* Utility: constrain column/cell width for truncation */
.width-10 {
  width: 10px;
}

.width-60 {
  width: 60px;
}

.width-80 {
  width: 80px;
}

.width-100 {
  width: 100px;
}

.width-120 {
  width: 120px;
}

.width-140 {
  width: 140px;
}

.width-150 {
  width: 150px !important;
}

.width-160 {
  width: 160px;
}

.width-180 {
  width: 180px;
}

.width-200 {
  width: 200px;
}

.width-220 {
  width: 220px;
}

.width-240 {
  width: 240px;
}

.width-250 {
  width: 250px;
}

.width-260 {
  width: 260px;
}

.width-280 {
  width: 280px;
}

.width-300 {
  width: 300px;
}

.width-400 {
  width: 400px;
}

.width-500 {
  width: 500px;
}

.min-width-40 {
  min-width: 40px;
}

.min-width-60 {
  min-width: 60px;
}

.min-width-80 {
  min-width: 80px;
}

.min-width-100 {
  min-width: 100px;
}

.min-width-120 {
  min-width: 120px;
}

.min-width-140 {
  min-width: 140px;
}

.min-width-150 {
  min-width: 150px;
}

.min-width-160 {
  min-width: 160px;
}

.min-width-180 {
  min-width: 180px;
}

.min-width-200 {
  min-width: 200px;
}

.min-width-220 {
  min-width: 220px;
}

.min-width-240 {
  min-width: 240px;
}

.min-width-260 {
  min-width: 260px;
}

.min-width-280 {
  min-width: 280px;
}

.min-width-300 {
  min-width: 300px;
}

.min-width-325 {
  min-width: 325px;
}

.min-width-400 {
  min-width: 400px;
}

.min-width-500 {
  min-width: 500px;
}

.max-width-50 {
  max-width: 50px;
}

.max-width-100 {
  max-width: 100px;
}

.max-width-120 {
  max-width: 120px;
}

.max-width-140 {
  max-width: 140px;
}

.max-width-150 {
  max-width: 150px;
}

.max-width-160 {
  max-width: 160px;
}

.max-width-180 {
  max-width: 180px;
}

.max-width-200 {
  max-width: 200px;
}

.max-width-220 {
  max-width: 220px;
}

.max-width-240 {
  max-width: 240px;
}

.max-width-250 {
  max-width: 250px;
}

.max-width-260 {
  max-width: 260px;
}

.max-width-280 {
  max-width: 280px;
}

.max-width-300 {
  max-width: 300px;
}

.max-width-400 {
  max-width: 400px;
}

.max-width-500 {
  max-width: 500px;
}

.min-height-180 {
  min-height: 180px !important;
}

.min-height-200 {
  min-height: 200px !important;
}

.min-height-250 {
  min-height: 250px !important;
}

.min-height-270 {
  min-height: 270px !important;
}

.min-height-300 {
  min-height: 300px !important;
}

.min-height-400 {
  min-height: 400px !important;
}

.min-height-440 {
  min-height: 440px !important;
}

.min-height-450 {
  min-height: 450px !important;
}

.min-height-500 {
  min-height: 500px !important;
}

.min-height-540 {
  min-height: 540px !important;
}

.min-height-560 {
  min-height: 560px !important;
}

.min-height-580 {
  min-height: 580px !important;
}

.min-height-640 {
  min-height: 640px !important;
}

.min-height-700 {
  min-height: 700px !important;
}

.min-height-840 {
  min-height: 840px !important;
}

.min-height-900 {
  min-height: 900px !important;
}

.height-240 {
  height: 240px !important;
}

.height-270 {
  height: 270px !important;
}

.height-300 {
  height: 300px !important;
}

.height-310 {
  height: 310px !important;
}

.height-320 {
  height: 320px !important;
}

.height-330 {
  height: 330px !important;
}

.height-360 {
  height: 360px !important;
}

.height-380 {
  height: 380px !important;
}

.height-440 {
  height: 440px !important;
}

.height-450 {
  height: 450px !important;
}

.height-540 {
  height: 540px !important;
}

.height-560 {
  height: 560px !important;
}

.height-640 {
  height: 640px !important;
}

.height-700 {
  height: 700px !important;
}

.height-800 {
  height: 800px !important;
}

.height-840 {
  height: 840px !important;
}

.height-900 {
  height: 900px !important;
}

/* .text-truncate {
    width: 231px;
    position: relative;
} */

.text-total-black {
    color: #000000 !important;
}

/* DataTables: sortable column header indicators */
thead tr th:first-child {
  border-radius: 8px 0 0 8px;
  padding-left: 0.5rem !important;
}

thead tr th:last-child {
  border-radius: 0 8px 8px 0;
}

/* Responsive corner rounding: applied by JS to first/last *visible* header */
thead tr th.th-first-visible {
  border-radius: 8px 0 0 8px !important;
}

thead tr th.th-last-visible {
  border-radius: 0 8px 8px 0 !important;
}

/* Remove thead/tbody divider line (Bootstrap 5 sets it on the cells) */
.table > thead > tr > th,
.table > thead > tr > td {
  border-bottom-width: 0 !important;
}

table tbody tr:first-child {
  border-top: unset !important;
}

table tbody tr:first-child > td,
table tbody tr:first-child > th {
  border-top-width: 0 !important;
}

table tbody tr td:first-child {
  padding-left: 0.5rem !important;
}

table th:not([class*="fs-"]) {
  text-transform: unset !important;
}

 #domains-table_wrapper .row:first-child {
    display: none !important;
    visibility: hidden !important;
}

#known-domains-card .domain-filter-select {
    min-width: 80px;
    min-height: unset !important;
    height: 30px !important;
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
    font-size: 0.75rem !important;
}

/* Known domains table: short headers on mobile, long on desktop */
#domains-table .col-domain-long {
    display: none;
}

#domains-table .col-domain-xs {
    display: inline;
}

/* Domain column: truncate with ellipsis on mobile */
#domains-table th.width-domain-col,
#domains-table td.width-domain-col {
    max-width: 80px;
    font-size: 0.8rem;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (min-width: 870px) {
    #domains-table .col-domain-long {
        display: inline;
    }

    #domains-table .col-domain-xs {
        display: none;
    }

    #domains-table th.width-domain-col,
    #domains-table td.width-domain-col {
        max-width: none;
        width: 300px;
    }
}

@media (min-width: 800px) {
    #known-domains-card .domain-filter-row {
        flex-direction: column !important;
    }
}

/* Services table: responsive headers */
#serviceconstituents-table .col-svc-long {
    display: none;
}

#serviceconstituents-table .col-svc-xs {
    display: inline;
}

/* Service name column: truncate on mobile */
#serviceconstituents-table td.svc-name-cell {
    max-width: 55px;
    font-size: 0.7rem;
}

/* Responsive th font size: smaller on mobile */
#serviceconstituents-table th.row-header {
    font-size: 0.7rem !important;
}

/* Contract ID: indicate clickability */
#serviceconstituents-table td.cid-cell,
#serviceconstituents-table td.sla-cell  {
    cursor: pointer;
    user-select: none;
    font-size: 0.7rem;
}

#serviceconstituents-table .col-sla-long {
    display: none;
}

#serviceconstituents-table .col-sla-xs {
    display: inline;
}

#serviceconstituents-table .col-cid-long {
    display: none;
}

#serviceconstituents-table .col-cid-xs {
    display: inline;
}

@media (min-width: 800px) {
    #serviceconstituents-table .col-sla-long {
        display: inline;
    }

    #serviceconstituents-table .col-sla-xs {
        display: none;
    }

    #serviceconstituents-table .col-cid-long {
        display: inline;
    }

    #serviceconstituents-table .col-cid-xs {
        display: none;
    }
}

@media (min-width: 650px) {
    #serviceconstituents-table .col-svc-long {
        display: inline;
    }

    #serviceconstituents-table .col-svc-xs {
        display: none;
    }

    #serviceconstituents-table th.row-header {
        font-size: 0.8rem !important;
    }

    #serviceconstituents-table td.cid-cell,
    #serviceconstituents-table td.sla-cell  {
        font-size: unset;
    }
}

@media (min-width: 810px) and (max-width: 1299px) {
    #serviceconstituents-table td.svc-name-cell {
        max-width: 120px;
        font-size: 0.8rem;
    }
}

@media (min-width: 1300px) {
    #serviceconstituents-table td.svc-name-cell {
        max-width: none;
        font-size: unset;
    }
}

/* Services table: IPS badge → single-letter mini badge at xs */
#serviceconstituents-table .col-ips-cell shin-badge .badge {
    font-size: 0.65em;
    padding: 0.3em 0.35em;
    width: 2.2em;
    min-width: 0 !important;
    border-radius: 0.25rem;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
}

/* Services table: hide IPS column below 810px breakpoint */
#serviceconstituents-table .col-ips-hide-xs .col-ips-hide-content {
    display: none;
}

@media (min-width: 810px) {
    #serviceconstituents-table .col-ips-hide-xs .col-ips-hide-content {
        display: contents;
    }

    #serviceconstituents-table .col-ips-cell shin-badge .badge {
        font-size: 0.75em;
        padding: 0.35em 0.65em;
        width: auto;
        height: auto;
        min-width: unset !important;
        border-radius: 0.375rem;
    }
}

/* Services table: hide Contract ID column below 810px breakpoint */
#serviceconstituents-table .col-cid-hide-xs .col-cid-hide-content {
    display: none;
}

@media (min-width: 810px) {
    #serviceconstituents-table .col-cid-hide-xs .col-cid-hide-content {
        display: contents;
    }
}

/* SKU governance table: responsive headers */
#sku-governance-table .col-domain-long {
    display: none;
}

#sku-governance-table .col-domain-xs {
    display: inline;
}

#sku-governance-table .sku-description-col {
    display: none;
}

.status-dot {
    width: 15px;
    height: 15px;
}

#sku-governance-table td.sku-tag-cell {
    max-width: 60px;
    margin-right: 0.3rem;
}



/* Hide additional tenant row if it contains no tenant spans */
.additional-tenant-row:not(:has(.azure-tenant-id)) {
    display: none !important;
}

.pending-service-badge {
    font-size: 0.65rem !important;
}

@media (min-width: 650px) {
    .pending-service-badge {
        font-size: 0.75rem !important;
    }
}

/* Pending services select2: warning background with black text (readable in dark mode) */
#id_pending_services + .select2 .select2-selection__choice {
    background-color: var(--bs-warning) !important;
    border-color: var(--bs-warning) !important;
    color: #000 !important;
}

#id_pending_services + .select2 .select2-selection__choice .select2-selection__choice__display,
#id_pending_services + .select2 .select2-selection__choice .select2-selection__choice__remove {
    color: #000 !important;
}

/* SKU service column: truncate on mobile */
#sku-governance-table th.width-280,
#sku-governance-table td.width-sku-svc {
    max-width: 90px;
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* SKU description column: reduce max-width on mobile */
#sku-governance-table td.max-width-220 {
    max-width: 70px;
}

@media (min-width: 650px) {
    #sku-governance-table .col-domain-long {
        display: inline;
    }

    #sku-governance-table .col-domain-xs {
        display: none;
    }

    #sku-governance-table th.width-280 {
        max-width: none;
        width: 280px;
    }

    #sku-governance-table td.width-sku-svc {
        max-width: none;
    }

    #sku-governance-table td.max-width-220 {
        max-width: 220px;
    }

    #sku-governance-table td.sku-tag-cell {
        max-width: none;
    }
}

@media (min-width: 900px) {
    #sku-governance-table .sku-description-col {
        display: table-cell;
    }

    /* 900–1300px: show abbreviated header, keep td truncated */
    #sku-governance-table .sku-description-col .col-domain-long {
        display: none;
    }

    #sku-governance-table .sku-description-col .col-domain-xs {
        display: inline;
    }

    #sku-governance-table td.sku-description-col {
        max-width: 120px;
    }
}

@media (min-width: 1300px) {
    /* 1300px+: show full description header */
    #sku-governance-table .sku-description-col .col-domain-long {
        display: inline;
    }

    #sku-governance-table .sku-description-col .col-domain-xs {
        display: none;
    }

    #sku-governance-table td.sku-description-col {
        max-width: 220px;
    }
}

/* Force actions column to shrink-wrap its content and align right */
.col-actions-shrink {
    width: 1px;
    white-space: nowrap;
}

/* Config table: name cell */
.config-name-cell { font-size: 0.875rem; }

@media (max-width: 699.98px) {
    .config-name-cell { font-size: 0.7rem; word-break: break-all; }
}

/* Fixed width for the 'Admins only' column in config tables */
.col-admins-only {
    width: 140px !important;
}

/* Config table: description/helptext — short (32 chars) shown below 1300px, long (160 chars) above */
.col-config-desc-short { display: inline; }
.col-config-desc-long  { display: none; }

/* Config table: help text column hidden below 1500px */
.col-config-helptext { display: none; }

/* Config table: description column hidden below ~1030px */
.col-config-description { display: none; }

/* Audit log table: date column — no wrapping */
.audit-log-date-col { white-space: nowrap; }

/* Audit log table: comment content hidden below 1200px */
.audit-log-comment-content { display: none; }

/* Audit log table: configuration column — short text below 900px, long above */
.audit-log-config-short { display: inline; }
.audit-log-config-long  { display: none; }


.cursor-pointer {
    cursor: pointer;
}

/* SKU conflicts list: description cell */
#sku-conflicts-table .conflict-description-cell {
    word-wrap: break-word;
    max-width: 300px;
    white-space: normal;
}

.rule-tag-abbr { display: none; }
@media (max-width: 999px) {
    shin-badge.rule-tag-full { display: none; }
    shin-badge.rule-tag-abbr { display: inline; }
    shin-badge.rule-tag-abbr .badge { font-size: 0.85em; }
}

.filter-text-xs { display: none; }
.shin-dt-page-length-select { width: auto; }
.card-footer:has(.shin-dt-footer-center) { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.shin-dt-footer-center { flex: 1 1 100%; display: flex; flex-direction: column; align-items: center; }
.shin-dt-footer-center .dataTables_info { text-align: center; }
.shin-dt-footer-page-length { display: flex; align-items: center; margin-left: auto; }
@media (max-width: 575px) {
    .filter-text-full { display: none; }
    .filter-text-xs { display: inline; }
}

#sku-conflicts-table .conflict-col-hide-xs .conflict-col-hide-content {
    display: none;
}
@media (min-width: 870px) {
    #sku-conflicts-table .conflict-col-hide-xs .conflict-col-hide-content {
        display: contents;
    }
}

#sku-conflicts-table .conflict-desc-status-icon { display: none; }
@media (max-width: 869px) {
    #sku-conflicts-table .conflict-desc-status-icon { display: inline; }
}

#sku-conflicts-table .conflict-description-cell a {
    color: #0d6efd;
    text-decoration: underline;
    word-break: break-all;
}

html.dark-style #sku-conflicts-table .conflict-description-cell a.vimana-url-link {
    color: #8ab4f8;
}

#sku-conflicts-table .conflict-description-cell a:hover {
    color: #0a58ca;
}

html .card {
  margin-bottom: 1rem !important;
}

.shin-card-header {
  background-color: #5f259f !important;
  color: #ffffff;
}

#search_bar_control_status_snippet {
  border-radius: 7px 0 0 7px;
  height: 100%;
}

/* Hide the original search-bars from DataTables, since we are using our own custom styled search input */
.dataTables_filter {
  display: none;
}

#tag_add_form {
    position: absolute;
    z-index: 999;
    background-color: var(--bs-card-bg);
    padding: 10px;
    margin-top: 25px;
    min-width: 280px;
    box-shadow: 5px 5px 11px 5px rgba(0,0,0,0.05);
    border-radius: 4px;
}

html.dark-style select.form-select option {
	line-height: 1rem !important;
  color: #ffffff !important;
}

select.form-select {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

html.dark-style #tag_add_form,
html.dark-style .select2-dropdown {
    --body-fg: #cbcbe2;
    --body-bg: #2b2c40;
    --darkened-bg: rgba(124, 125, 182, 0.12);
    --border-color: #444564;
    --selected-bg: rgba(124, 125, 182, 0.2);
}

.select2-container--default .select2-selection--multiple {
    background-color: var(--bs-card-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
    border-radius: 4px;
    min-height: 80px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--bs-secondary-bg) !important;
    border-color: var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    color: var(--bs-body-color) !important;
}

.select2-container--default .select2-selection__rendered {
    color: var(--bs-body-color) !important;
}

.select2-container--default .select2-results__option {
    color: var(--bs-body-color);
}

.select2-container--default .select2-search--inline .select2-search__field {
    background-color: transparent !important;
    color: var(--bs-body-color) !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    background-color: var(--bs-card-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

.select2-search__field:focus {
    outline: none;
}

.select2-dropdown {
    background-color: var(--bs-body-bg) !important;
    border-color: var(--bs-border-color) !important;
}

.select2-selection__arrow {
    visibility: hidden;
}

.select2 {
    display: block !important;
}

table.dataTable thead th {
  cursor: pointer;
  position: relative;
  padding-right: 0.6rem;
  white-space: nowrap;
  line-height: 2rem;
}

table.dataTable thead th {
  position: relative;
}

table.dataTable thead th::after {
  font-family: "bootstrap-icons";
  position: static;
  /* margin-left: 0.5em; */
  vertical-align: middle;
  opacity: 0.3;
  content: "\f282"; /* bi-chevron-expand */
  display: inline-block;
}

table.dataTable thead th.sorting_asc::after {
  content: "\f235"; /* bi-chevron-up */
  opacity: 1;
}

table.dataTable thead th.sorting_desc::after {
  content: "\f229"; /* bi-chevron-down */
  opacity: 1;
}

table.dataTable thead th.sorting_disabled {
  cursor: default;
  padding-right: 0.75rem !important;
}

table.dataTable thead th.sorting_disabled::after {
  content: none;
}

/* match fa icons to the size of box-icons */
i fa-regular fa-solid {
  font-size: 0.86rem;
}

/** Responsive Media Queries */
/* Extra small devices (phones, less than 576px) - Begin */
div.d-flex.flex-column.col-general-info-buttons {
  display: none !important;
}

.general-info-logo {
  width: 102px;
  height: 102px;
}

.general-info-logo-svg {
  font-size: 80px !important;
  color: --(primary-text-color) !important;
}

.col-general-info-buttons-xs {
  display: block;
}

.col-author {
  display: none;
}

.col-advisor-name {
  min-width: 80px;
}

.col-date {
  min-width: 50px;
}

.col-audit-comment {
  width: 120px;
}

.col-updated-by {
  display: none;
}

.col-audit-comment {
  min-width: 140px;
}

.col-meeting-facilitator {
  display: none;
}

.col-meeting-items-done-short-text {
  display: none;
}

.col-meeting-items-done-long-text {
  display: none;
}

.col-actions {
  display: none;
  text-align: left;
}

.col-actions-xs {
  display: inline;
  text-align: left;
}

#comments-table th.col-date {
  border-radius: 8px 0 0 8px;
}

#comments-table td div.comment-author-xs {
  display: block;
  font-weight: 600;
}

/* .col-contacts-name {

} */

.col-contacts-priority-long-text {
  display: none;
}

.col-contacts-priority-xs {
  display: table-cell;
}

.col-contacts-emergency-long-text {
  display: none;
}

.col-contacts-emergency-icon-xs {
  display: table-cell;
  width: 20px !important;
}

.col-contacts-updated-date {
  display: none;
}

.col-contacts-phone-long-text {
  display: none;
}

.col-contacts-phone-icon-xs {
  display: table-cell;
}

.col-contacts-email-long-text {
  display: none;
}

.col-contacts-email-icon-xs {
  display: table-cell;
}

.col-observable-technical {
  display: none;
}

.search-bar-input {
  border-radius: 7px 0 0 7px;
  height: 100%;
}

.search-group-sm {
  max-width: 100%;
  min-width: 100px;
}

.table-row-clickable {
  cursor: pointer;
}

.table-avatar {
  width: 60px;
  height: 60px;
}

.table-avatar-icon {
  font-size: 50px;
}

.card-footer {
  padding-top: unset !important;
}

.table > :not(caption) > * > * {
  padding: 0.2rem !important;
}

.table th {
  letter-spacing: 0px !important;
}

.btn-xs,
.btn-group-xs > .btn {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
/* Extra small devices (phones, less than 576px) - End */

@media (min-width: 400px) {


}

/* Card header toolbar: stack on narrow, side-by-side at 700px+ */
.search-btn-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
@media (min-width: 700px) {
  .search-btn-row {
    flex-direction: row;
    align-items: center;
  }
  .search-btn-row > .input-group {
    margin-bottom: 0;
  }
}

@media (min-width: 455px) {

}

@media (min-width: 500px) {


}

@media (min-width: 576px) {
  .col-general-info-buttons-original {
    display: none;
  }

  .col-general-info-buttons-xs {
    display: block;
  }

  .col-author {
    display: none;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: none;
  }

  .col-audit-comment {
    min-width: 160px;
  }

  .col-meeting-facilitator {
    display: none;
  }

  .col-meeting-items-done-short-text {
    display: table-cell;
  }

  .col-meeting-items-done-long-text {
    display: none;
  }

  .col-actions {
    display: none;
    text-align: right;
  }

  #comments-table th.col-date {
    border-radius: 8px 0 0 8px;
  }

  #comments-table td div.comment-author-xs {
    display: block;
    font-weight: 600;
  }

  .col-contacts-priority-long-text {
    display: none;
  }

  .col-contacts-priority-xs {
    display: table-cell;
  }

  .col-contacts-emergency-long-text {
    display: none;
  }

  .col-contacts-emergency-icon-xs {
    display: table-cell;
  }

  .col-contacts-updated-date {
    display: none;
  }

  .col-contacts-phone-long-text {
    display: none;
  }

  .col-contacts-phone-icon-xs {
    display: table-cell;
  }

  .col-contacts-email-long-text {
    display: none;
  }

  .col-contacts-email-icon-xs {
    display: table-cell;
  }
}

@media (max-width: 576px) {
  .controls-status-cell {
    flex-wrap: wrap;
  }
  .controls-status-cell shin-badge {
    flex-basis: 100%;
  }
  .input-group:has(#search_bar_control_status_snippet) {
    flex-wrap: nowrap !important;
  }
  .input-group:has(#search_bar_control_status_snippet) > div {
    max-width: 120px;
    min-width: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    max-height: 28px;
  }
  #search_bar_control_status_snippet {
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    width: 100%;
    min-width: 0;
    height: 28px;
    line-height: 1.2;
  }
  .input-group:has(#search_bar_control_status_snippet) button {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    flex-shrink: 0;
    height: 28px;
    line-height: 1.2;
  }
}

@media (min-width: 650px) {
  .col-general-info-buttons-original {
    display: none;
  }

  .col-general-info-buttons-xs {
    display: block;
  }

  .col-author {
    display: none;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: none;
  }

  .col-audit-comment {
    min-width: 100px;
  }

  .col-meeting-facilitator {
    display: none;
  }

  .col-meeting-items-done-short-text {
    display: table-cell;
  }

  .col-meeting-items-done-long-text {
    display: none;
  }

  .col-actions {
    display: none;
    text-align: right;
  }

  .col-actions-xs {
    display: inline;
    text-align: left;
  }

  #comments-table th.col-date {
    border-radius: 8px 0 0 8px;
  }

  #comments-table td div.comment-author-xs {
    display: block;
    font-weight: 600;
  }

  .col-contacts-priority-long-text {
    display: none;
  }

  .col-contacts-priority-xs {
    display: table-cell;
  }

  .col-contacts-emergency-long-text {
    display: none;
  }

  .col-contacts-emergency-icon-xs {
    display: table-cell;
  }

  .col-contacts-updated-date {
    display: none;
  }

  .col-contacts-phone-long-text {
    display: none;
  }

  .col-contacts-phone-icon-xs {
    display: table-cell;
  }

  .col-contacts-email-long-text {
    display: none;
  }

  .col-contacts-email-icon-xs {
    display: table-cell;
  }

  .search-group-sm {
    max-width: 100%;
    min-width: 100px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

  .col-general-info-buttons-original {
    display: block;
  }

  .col-general-info-buttons-xs {
    display: none;
  }

  .col-author {
    display: table-cell;
    min-width: 160px;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: none;
  }

  .col-audit-comment {
    min-width: 100px;
  }

  .col-meeting-facilitator {
    display: none;
  }

  .col-meeting-items-done-short-text {
    display: table-cell;
  }

  .col-meeting-items-done-long-text {
    display: none;
  }

  .col-actions {
    display: none;
    text-align: right;
  }

  .col-actions-xs {
    display: inline;
    text-align: left;
  }

  #comments-table th.col-date {
    border-radius: unset;
  }

  #comments-table td div.comment-author-xs {
    display: block;
    font-weight: 600;
  }

  .col-contacts-priority-long-text {
    display: none;
  }

  .col-contacts-priority-xs {
    display: table-cell;
  }

  .col-contacts-emergency-long-text {
    display: none;
  }

  .col-contacts-emergency-icon-xs {
    display: table-cell;
  }

  .col-contacts-updated-date {
    display: none;
  }

  .col-contacts-phone-long-text {
    display: none;
  }

  .col-contacts-phone-icon-xs {
    display: table-cell;
  }

  .col-contacts-email-long-text {
    display: none;
  }

  .col-contacts-email-icon-xs {
    display: table-cell;
  }

  .search-group-sm {
    max-width: 250px;
    min-width: 100px;
  }
}

@media (min-width: 870px) {
  .col-author {
    display: table-cell;
    min-width: 160px;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: visible;
  }

  .col-audit-comment {
    min-width: 300px;
  }

  .col-meeting-facilitator {
    display: table-cell;
  }

  .col-meeting-items-done-short-text {
    display: table-cell;
  }

  .col-meeting-items-done-long-text {
    display: none;
  }

  .col-actions {
    display: inline;
    text-align: right;
  }

  .col-actions-xs {
    display: none;
    text-align: left;
  }

  #comments-table th.col-date {
    border-radius: 8px 0 0 8px;
  }

  #comments-table td div.comment-author-xs {
    display: block;
    font-weight: 600;
  }

  .col-contacts-priority-long-text {
    display: none;
  }

  .col-contacts-priority-xs {
    display: table-cell;
  }

  .col-contacts-emergency-long-text {
    display: none;
  }

  .col-contacts-emergency-icon-xs {
    display: table-cell;
  }

  .col-contacts-updated-date {
    display: none;
  }

  .col-contacts-phone-long-text {
    display: none;
  }

  .col-contacts-phone-icon-xs {
    display: table-cell;
  }

  .col-contacts-email-long-text {
    display: none;
  }

  .col-contacts-email-icon-xs {
    display: table-cell;
  }

  .col-observable-technical {
    display: table-cell;
  }

  .search-group-sm {
    max-width: 300px;
    min-width: 100px;
  }
}

@media (min-width: 900px) {
  .table th {
    letter-spacing: 1px !important;
  }

  thead tr th:first-child {
    border-radius: 8px 0 0 8px;
  }

  thead tr th:last-child {
    border-radius: 0 8px 8px 0;
  }

  .col-author {
    display: table-cell;
    min-width: 160px;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: visible;
  }

  .col-audit-comment {
    min-width: 300px;
  }

  .col-meeting-facilitator {
    display: table-cell;
  }

  .col-meeting-items-done-short-text {
    display: table-cell;
  }

  .col-meeting-items-done-long-text {
    display: none;
  }

  .col-actions {
    display: inline;
    text-align: right;
  }

  .col-actions-xs {
    display: none;
    text-align: left;
  }

  #comments-table th.col-date {
    border-radius: unset;
  }

  #comments-table td div.comment-author-xs {
    display: none;
  }

  .col-contacts-priority-long-text {
    display: table-cell;
  }

  .col-contacts-priority-xs {
    display: none;
  }

  .col-contacts-emergency-long-text {
    display: none;
  }

  .col-contacts-emergency-icon-xs {
    display: table-cell;
  }

  .col-contacts-updated-date {
    display: none;
  }

  .col-contacts-phone-long-text {
    display: table-cell;
  }

  .col-contacts-phone-icon-xs {
    display: none;
  }

  .col-contacts-email-long-text {
    display: table-cell;
  }

  .col-contacts-email-icon-xs {
    display: none;
  }

  .search-group-sm {
    max-width: 400px;
    min-width: 100px;
  }
}

/* Large devices (desktops, 992px and up)  */
@media (min-width: 1010px) {
  div.d-flex.flex-column.col-general-info-buttons {
    display: flex !important;
  }

  .col-general-info-buttons-xs {
    display: none !important;
  }

  .col-author {
    display: table-cell;
    min-width: 220px;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: table-cell;
  }

  .col-audit-comment {
    min-width: 300px;
  }

  .col-meeting-facilitator {
    display: table-cell;
  }

  .col-meeting-items-done-short-text {
    display: none;
  }

  .col-meeting-items-done-long-text {
    display: table-cell;
  }

  .col-actions {
    display: inline;
    text-align: right;
  }

  .col-actions-xs {
    display: none;
  }

  #comments-table th.col-date {
    border-radius: unset;
  }

  #comments-table td div.comment-author-xs {
    display: none;
  }

  .col-contacts-priority-long-text {
    display: table-cell;
  }

  .col-contacts-priority-xs {
    display: none;
  }

  .col-contacts-emergency-long-text {
    display: table-cell;
  }

  .col-contacts-emergency-icon-xs {
    display: none;
  }

  .col-contacts-updated-date {
    display: none;
  }

  .col-contacts-phone-long-text {
    display: table-cell;
  }

  .col-contacts-phone-icon-xs {
    display: none;
  }

  .col-contacts-email-long-text {
    display: table-cell;
  }

  .col-contacts-email-icon-xs {
    display: none;
  }
}

@media (min-width: 1100px) {
  .col-author {
    display: table-cell;
    min-width: 220px;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: table-cell;
  }

  .col-audit-comment {
    min-width: 300px;
  }

  .col-meeting-facilitator {
    display: table-cell;
  }

  .col-meeting-items-done-short-text {
    display: none;
  }

  .col-meeting-items-done-long-text {
    display: table-cell;
  }

  .col-actions {
    display: inline;
    text-align: right;
  }

  .col-actions-xs {
    display: none;
  }

  #comments-table th.col-date {
    border-radius: unset;
  }

  #comments-table td div.comment-author-xs {
    display: none;
  }

  .col-contacts-priority-long-text {
    display: table-cell;
  }

  .col-contacts-priority-xs {
    display: none;
  }

  .col-contacts-emergency-long-text {
    display: table-cell;
  }

  .col-contacts-emergency-icon-xs {
    display: none;
  }

  .col-contacts-updated-date {
    display: none;
  }

  .col-contacts-phone-long-text {
    display: table-cell;
  }

  .col-contacts-phone-icon-xs {
    display: none;
  }

  .col-contacts-email-long-text {
    display: table-cell;
  }

  .col-contacts-email-icon-xs {
    display: none;
  }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .col-author {
    display: table-cell;
    min-width: 220px;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: table-cell;
  }

  .col-audit-comment {
    min-width: 300px;
  }

  .col-meeting-facilitator {
    display: table-cell;
  }

  .col-meeting-items-done-short-text {
    display: none;
  }

  .col-meeting-items-done-long-text {
    display: table-cell;
  }

  .col-actions {
    display: inline;
    text-align: right;
  }

  .col-actions-xs {
    display: none;
  }

  #comments-table th.col-date {
    border-radius: unset;
  }

  #comments-table td div.comment-author-xs {
    display: none;
  }

  .col-contacts-priority-long-text {
    display: table-cell;
  }

  .col-contacts-priority-xs {
    display: none;
  }

  .col-contacts-emergency-long-text {
    display: table-cell;
  }

  .col-contacts-emergency-icon-xs {
    display: none;
  }

  .col-contacts-updated-date {
    display: none;
  }

  .col-contacts-phone-long-text {
    display: table-cell;
  }

  .col-contacts-phone-icon-xs {
    display: none;
  }

  .col-contacts-email-long-text {
    display: table-cell;
  }

  .col-contacts-email-icon-xs {
    display: none;
  }
}

@media (min-width: 1315px) {
  .col-author {
    display: table-cell;
    min-width: 180px;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: table-cell;
  }

  .col-audit-comment {
    min-width: 300px;
  }

  .col-meeting-facilitator {
    display: table-cell;
  }

  .col-actions {
    display: inline;
    text-align: right;
  }

  .col-actions-xs {
    display: none;
  }

  .col-config-desc-short { display: none; }
  .col-config-desc-long  { display: inline; }

  .col-config-description { display: table-cell; }

  #comments-table th.col-date {
    border-radius: unset;
  }

  #comments-table td div.comment-author-xs {
    display: none;
  }

  .col-contacts-priority-long-text {
    display: table-cell;
  }

  .col-contacts-priority-xs {
    display: none;
  }

  .col-contacts-emergency-long-text {
    display: table-cell;
  }

  .col-contacts-emergency-icon-xs {
    display: none;
  }

  .col-contacts-updated-date {
    display: none;
  }

  .col-meeting-items-done-short-text {
    display: none;
  }

  .col-meeting-items-done-long-text {
    display: table-cell;
  }

  .col-contacts-phone-long-text {
    display: table-cell;
  }

  .col-contacts-phone-icon-xs {
    display: none;
  }

  .col-contacts-email-long-text {
    display: table-cell;
  }

  .col-contacts-email-icon-xs {
    display: none;
  }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .col-author {
    display: table-cell;
    min-width: 220px;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: table-cell;
  }

  .col-audit-comment {
    min-width: 300px;
  }

  .col-meeting-facilitator {
    display: table-cell;
  }

  .col-meeting-items-done-short-text {
    display: none;
  }

  .col-meeting-items-done-long-text {
    display: table-cell;
  }

  .col-actions {
    display: inline;
    text-align: right;
  }

  .col-actions-xs {
    display: none;
  }

  #comments-table th.col-date {
    border-radius: unset;
  }

  #comments-table td div.comment-author-xs {
    display: none;
  }

  .col-contacts-priority-long-text {
    display: table-cell;
  }

  .col-contacts-priority-xs {
    display: none;
  }

  .col-contacts-emergency-long-text {
    display: table-cell;
  }

  .col-contacts-emergency-icon-xs {
    display: none;
  }

  .col-contacts-updated-date {
    display: table-cell;
  }

  .col-contacts-phone-long-text {
    display: table-cell;
  }

  .col-contacts-phone-icon-xs {
    display: none;
  }

  .col-contacts-email-long-text {
    display: table-cell;
  }

  .col-contacts-email-icon-xs {
    display: none;
  }
}

/* XXL-Large devices (larger desktops, 1480px and up) */
@media (min-width: 1480px) {
  .col-author {
    display: table-cell;
    min-width: 220px;
  }

  .col-date {
    min-width: 160px;
  }

  .col-updated-by {
    display: table-cell;
  }

  .col-audit-comment {
    min-width: 300px;
  }

  .col-meeting-facilitator {
    display: table-cell;
  }

  .col-meeting-items-done-short-text {
    display: none;
  }

  .col-meeting-items-done-long-text {
    display: table-cell;
  }

  .col-actions {
    display: inline;
    text-align: right;
  }

  .col-actions-xs {
    display: none;
  }

  #comments-table th.col-date {
    border-radius: unset;
  }

  #comments-table td div.comment-author-xs {
    display: none;
  }

  .col-contacts-priority-long-text {
    display: table-cell;
  }

  .col-contacts-priority-xs {
    display: none;
  }

  .col-contacts-emergency-long-text {
    display: table-cell;
  }

  .col-contacts-emergency-icon-xs {
    display: none;
  }

  .col-contacts-updated-date {
    display: table-cell;
  }

  .col-contacts-phone-long-text {
    display: table-cell;
  }

  .col-contacts-phone-icon-xs {
    display: none;
  }

  .col-contacts-email-long-text {
    display: table-cell;
  }

  .col-contacts-email-icon-xs {
    display: none;
  }
}

@media (min-width: 900px) {
  .audit-log-config-short { display: none; }
  .audit-log-config-long  { display: inline; }
}

@media (min-width: 1200px) {
  .audit-log-comment-content { display: inline; }
  /* comment short/long only apply once the column is visible */
  .audit-log-comment-short { display: inline; }
  .audit-log-comment-long  { display: none; }
}

@media (min-width: 1400px) {
  .audit-log-comment-short { display: none; }
  .audit-log-comment-long  { display: inline; }
}

@media (min-width: 1500px) {
  .col-config-helptext { display: table-cell; }
}

/* XXYL-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1700px) {

}

/*
* ToasUI - Begin
*/

/* ToastUI WYSIWYG Editor */
html.dark-style {
  .toastui-editor-contents {
    li,
    ol,
    ul,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    b,
    strong,
    i,
    em,
    a,
    p,
    blockquote,
    code,
    pre,
    span,
    div,
    table,
    thead,
    tbody,
    tr,
    th,
    td,
    del {
      color: #ffffff !important;
    }
  }
}

/* ToastUI Markdown Editor */
html.dark-style {
  .ProseMirror,
  .toastui-editor-contents p,
  .toastui-editor-contents li,
  .toastui-editor-contents ol,
  .toastui-editor-contents ul,
  .toastui-editor-contents h1,
  .toastui-editor-contents h2,
  .toastui-editor-contents h3,
  .toastui-editor-contents h4,
  .toastui-editor-contents h5,
  .toastui-editor-contents h6,
  .toastui-editor-contents b,
  .toastui-editor-contents strong,
  .toastui-editor-contents i,
  .toastui-editor-contents em,
  .toastui-editor-contents a,
  .toastui-editor-contents blockquote,
  .toastui-editor-contents code,
  .toastui-editor-contents pre,
  .toastui-editor-contents span,
  .toastui-editor-contents div,
  .toastui-editor-contents table,
  .toastui-editor-contents thead,
  .toastui-editor-contents tbody,
  .toastui-editor-contents tr,
  .toastui-editor-contents th,
  .toastui-editor-contents td,
  .toastui-editor-contents del,
  .toastui-editor-md-table .toastui-editor-md-table-cell,
  .toastui-editor-md-marked-text,
  .toastui-editor-md-block-quote,
  .toastui-editor-md-delimiter,
  .toastui-editor-md-strike,
  .toastui-editor-md-thematic-break,
  .ProseMirror-trailingBreak,
  .toastui-editor-md-heading,
  .toastui-editor-md-heading1,
  .toastui-editor-md-heading2,
  .toastui-editor-md-heading3,
  .toastui-editor-md-heading4,
  .toastui-editor-md-heading5,
  .toastui-editor-md-heading6,
  #toastuiLinkUrlInput,
  #toastuiLinkTextInput {
    color: #ffffff !important;
  }
}

.markdown-container pre {
  padding: 18px 18px 18px 0;
}

html.dark-style .toastui-editor-contents pre {
  background: #333366 !important;
}

html.dark-style .toastui-editor-contents table,
.toastui-editor-contents table td,
.toastui-editor-contents table th {
  border-color: #ffffff !important;
}

html.dark-style div.toastui-editor-contents {
  background: #2b2c40 !important;
}

html.dark-style .toastui-editor-contents thead tr th:first-child {
  border-radius: unset !important;
}

/* Rendered Markdown in Views */
html.dark-style .markdown-container table {
  border-collapse: collapse;
  box-sizing: border-box;
  color: #ffffff !important;
  margin: 12px 0 14px;
  width: auto;
}

html.dark-style .markdown-container table {
  border-collapse: collapse;
  box-sizing: border-box;
  margin: 12px 0 14px;
  width: auto;
}

html.dark-style {
  .markdown-container {
    table,
    table td,
    table th {
      border: 1px solid #ffffff !important;
      color: #ffffff !important;
      height: 32px;
      padding: 5px 14px 5px 12px;
      border-radius: unset !important;
    }
  }
}

html.light-style {
  .markdown-container {
    table,
    table td,
    table th {
      border: 1px solid #000000 !important;
      color: var(
        --bs-table-color-state,
        var(--bs-table-color-type, var(--bs-table-color))
      ) !important;
      height: 32px;
      padding: 5px 14px 5px 12px;
      border-radius: unset !important;
    }
  }
}

html.dark-style .markdown-container thead tr th:first-child {
  border-radius: unset !important;
}

html.dark-style .markdown-container table thead {
  background-color: #808080 !important;
}

html.light-style .markdown-container table thead {
  background-color: #cccccc !important;
}

html.dark-style .markdown-container code {
  background: #333366;
  color: #ffffff !important;
  padding: 1rem;
}
/*
 * ToastUI WYSIWYG Editor - End
 */

/*
 * Monaco Editor - Begin
 */
#monacoEditor {
  width: 100%;
  height: 100vh;
}

.monaco-editor-container {
    height: 400px;
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

.monaco-editor-container-lg {
    height: 500px;
}

.monaco-fs-toast-container {
    z-index: 1070;
}

.monaco-fs-toast-success {
    background-color: #0f5132;
}

#constituentOverrideForm #id_content {
    display: none;
}
/*
 * Monaco Editor - End
 */

/*
* Tags - Begin
*/
.color-preview {
  width: 60px;
  height: 20px;
  border-radius: 4px;
}
/*
* Tags - End
*/

.truncate-text-singleline {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: block;
}

.truncate-text-multiline-xs {
  display: -webkit-box;
  -webkit-line-clamp: 5; /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.2em * 5); /* Adjust line height and number of lines */
}

.truncate-text-multiline-md {
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.2em * 10);
}

.truncate-text-multiline-xl {
  display: -webkit-box;
  -webkit-line-clamp: 18;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.2em * 18);
}

.truncate-text-multiline-xxl {
  display: -webkit-box;
  -webkit-line-clamp: 40;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.2em * 40);
}

.truncate-text-multiline-xyl {
  display: -webkit-box;
  -webkit-line-clamp: 80;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.2em * 80);
}

.circle-btn {
  width: 2rem;
  height: 2rem;
  padding: 0;
  border-radius: 50% !important;
}

.oval-btn {
  width: 2.6rem;
  height: 2.2rem;
  padding: 0;
}

.egg-btn {
  width: 2rem;
  height: 2.3rem;
  padding: 0;
}

.btn-xs {
  min-width: 1.75rem;
}

@media (min-width: 801px) {
  /* Responsive text */
  .shin-responsive-fs4, .toggle-btn-label {
      font-size: 0.6rem !important;
  }
  .shin-responsive-fs4-header {
      font-size: 0.6rem !important;
      text-transform: uppercase;
  }

  .shin-responsive-fs5 {
      font-size: 1rem !important;
  }
  .shin-responsive-fs5-header {
      font-size: 1rem !important;
      text-transform: uppercase;
  }

  .shin-responsive-fs6 {
      font-size: 1rem !important;
  }
  .shin-responsive-fs6-header {
      font-size: 1rem !important;
      text-transform: uppercase;
  }
}

@media (max-width: 799px) {
    .constituent-list-card-header {
        flex-direction: column;
    }
    .constituent-list-header-buttons {
        margin-top: 0.6rem;
        margin-left: auto;
    }
}

/* Responsive table headers: scale font-size down between 800px and 450px */
@media (max-width: 800px) {
  .shin-responsive-fs4, .toggle-btn-label {
      font-size: calc(0.5rem + 0.25rem * ((100vw - 450px) / 350)) !important;
  }
  .shin-responsive-fs4-header {
      font-size: calc(0.5rem + 0.25rem * ((100vw - 450px) / 350)) !important;
      text-transform: uppercase;
  }

  .shin-responsive-fs5 {
      font-size: calc(0.6rem + 0.25rem * ((100vw - 450px) / 350)) !important;
  }
  .shin-responsive-fs5-header {
      font-size: calc(0.6rem + 0.25rem * ((100vw - 450px) / 350)) !important;
      text-transform: uppercase;
  }

  .shin-responsive-fs6 {
    font-size: calc(0.8rem + 0.25rem * ((100vw - 450px) / 350)) !important;
  }
  .shin-responsive-fs6-header {
    font-size: calc(0.8rem + 0.25rem * ((100vw - 450px) / 350)) !important;
    text-transform: uppercase;
  }
}

@media (max-width: 500px) {
    .shin-responsive-fs4, .toggle-btn-label {
      font-size: 0.3rem !important;
  }

  .shin-responsive-fs4-header {
      font-size: 0.3rem !important;
      text-transform: uppercase;
  }

  .shin-responsive-fs4-5 {
      font-size: 0.5rem !important;
  }

  .shin-responsive-fs5 {
      font-size: 0.6rem !important;
  }
  .shin-responsive-fs5-header {
      font-size: 0.6rem !important;
      text-transform: uppercase;
  }

  .shin-responsive-fs6 {
    font-size: 0.8rem !important;
  }

  .shin-responsive-fs6-header {
    font-size: 0.8rem !important;
    text-transform: uppercase;
  }
}

/* Responsive breadcrumb title: full h4 size (~1.5rem) above 1200px,
   gradually shrinks to 0.9rem at xs (~450px and below) */
@media (min-width: 1201px) {
  .shin-breadcrumb-title {
    font-size: 1.5rem !important;
    padding-left: 0.3rem !important;
  }
}

@media (max-width: 1200px) {
  .shin-breadcrumb-title {
    font-size: calc(0.9rem + 0.6rem * ((100vw - 450px) / 750)) !important;
    padding-left: 0.3rem !important;
  }
}

@media (max-width: 500px) {
  .shin-breadcrumb-title {
    font-size: 0.9rem !important;
    padding-left: 0.3rem !important;
  }
}

.field-error-border {
  border-color: #ff0000 !important;
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.2), 0 0 8px 2px rgba(255, 0, 0, 0.35) !important;
}

#tag_add_form .form-check {
  border-radius: 4px;
  padding-top: 0.2rem;
  padding-bottom: 0.2rem;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

#tag_add_form .form-check:hover {
  background-color: var(--bs-primary-bg-subtle);
}

#tag_add_form .form-check label {
  cursor: pointer;
  width: 100%;
}

.shin-messages-container {
  margin-bottom: 1rem;
}

/* ── Azure Tenant grouping cards ─────────────────────────────────────────── */
.azure-tenant-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    overflow: hidden;
    margin-top: 0;
}

.azure-tenant-card__header {
    padding: 0.45rem 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--bs-border-color);
}

.azure-tenant-card__body {
    padding: 0.75rem 0.75rem 0.25rem;
}

.azure-tenant-card--primary {
    border-left: 4px solid var(--bs-primary);
}

.azure-tenant-card--primary .azure-tenant-card__header {
    background-color: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
}

.azure-tenant-card--extra {
    border-left: 4px solid var(--bs-primary);
}

.azure-tenant-card--extra .azure-tenant-card__header {
    background-color: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
}

/* Azure Tenant ID and Label responsive design - Begin */

/* Copy-to-clipboard button for tenant IDs */
.btn-copy-tenant {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.6;
    line-height: 1;
    vertical-align: middle;
}
.btn-copy-tenant:hover {
    opacity: 1;
    color: #a755ff;
}

.azure-tenant-id {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
    font-size: 0.50rem;
    margin-top: 0.3rem;
    margin-bottom: 1rem;
}

.azure-tenant-id a {
    display: inline-flex;
    align-items: center;
}

@media (min-width: 1750px) {
    .azure-tenant-id {
        justify-content: flex-start;
        gap: 0.4rem;
    }
}

.azure-tenant-label {
    font-size: 0.76rem;
}

@media (min-width: 520px) {
    .azure-tenant-id {
      font-size: 0.52rem;
      margin-top: 0.22rem;
      margin-bottom: 0.8rem;
    }
    .azure-tenant-label {
        font-size: 0.7rem;
    }
}

@media (min-width: 530px) {
    .azure-tenant-id {
      font-size: 0.56rem;
      margin-top: 0.22rem;
      margin-bottom: 0.8rem;
    }
}

@media (min-width: 570px) {
    .azure-tenant-id {
      font-size: 0.62rem;
      margin-top: 0.18rem;
      margin-bottom: 1rem;
    }
}

@media (min-width: 600px) {
    .azure-tenant-id {
      font-size: 0.66rem;
      margin-top: 0.18rem;
      margin-bottom: 1rem;
    }
}

@media (min-width: 625px) {
    .azure-tenant-id {
      font-size: 0.67rem;
      margin-top: 0.18rem;
      margin-bottom: 1rem;
    }
}

@media (min-width: 650px) {
    .azure-tenant-id {
      font-size: 0.72rem;
      margin-top: 0.18rem;
      margin-bottom: 1rem;
    }
}

@media (min-width: 670px) {
    .azure-tenant-id {
      font-size: 0.74rem;
      margin-top: 0.18rem;
      margin-bottom: 0.22rem;
    }

}

@media (min-width: 690px) {
    .azure-tenant-id {
      font-size: 0.76rem;
      margin-top: 0.18rem;
      margin-bottom: 0.22rem;
    }
}

@media (min-width: 730px) {
    .azure-tenant-id {
      font-size: 0.82rem;
      margin-top: 0.18rem;
      margin-bottom: 0.22rem;
    }
}

@media (min-width: 768px) {
    .azure-tenant-id {
        font-size: 0.38rem;
    }

    .azure-tenant-label {
        font-size: 0.6rem;
    }
}

@media (min-width: 800px) {
    .azure-tenant-id {
        font-size: 0.4rem;
    }
}

@media (min-width: 840px) {
    .azure-tenant-id {
        font-size: 0.44rem;
    }
}

@media (min-width: 925px) {
    .azure-tenant-id {
        font-size: 0.5rem;
    }
}

@media (min-width: 1000px) {
    .azure-tenant-id {
        font-size: 0.54rem;
    }
}

@media (min-width: 1050px) {
    .azure-tenant-id {
        font-size: 0.56rem;
    }
}

@media (min-width: 1090px) {
    .azure-tenant-id {
        font-size: 0.6rem;
    }
}

@media (min-width: 1125px) {
    .azure-tenant-id {
        font-size: 0.63rem;
    }

    .azure-tenant-label {
        font-size: 0.88rem;
    }
}

@media (min-width: 1200px) {
    .azure-tenant-id {
        font-size: 0.48rem;
    }

    .azure-tenant-label {
        font-size: 0.8rem;
    }
}

@media (min-width: 1250px) {
    .azure-tenant-id {
        font-size: 0.52rem;
    }
}

@media (min-width: 1300px) {
    .azure-tenant-id {
        font-size: 0.56rem;
    }
}

@media (min-width: 1350px) {
    .azure-tenant-id {
        font-size: 0.6rem;
    }
}

@media (min-width: 1400px) {
    .azure-tenant-id {
        font-size: 0.62rem;
    }
}

@media (min-width: 1450px) {
    .azure-tenant-id {
        font-size: 0.65rem;
    }

    .azure-tenant-label {
        font-size: 0.9375rem;
    }
}

@media (min-width: 1500px) {
    .azure-tenant-id {
        font-size: 0.7rem;
    }

}

@media (min-width: 1565px) {
    .azure-tenant-id {
        font-size: 0.76rem;
    }
}

@media (min-width: 1600px) {
  .azure-tenant-id {
      font-size: 0.74rem;
  }
}

@media (min-width: 1620px) {
  .azure-tenant-id {
      font-size: 0.8rem;
  }
}

@media (min-width: 1700px) {
    .azure-tenant-id {
        font-size: 0.86rem;
    }

}
/* Azure Tenant ID and Label responsive design - End */

.compact-line-height {
    line-height: 12px !important;
}

/* Locked / read-only form field */
.field-locked {
    background-color: var(--bs-secondary-bg);
    cursor: not-allowed;
    opacity: 1; /* keep text readable despite readonly state */
}

/* Monaco editor fullscreen overlay */
.monaco-editor-fullscreen {
    position: fixed !important;
    top: 24px;
    right: 0;
    bottom: 0;
    left: var(--monaco-fs-left, 0px);
    z-index: 1055; /* above Bootstrap modals (1050) */
    height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
}
/* ============================================================
   PWA / Standalone mode
   ============================================================ */

/* Push the fixed navbar down by the iOS status-bar height
   so content never hides under the notch or Dynamic Island. */
@media (display-mode: standalone) {
    .layout-navbar {
        padding-top: env(safe-area-inset-top);
    }

    /* Sidebar: respect top notch and bottom home indicator */
    .layout-menu {
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }

    /* Main content area: respect left/right notch in landscape */
    .layout-page {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    /* Bottom of scrollable content clear of home indicator */
    .content-wrapper {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

.build-label {
    font-size: x-small;
    margin-left: 0.4rem;
}

/* ============================================================
   input-group-merge focus ring
   The Sneat theme suppresses box-shadow on the inner form-control
   when it sits inside an input-group and replaces it with a very
   faint shadow on the outer container. That makes the left side
   of the group look different from a standalone input on focus.
   Restore the standard Bootstrap focus ring on the container so
   it looks identical to every other field.
   ============================================================ */
.input-group-merge:focus-within {
    border-radius: var(--bs-border-radius);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25) !important;
}

/* ============================================================
   Suppress browser-injected password manager / reveal icons
   Edge, Chrome, and Safari all inject their own icon into
   <input type="password"> fields. Since the app has its own
   show/hide toggle via input-group-merge, hide the native ones
   to avoid the double-icon overlap.
   ============================================================ */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-strong-password-auto-fill-button {
    visibility: hidden;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Security description read-more modal — 75vw wide, 90vh tall */
.security-desc-modal-dialog {
    width: 90vw !important;
    max-width: 90vw !important;
    height: 80vh;
    max-height: 90vh !important;
}

.security-desc-modal-dialog .modal-header,
.modal-header.bg-primary {
    --bs-modal-header-padding-y: 0.5rem;
    --bs-modal-header-padding: 0.5rem 1.5rem;
    min-height: 1.2rem;
}

.security-desc-modal-dialog .modal-header .btn-close,
.modal-header.bg-primary .btn-close,
.modal .btn-close {
    align-self: center;
    position: static;
    flex-shrink: 0;
    transform: none !important;
    margin-top: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
    border-radius: 2px;
}

.dark-style .modal .btn-close {
  background-color: unset !important;
}

.aio-error-pre {
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.82rem;
    font-family: var(--bs-font-monospace);
    background-color: color-mix(in srgb, var(--bs-tertiary-bg) 20%, var(--bs-body-bg) 80%);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: var(--bs-border-radius);
    padding: 0.75rem 2.5rem 0.75rem 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.aio-copy-btn {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.45;
    padding: 0.2rem 0.3rem;
    line-height: 1;
    border-radius: var(--bs-border-radius-sm);
}
.aio-copy-btn:hover {
    opacity: 1;
    background-color: var(--bs-secondary-bg);
}

.modal-title {
  color: #ffffff !important;
}

/* Wide-mode CSS fix: make html.layout-wide (set synchronously by the inline
   head script) override container-xxl immediately, bypassing the 100 ms
   setTimeout race in helpers.js setContentLayout(). */
html.layout-wide .container-xxl {
    max-width: 100% !important;
}

/* Service matrix grouped column panel */
.service-groups-panel { min-width: 860px; }
.service-groups-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 0.5rem; }
.service-group-box { border-color: var(--bs-border-color) !important; background: var(--bs-body-bg); }

/* Small inline icon size (used for external-link and clipboard icons beside IDs) */
.icon-sm-link { font-size: 0.82em; }

/* Service matrix: vertical service column headers */
/* Explicit background prevents the flash of page-background showing through sticky th cells */
#matrix_table thead th.sticky-top {
    background-color: var(--bs-table-bg, var(--bs-body-bg));
}

/* Last visible column always gets rounded right corners, no matter which columns are toggled */
#matrix_table thead tr th:last-child {
    border-top-right-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
}

#matrix_table tbody tr td:last-child {
    border-top-right-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
}

.service-col-th {
    text-align: center;
    font-size: 0.6rem;
    vertical-align: bottom;
    padding-bottom: 0.7rem;
}

.service-col-th-inner {
    font-size: 0.6rem;
    display: inline-block;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    padding-bottom: 0.8rem; /* remember due to rotation this padding-bottom gives padding-top instead in rendered view */
}

.service-col-td {
    text-align: center;
}

/* "Toggle all services" master switch: red knob when not fully ON (unchecked or indeterminate) */
#toggleAllServicesSwitch:not(:checked),
#toggleAllServicesSwitch:indeterminate {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23dc3545'/%3e%3c/svg%3e");
    background-image: var(--bs-form-switch-bg);
}

.service-group-box .fw-semibold { font-size: 0.78rem; }

/* Service matrix: crosshair hover — column highlight (row hover handled by table-hover Bootstrap class).
   JS in services_matrix.html adds .matrix-col-hover to all cells in the hovered column. */
/* Header cells: only service column headers get the hover highlight, not info columns.
   White bg + dark text ensures readability in both light and dark theme modes. */
#matrix_table th.service-col-th.matrix-col-hover {
    background-color: #ffffff !important;
    color: #212529 !important;
}
/* Body cells: soft purple tint — only on service columns, not info columns */
#matrix_table td.service-col-td.matrix-col-hover {
    background-color: rgba(95, 37, 159, 0.10) !important;
}
/* Dark mode: use a white overlay so the column highlight is visible on dark backgrounds */
html.dark-style #matrix_table td.service-col-td.matrix-col-hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
}

/* AIO reports overview table — hide date/completed columns below 1500px */
@media (max-width: 1499px) {
    #aio-reports-table th.col-report-dates,
    #aio-reports-table td.col-report-dates {
        display: none;
    }
}

/* AIO reports overview table — hide hist-months and files below 800px */
#aio-reports-table .col-aio-hide-800 .col-aio-hide-content {
    display: none;
}
@media (min-width: 800px) {
    #aio-reports-table .col-aio-hide-800 .col-aio-hide-content {
        display: contents;
    }
}

/* Constituent report partial — hide date columns below 1300px */
#constituent-reports-table .col-report-dates .col-report-dates-content {
    display: none;
}
@media (min-width: 1300px) {
    #constituent-reports-table .col-report-dates .col-report-dates-content {
        display: contents;
    }
}

/* Constituent report partial — hide hist-months and files below 800px */
#constituent-reports-table .col-report-hide-800 .col-report-hide-content {
    display: none;
}
@media (min-width: 800px) {
    #constituent-reports-table .col-report-hide-800 .col-report-hide-content {
        display: contents;
    }
}

/* Responsive th label: show short label below 800px, full label above */
.th-label-short { display: none; }
@media (max-width: 799px) {
    .th-label-long  { display: none; }
    .th-label-short { display: inline; }
}

/* AIO reports table — status: show icon instead of badge below 550px */
#aio-reports-table .aio-status-xs { display: none; }
#aio-reports-table .aio-status-xs i { font-size: 1.1rem; vertical-align: middle; }
@media (max-width: 799px) {
    #aio-reports-table .aio-status-xs i { font-size: 0.9rem; vertical-align: middle; }
}
@media (max-width: 549px) {
    #aio-reports-table .aio-status-long { display: none; }
    #aio-reports-table .aio-status-xs   { display: inline-flex; justify-content: center; width: 100%; }
}

/* AIO reports table — uniform 32×32 icon-only buttons */
#aio-reports-table .aio-action-btn,
#aio-reports-table .aio-approve-trigger,
#aio-reports-table .aio-detail-trigger {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
}

/* AIO reports table — shrink action buttons, error and files icons below 800px */
#aio-reports-table .aio-error-trigger i,
#aio-reports-table .aio-files-trigger i { vertical-align: middle; }
@media (max-width: 799px) {
    #aio-reports-table .aio-action-btn,
    #aio-reports-table .aio-approve-trigger,
    #aio-reports-table .aio-detail-trigger {
        width: 24px !important;
        height: 24px !important;
    }
    #aio-reports-table .aio-action-btn {
        font-size: 0.7rem !important;
    }
    #aio-reports-table .aio-error-trigger i,
    #aio-reports-table .aio-files-trigger i {
        font-size: 0.9rem !important;
        vertical-align: middle;
    }
    #aio-reports-table .aio-error-trigger,
    #aio-reports-table .aio-files-trigger {
        padding: 0 2px !important;
    }
}
/* ==========================================================================
   Page Tracking Dashboard
   ========================================================================== */

.tracking-filter-bar {
    border-radius: var(--bs-card-border-radius);
}

.tracking-stat-card {
    border-radius: var(--bs-card-border-radius);
    transition: box-shadow 0.15s ease;
}

.tracking-stat-card:hover {
    box-shadow: 0 4px 16px rgba(105, 108, 255, 0.15);
}

.tracking-stat-card .card-body {
    padding: 0.4rem 0.65rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tracking-stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--bs-heading-color, #566a7f);
}

.tracking-stat-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bs-secondary-color, #a1acb8);
    margin-top: 0.15rem;
    line-height: 1.3;
}

.tracking-stat-sublabel {
    font-size: 0.65rem;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.8;
}

/* Tighter card headers and padded card-body for tracking tables */
.tracking-card .card-header {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
}

.tracking-card .tracking-table-body {
    padding: 0 0.75rem 0.75rem;
}

.tracking-active-now {
    color: #71dd37;
}

.tracking-active-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #71dd37;
    margin-right: 4px;
    animation: tracking-pulse 2s ease-in-out infinite;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

@keyframes tracking-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.3); }
}

.tracking-chart-tall {
    min-height: 260px;
}

.tracking-chart-donut {
    min-height: 120px;
}

/* Badges */
.tracking-badge-obsolete {
    background-color: #ff9f43;
    color: #fff;
}

.tracking-badge-deletion {
    background-color: #ea5455;
    color: #fff;
}

.tracking-badge-partial {
    background-color: #00cfe8;
    color: #fff;
}

.tracking-ua-cell {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tracking-referrer-link {
    max-width: 600px;
}

.tracking-raw-row {
    cursor: pointer;
}

.tracking-pv-modal .modal-content {
    min-height: min(860px, 92vh);
}

@media (min-width: 1400px) {
    .modal-xxl {
        --bs-modal-width: 2000px;
    }
}

.tracking-modal-label {
    width: 180px;
    white-space: nowrap;
    background: var(--bs-table-bg);
    font-weight: 600;
}

.tracking-modal-ua {
    word-break: break-all;
    white-space: normal;
}

.tracking-status-input {
    width: 80px;
    height: calc(1.5em + .75rem + 2px - 1px);
}

.tracking-filter-active-badge {
    font-size: .75rem;
    letter-spacing: .02em;
}

.tracking-live-filter-wrap {
    max-width: 420px;
}

.tracking-filter-checks {
    height: calc(1.5em + .5rem + 2px);
}

.tracking-confirm-phrase {
    font-size: 0.85rem;
    background: var(--bs-tertiary-bg, #f5f5f9);
    border: 1px solid var(--bs-border-color, #d9dee3);
    user-select: all;
    letter-spacing: 0.02em;
}

.tracking-copy-btn {
    flex-shrink: 0;
}

/* Heatmap */
.tracking-heatmap-container {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: #f8f8fc;
    overflow: hidden;
    border-radius: 0 0 var(--bs-card-border-radius) var(--bs-card-border-radius);
}

#heatmap-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    z-index: 1;
}

#heatmap-canvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* xs button */
.btn-xs {
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
    border-radius: 0.2rem;
}

.tracking-localstorage-snapshot {
    max-height: 600px;
    overflow-y: auto;
    font-size: 0.8rem;
}

.tracking-localstorage-snapshot > span {
    display: block;
    padding: 0.5rem 0.75rem;
}

.tracking-localstorage-snapshot .table {
    font-size: 0.78rem;
}

.tracking-localstorage-snapshot .tracking-modal-label {
    width: 40%;
    word-break: break-all;
}

.tracking-config-toggle-col {
    width: 100px;
}

.tracking-config-toggle {
    cursor: pointer;
}

/* Under Construction banner */
.under-construction-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: repeating-linear-gradient(
        -45deg,
        #ffc107,
        #ffc107 20px,
        #000 20px,
        #000 22px
    );
    color: #000;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.55rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: var(--bs-border-radius);
}

.under-construction-bar .uc-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffc107;
    padding: 0.25rem 1rem;
    border-radius: 3px;
}

/* AIO Report Generator form styles */
.required_class .form-label {
    font-weight: bold;
}

.aio-form .select2-selection--single {
    background-color: var(--bs-card-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
    border-radius: 4px;
    padding-bottom: 36px;
}

.aio-form .select2-search__field {
    background-color: var(--bs-card-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

.aio-form .select2-search__field:focus {
    outline: none;
}

.aio-form .select2-dropdown {
    background-color: var(--bs-body-bg) !important;
    border-color: var(--bs-border-color) !important;
}

/* ── AIO Approval Wizard Modal ── */
.aio-wizard-steps {
    display: flex;
    align-items: center;
}

.aio-wizard-step {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    background: var(--bs-gray-300);
    color: var(--bs-gray-600);
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.aio-wizard-step.aio-step-active {
    background: var(--bs-success);
    color: #fff;
}

.aio-wizard-step.aio-step-done {
    background: var(--bs-success);
    color: #fff;
    opacity: 0.55;
}

.aio-wizard-step-line {
    width: 3.5rem;
    height: 2px;
    background: var(--bs-gray-400);
    margin: 0 0.4rem;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.aio-wizard-step-line.aio-line-done {
    background: var(--bs-success);
}

.aio-approve-file-row {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.5rem;
    border-radius: var(--bs-border-radius-sm);
    background: var(--bs-tertiary-bg);
    font-size: 0.85rem;
    min-width: 0;
}

html.dark-style .aio-wizard-step-line {
    background: #BBBBBB;
}

html.dark-style .aio-line-done{
    background: #00CC00 !important;
}
/* page_admin: page-disabled template icon */
.page-disabled-icon {
    font-size: 4rem;
}

/* page_admin: coming-soon overlay icon */
.coming-soon-icon {
    font-size: 3rem;
}

/* aio report: submit-guard spinner layout */
.aio-btn-spinner {
    vertical-align: middle;
    margin-right: 0.4em;
}

.aio-btn-label {
    vertical-align: middle;
}

.aio-detail-dl dt {
    font-weight: 600;
    font-size: 0.85rem;
}
.aio-detail-dl dd {
    font-size: 0.85rem;
    word-break: break-word;
}
.aio-token-code {
    font-size: 0.8rem;
    word-break: break-all;
}
.aio-error-pre {
    font-size: 0.8rem;
    white-space: pre-wrap;
    word-break: break-word;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

/* AIO tooltip wrapper — keeps inline-block so Bootstrap tooltip works on disabled/button elements */
.aio-tooltip-wrapper { display: inline-block; }

/* Service detail modal — label column */
.svc-detail-label {
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    font-size: 0.8rem;
    white-space: nowrap;
    width: 40%;
}

/* Service detail modal — URL value cell */
.svc-detail-url-cell {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Masked email — shows j***@domain.com; full address revealed via Bootstrap tooltip */
.masked-email {
    cursor: help;
    border-bottom: 1px dashed currentColor;
    text-decoration: none;
}
