/* Two-column app shell (sidebar + content) -- Dechefr itself is a single
   top-bar page, so this has no upstream equivalent to reuse. */

html, body {
  height: 100%;
}

.form-control {
  background-color: var(--bg-input);
  border: 1px solid var(--border);
  color: var(--text);
}

.form-control:focus {
  background-color: var(--bg-input);
  border-color: rgba(0, 255, 191, 0.4);
  color: var(--text);
  box-shadow: var(--ring);
}

.form-control::placeholder {
  color: var(--muted2);
}

.iwb-shell {
  display: flex;
  min-height: 100vh;
  align-items: stretch;
}

.iwb-sidebar {
  width: 240px;
  flex: 0 0 240px;
  /* align-self must be flex-start for sticky to take effect on a flex child. */
  align-self: flex-start;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.iwb-sidebar-brand {
  display: flex;
  align-items: center;
  padding: 4px 8px 14px;
  border-bottom: 1px solid var(--border-soft);
}

.iwb-sidebar-brand img {
  max-width: 100%;
  height: auto;
}

.iwb-sidebar a,
.iwb-sidebar a:hover,
.iwb-sidebar a:focus {
  text-decoration: none;
}

.side-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.side-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-weight: var(--fw-medium);
  font-size: var(--fs-body);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.side-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.side-nav-item.active {
  border-color: rgba(0, 255, 191, 0.3);
  background: rgba(0, 255, 191, 0.08);
  color: var(--text);
}

.side-nav-item .menu-icon {
  width: 18px;
  text-align: center;
  color: inherit;
}

.iwb-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.iwb-content .topbar-inner {
  width: 100%;
  padding: 0 24px;
}

.iwb-content-body {
  flex: 1;
  padding: 24px;
}

.datasource-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* da-login-style.css's .auth-frame has no grid-template-columns upstream. */
.auth-frame {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 980px) {
  .auth-frame {
    grid-template-columns: 1fr;
  }
}

.auth-right {
  background: var(--bg1);
}

/* This file loads after da-style.css (see layout.html/login-layout.html),
   so these overrides win over da-style's generic Bootstrap-named classes. */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  color: var(--text);
}

.card-header {
  background: transparent;
  border-bottom: 1px solid var(--border-soft);
}

.card-black {
  background: rgba(0, 0, 0, 0.25);
}

button.tile {
  font: inherit;
  width: 100%;
  text-align: left;
}

/* da-style's ".tile-primary" is a permanent teal gradient + accent bar
   meant to flag one standout tile -- applied to every row in the
   data-source list it read as a big green CTA button repeated down the
   page. Flatten to a compact, neutral row instead. */
.datasource-tile {
  min-height: 60px;
  padding: 10px 14px;
}

.datasource-tile::before {
  display: none;
}

.datasource-tile .badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-soft);
  color: var(--muted);
}

.datasource-tile .tile-title {
  font-size: 14px;
}

.datasource-tile .tile-arrow {
  width: 28px;
  height: 28px;
}

/* These fully override da-style's plain ".badge" (a 44px icon roundel) so
   it never leaks through on badge-as-button usages. */
.badge-dechefr,
.badge-danger,
.badge-info,
.badge-amber,
.badge-purple,
.badge-dark,
.badge-muted,
.badge.alert-info {
  width: auto;
  height: auto;
  display: inline-flex;
  place-items: unset;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

.badge-muted {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  color: var(--muted2);
}

.badge-dechefr {
  background: rgba(0, 255, 191, 0.12);
  border: 1px solid rgba(0, 255, 191, 0.35);
  color: #7fffd4;
}

.badge-danger {
  background: rgba(255, 79, 122, 0.12);
  border: 1px solid rgba(255, 79, 122, 0.35);
  color: #ff8fa3;
}

.badge-info,
.badge.alert-info {
  background: rgba(120, 170, 255, 0.12);
  border: 1px solid rgba(120, 170, 255, 0.35);
  color: #b8ccff;
}

.badge-amber {
  background: rgba(255, 196, 120, 0.12);
  border: 1px solid rgba(255, 196, 120, 0.35);
  color: #ffc478;
}

/* Matches the "threats" series color used elsewhere (activity charts on the
   profile page), so Threatening reads as its own category rather than
   reusing Violence's red. */
.badge-purple {
  background: rgba(163, 140, 198, 0.12);
  border: 1px solid rgba(163, 140, 198, 0.35);
  color: #c7b8e0;
}

/* Inline highlight spans inside a running paragraph (email.html) -- not
   standalone tags, so no pill-button padding/chrome. */
.text-mark {
  padding: 0 3px;
  border-radius: 4px;
  font-weight: var(--fw-semibold);
  color: var(--teal);
}

/* Header row (author + tags) and the card below it share this max-width so
   their right edges line up. */
.email-column {
  max-width: 1100px;
}

.email-body-text {
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: 1.7;
}

.text-mark-violence {
  background: rgba(255, 79, 122, 0.16);
  color: #ff8fa3;
}

.text-mark-weapons {
  background: rgba(120, 170, 255, 0.16);
  color: #b8ccff;
}

.text-mark-entity {
  background: rgba(0, 255, 191, 0.16);
  color: #7fffd4;
}

.badge-dark {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.text-primary {
  color: var(--teal) !important;
}

.tag-gray {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  color: var(--text);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  white-space: normal;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.tag-gray:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.wb-sender-email.name-link.btn {
  background: transparent;
  border: none;
  padding: 0;
  color: var(--text) !important;
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
}

.wb-sender-email.name-link.btn:hover {
  background: transparent;
  color: var(--teal) !important;
  text-decoration: underline;
}

.send-to-dechefr.btn {
  height: auto;
  min-height: 0;
  padding: 5px 12px;
  font-size: var(--fs-xs);
}

.high-risk-toggle {
  width: auto;
  min-width: 220px;
  height: 32px;
  gap: 8px;
  font-size: var(--fs-sm);
  color: #ff8fa3;
  border-color: rgba(255, 79, 122, 0.35);
  background: rgba(255, 79, 122, 0.12);
}

#high-risk-authors-dropdown .dropdown-item {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: 7px 10px;
}

.dropdown-menu button.dropdown-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.items-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.items-toolbar .dropdown {
  width: auto;
}

.items-toolbar .dropdown-toggle {
  width: auto;
  min-width: 170px;
  height: 30px;
  font-size: var(--fs-sm);
}

#items-sort-dropdown .dropdown-item {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: 7px 10px;
}

.items-filters {
  display: flex;
  gap: 6px;
}

.filter-toggle {
  appearance: none;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

.filter-toggle:focus {
  box-shadow: 0 0 0 3px rgba(64, 255, 192, 0.16);
}

.items-search-input {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 6px 12px;
  font-size: var(--fs-sm);
  min-width: 220px;
  margin-left: auto;
}

.item-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Authors has no long text body per row (unlike Items/Entity info), so a
   full-width card leaves the KPI tiles stretched out with mostly empty
   space -- two narrower columns fit the actual amount of content better. */
.item-cards.author-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.item-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 14px;
}

.item-card-hd {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.item-card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.item-card-tags .badge-danger,
.item-card-tags .badge-info,
.item-card-tags .badge-amber,
.item-card-tags .badge-purple,
.item-card-tags .badge-dark,
.item-card-tags .badge-muted {
  padding: 3px 10px;
}

.badge-absent {
  background: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.25);
}

.badge-count {
  opacity: 0.65;
  font-weight: var(--fw-medium);
}

.author-identity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted2);
  font-size: 16px;
  flex: 0 0 auto;
}

.author-date-range {
  color: var(--muted2);
  font-size: var(--fs-xs);
  opacity: 0.8;
  white-space: nowrap;
}

.risk-meter {
  display: flex;
  align-items: center;
  gap: 6px;
}

.risk-meter-levels {
  display: flex;
  gap: 2px;
}

.risk-meter-seg {
  width: 10px;
  height: 6px;
  border-radius: 2px;
}

.risk-meter-label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.kpi-row-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi-row-4 .kpi-value {
  font-size: 16px;
}

.item-card-body {
  color: var(--muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
  white-space: pre-wrap;
}

.item-card-body.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-card-more {
  background: none;
  border: none;
  padding: 8px 0 0;
  color: var(--teal);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

.item-card-ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.item-card-ft .tag-gray {
  padding: 5px 12px;
}

.item-card-date {
  color: var(--muted2);
  font-size: var(--fs-sm);
}

.item-card-empty {
  color: var(--muted2);
  padding: 24px 0;
  text-align: center;
}

.tab-strip {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tab-btn {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  cursor: pointer;
}

.tab-btn:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.is-active {
  border-color: rgba(0, 255, 191, 0.35);
  background: rgba(0, 255, 191, 0.1);
  color: var(--text);
}

.centered {
    float: none;
    margin: 0 auto;
    text-align: center;
    vertical-align: middle;
    align-items: center
}

.centered > i:first-child {
    margin-right: 0.4rem;
}

#nav-download-summary {
    cursor: pointer
}

li,
ol,
ul {
    list-style: none
}

li label {
    display: contents!important;
}

.text-weight-400 {
    font-weight: 400;
}

.text-weight-500 {
    font-weight: 500;
}

.text-weight-600 {
    font-weight: 600;
}

.card-transparent {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    box-shadow: none;
    backdrop-filter: none;
}

.card-transparent > ul {
    padding: 16px !important;
}

.card-transparent .text-medium.text-semibold {
  color: var(--muted);
}

.card-transparent .text-medium.text-semibold .text-white {
  color: var(--text);
}

.card-transparent .text-medium.text-semibold i {
  margin-right: 8px;
}

.kpi-total-card {
  height: 100%;
}

.kpi-total-card .card-body {
  height: 100%;
  display: flex;
  align-items: center;
}

.kpi-total-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(0, 255, 191, 0.1);
  border: 1px solid rgba(0, 255, 191, 0.3);
  color: var(--teal);
  font-size: 24px;
  margin-right: 16px;
}

label.checkbox input[type="checkbox"] {
    display: none;
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0;
}

label.checkbox span {
    display: inline-block;
    left: 0;
    top: 0;
    width: 1em;
    height: 1em;
    border: 1px solid #97a4b8;
    background: #333;
    border-radius: 0em;
    vertical-align: middle;
    position: relative;
    margin-right: 0.5rem;
    margin-bottom: 0.2rem;
    cursor: pointer;
}

label.checkbox :checked + span:after {
    content: '✕';
    position: absolute;
    top: .4em;
    font-size: 1.1em;
    color: #ffffff;
    line-height: 0;
    transition: all .3s;
}

.text-italic {
    font-style: italic
}

.text-bold {
    font-weight: 700;
}

.text-semibold {
    font-weight: 600;
}

.text-tiny {
    font-size: 0.6rem !important;
}

.text-small {
    font-size: 0.75rem;
}

.text-semi-medium {
    font-size: 0.9rem;
}

.text-medium {
    font-size: 1rem !important;
}

.text-semi-large {
    font-size: 1.2rem !important;
}

.text-large {
    font-size: 1.5rem !important;
}

.text-larger {
    font-size: 30px
}

.text-primary-bright {
    color: var(--teal);
}

/* Row values are muted; the name column (.text-weight-500.text-white)
   stays bright as the row's primary identifying value. */
table.dataTable td .text-white {
    color: var(--muted) !important;
}

table.dataTable td .text-weight-500.text-white {
    color: var(--text) !important;
}

.digit {
    font-family: var(--font-head);
    font-weight: var(--fw-bold);
}

.assess-header{
  display:inline-block;
}

.assess-box-collapse{
  display:inline-block;
}

.display-none {
    display: none
}

.checkbox-icon {
    float: right
}

.hide {
    display: none !important
}

.disabledbutton {
    cursor: not-allowed;
    pointer-events: none;
    opacity: .5
}

.disabledbadge {
    cursor: not-allowed;
    pointer-events: none
}

.badge-assessment {
    margin-bottom: 0;
    padding: 5px 9px
}

.cursor-pointer {
    cursor: pointer
}

#case-name {
    font-family: 'Manrope', sans-serif;
    vertical-align: middle
}

#logged-user-name {
    float: right
}

#nav-tabContent {
    padding-top: 15px
}

.esum {
    display: list-item;
    margin-left: 1.5em;
    list-style-type: decimal
}

.esum-roman {
    display: list-item;
    margin-left: 1.5em;
    list-style-type: lower-roman
}

.dechefr-card .nav-link {
    text-transform: none;
    color: var(--muted)
}

.card-body-sm {
    padding: 1rem
}

.card-body-xs {
    padding: .75rem
}

.sentence-header {
    font-size: 1.4rem !important;
    font-weight: 600;
    line-height: 2rem;
    display: flex;
    width: 100%;
    padding-top: .7rem;
    padding-bottom: .7rem
}

.sentence-sub-header {
    display: flex;
}

.close-icon {
    transition: all 250ms cubic-bezier(.27, .01, .38, 1.06)
}

.close-icon:hover {
    cursor: pointer;
    color: var(--muted2)
}

.normative-close-icon {
    z-index: 999;
    width: 5%;
    display: none
}

.dechefr-about {
    padding-top: 45px
}

.header-score {
    padding-left: 20px
}

.header-sentence {
    padding-bottom: 8px;
    padding-left: 20px
}

.header-sentence-info-icon {
    float: right;
    position: relative;
    z-index: 999;
}

.emotionality-percentile-panel,
.social-index-percentile-panel,
.leakage-percentile-panel,
.identification-percentile-panel,
.basic-personality-percentile-panel,
.dark-triad-percentile-panel,
.cognitive-tendencies-percentile-panel {
    display: flex
}

.grs-panel {
    display: flex;
    flex: 1
}

.percentile-card-panel {
    height: 280px
}

#general-risk-score-panel {
    height: 250px
}

#dig-7-score-table td{
    padding: 0 !important;
    border: none !important;
}

#btn-finalize-assessment {
    padding: 0.25rem 0.5rem;
}

#score-spiderweb-chart {
    height: 480px
}

.guage-chart-container {
    display: flex
}

.tab-items {
    padding: 0 10px
}

.cmp-btn-icon {
    vertical-align: top !important
}

#profiler-index-img {
    margin-top: 1rem
}

#btn-upload-file {
    color: var(--text)
}

#dechefr-sidebar-logo {
    width: 140px;
}

#dechefr-navbar-logo {
    width: 140px;
}

.sidebar-chart-container {
    height: 65px;
    display: flex;
    margin-left: -15px
}

.dechefr-info {
    padding-top: 100px;
    padding-bottom: 50px
}

.ner-card {
    height: 155px
}

.ner-fixed-panel {
    max-height: 144px;
    overflow-y: scroll
}

.ner-header {
    padding-left: 3px
}

.ner-items {
    margin-right: 5px
}

.normal-pop {
    text-decoration: underline
}

.lg-space-seperator {
    height: 45px;
    width: 100%
}

.space-seperator {
    height: 15px;
    width: 100%
}

.sm-space-seperator {
    height: 9px;
    width: 100%
}

.panel-bar-graph {
    padding-bottom: 2px
}

#panel-highlighted-entities {
    padding-top: 2.5rem !important
}

.loading {
    margin-top: 280px;
    cursor: progress;
    display: flex;
    align-items: center;
    justify-content: center
}

.r-function-word {
  font-family: var(--font);
  font-size: 0.7rem;
  line-height: 1.33em;
  letter-spacing: 0em;
  border-radius: 1rem;
  padding: 0.4em 0.5em !important;
  display: inline-block;
}

.badge-white {
  color: var(--text);
  border: 1px solid var(--text);
}

.badge-black {
  color: #000;
  border: 1px solid #000;
}

.card-post__author-avatar--large {
    width: 6rem;
    height: 6rem
}

#error_msg {
    width: 100%
}

.text-line-through {
    text-decoration: line-through
}

.more-info-icon {
    font-size: 1.5em !important;
    cursor: pointer;
    color: var(--teal)
}

.ul-null-padding {
    padding: 0
}

#intro-info-icon {
    padding-left: 5px;
    cursor: text !important;
    float: none
}

#panel-readability {
    text-align: left;
}

#KCGL-header {
    text-transform: uppercase;
    color: var(--text);
    vertical-align: middle;
    font-weight: 500
}

.character-info-icon {
    float: right !important;
    padding-left: 10px
}

.component-info {
    text-align: left;
    border-bottom: 1px solid var(--border-soft) !important;
}

.info-wo-panel {
    padding-left: 15px
}

table.tbl-demo tbody tr td {
    cursor: pointer;
    vertical-align: middle;
    text-align: left
}

.img-demo-user {
    width: 70px;
    margin-right: 10px
}

.assessment-factors {
    font-style: italic;
    font-weight: 500;
    font-size: 1.1rem;
    float: left;
    margin-bottom: 0
}

.analyst-assessment-div,
.assessment-indicator-div {
    padding: 0
}

.panel-sentence {
    max-height: 300px;
    position: relative
}

.sentence-fixed-panel {
    overflow: auto;
    max-height: 300px
}

.li-border-left {
    border-left: 5px solid var(--border) !important;
    margin-bottom: 10px
}

.indicator-sentence {
    display: inline-table;
}

.panel-sentence .show-all,
.panel-sentence .social-index-show-all {
    position: absolute;
    bottom: 0
}

.card-assessment {
    background-color: rgba(0, 0, 0, 0.25);
    border: none;
    border-radius: .625rem;
    color: var(--text)
}

.panel-your-assessment {
    position: fixed;
    bottom: 0;
    z-index: 1000;
    right: 9px
}

.sentence-statistics-panel {
    position: fixed;
    top: 50px;
    z-index: 1000;
    right: 9px
}

.emo-panel-card,
.socialindex-panel-card {
    height: 205px
}

.socialindex-sentence-fixed-panel {
    max-height: 205px;
    overflow-y: scroll
}

.panel-sentence-socialindex {
    height: 225px
}

.panel-sentence-leakage {
    height: 157px
}

.leakage-sentence-fixed-panel {
    max-height: 150px;
    overflow-y: scroll
}

.leakage-panel-card {
    height: 160px
}

.panel-sentence-identification {
    height: 157px
}

.identification-sentence-fixed-panel {
    max-height: 150px;
    overflow-y: scroll
}

.identification-panel-card {
    height: 160px
}

.warning-single-word {
    margin-left: 10px
}

.hide-legend-symbol .highcharts-legend-item rect {
    display: none
}

.highcharts-figure-guage {
    width: 100%;
    height: 210px;
    max-height: 250px;
    margin-bottom: 5px
}

.table-scroll tbody {
    position: absolute;
    overflow-y: scroll;
    height: 150px
}

.table-scroll tr {
    width: 100%;
    table-layout: fixed;
    display: inline-table
}

.tooltip.bs-tooltip-bottom .tooltip-inner {
    background: #000 !important;
    color: var(--text) !important
}

.tooltip .arrow:before {
    border-bottom-color: #000 !important;
    border-top-color: #000 !important
}

.dropdown-submenu {
    position: relative;
    width: 165px;
    cursor: pointer
}

.dropdown-submenu>.dropdown-menu {
    top: -5px;
    left: -72%;
    max-width: 180px;
    margin-top: -6px;
    margin-right: -1px;
    border-radius: 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block
}

.about-assesment {
    clear: both
}

.report-header-img {
    position: relative;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 104px;
    border-bottom: 1px solid var(--border);
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.dechefr-using {
    padding-top: 45px;
}

.text-underline {
    text-decoration-line: underline;
}

#dig-7-score-table {
    padding: 0;
}

.btn-txt,
.icon {
    line-height: 3rem;
}

.icon {
    vertical-align: middle;
    font-size: 30px;
}

.sentence-border-left {
    border-left: 5px solid var(--border-soft) !important;
    margin-bottom: 10px;
}

#panel-data-intelligence{
    overflow: auto;
    max-height: 320px;
}

.d-block {
    display: block;
}

.control {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 0px;
    cursor: pointer;
}

.control input:checked ~ .control__indicator {
    background: var(--teal);
}

.control__indicator {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
}

.control input:checked ~ .control__indicator:after {
    display: block;
    color: #02110c;
}

.control--checkbox .control__indicator:after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.control__indicator:after {
    content: '✓';
    position: absolute;
    display: none;
    font-size: 16px;
    transition: .3s all ease;
}

.pt-report-1 {
    padding-top: 2.65rem;
}

#p-users {
  max-height: 500px;
  overflow: auto;
}

/* da-style's ".btn" forces height:42px + inline-flex/nowrap, which squashes
   the stacked number+label / donut content these buttons wrap. */
.btn.kpi-btn {
  display: block;
  height: auto;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  white-space: normal;
  text-align: left;
}

.pie-overview {
    position: relative;
    height: 110px;
    width: 110px;
    border-radius: 50%;
    overflow: hidden;
}

.pie-overview.hollow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-overview.hollow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background-color: var(--bg1);
}

.pie-overview.three.hollow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 47px;
    width: 47px;
    border-radius: 50%;
    background-color: var(--bg1);
}

.pie-overview.hollow span {
    position: relative;
    font-size: 2rem;
    z-index: 999;
}

.pie {
    position: relative;
    height: 55px;
    width: 55px;
    border-radius: 50%;
    overflow: hidden;
}

/* themes.html renders 3 separate <table>s; without a fixed width each one's
   auto layout sizes this column differently based on its own row content. */
.theme-pie-cell {
  width: 90px;
}

.pie.hollow {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie.hollow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background-color: var(--bg0);
}

.pie.three.hollow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 47px;
    width: 47px;
    border-radius: 50%;
    background-color: var(--bg0);
}

.pie.hollow span {
    position: relative;
    font-size: 0.85rem;
    z-index: 999;
}

/* --- carried forward from iw-style.css --- */

.panel-iw-view {
  padding-top: 100px;
}

.mil-color {
  color: var(--teal);
}

.term-search-bar {
  color: var(--text) !important;
  background: var(--bg-input) !important;
  display: block !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  z-index: 3;
  height: 44px;
  width: 100% !important;
  text-align: left;
  padding-left: 2.5rem;
  font-size: var(--fs-body);
}

.term-search-bar:focus {
  outline: none;
  border-color: rgba(0, 255, 191, 0.4) !important;
  box-shadow: var(--ring);
}

/* ".form-inline .input-group" collapses to width:auto at desktop widths,
   so ".term-search-bar"'s own width:100% was only 100% of that shrunk box. */
#panel-target-search-term .input-group,
#panel-filter-search-term .input-group {
  width: 100% !important;
}

.input-group-append {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 15px;
  left: 0;
  z-index: 100;
  color: var(--muted2);
}

.hr-center {
  display: flex;
  align-items: center;
}

.subheader:not(:empty) {
  margin-bottom: 2.125rem;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 0.75rem;
  /* .subheader is a flex item of a bare .row with no width of its own, so
     a trailing action (e.g. "Download items") hugged the title instead of
     reaching the row's right edge. */
  width: 100%;
}

.subheader-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  flex: 1;
}

.subheader > .tag-gray,
.subheader > .btn {
  align-self: flex-start;
  flex: 0 0 auto;
}

.subheader-title > i:first-child {
  margin-right: 0.6rem;
}

.subheader-title .small {
  font-weight: 400 !important;
  color: var(--muted);
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: .875rem;
}

.subheader-icon {
  color: var(--text);
  margin-right: .25rem;
}

#ml-word-cloud:empty {
  display: block;
  min-height: 240px;
  border-radius: var(--radius-sm);
  background-image:
    radial-gradient(ellipse 70px 18px at 18% 28%, rgba(255, 255, 255, 0.09), transparent 70%),
    radial-gradient(ellipse 100px 20px at 52% 18%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(ellipse 55px 16px at 82% 32%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 80px 18px at 32% 55%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(ellipse 110px 22px at 65% 60%, rgba(255, 255, 255, 0.09), transparent 70%),
    radial-gradient(ellipse 60px 16px at 12% 78%, rgba(255, 255, 255, 0.07), transparent 70%),
    radial-gradient(ellipse 90px 18px at 48% 85%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 50px 15px at 85% 82%, rgba(255, 255, 255, 0.07), transparent 70%);
  animation: dt-skeleton-pulse 1.8s ease-in-out infinite;
}

#post-per-day-line-overview-graph:empty {
  display: block;
  min-height: 240px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.03);
  background-image: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.09) 50%,
    transparent 70%
  );
  background-size: 220% 100%;
  animation: dt-shimmer-sweep 1.6s ease-in-out infinite;
}

@keyframes dt-shimmer-sweep {
  0% {
    background-position: 90% 0;
  }
  100% {
    background-position: -90% 0;
  }
}

#number-of-email:empty,
#number-of-urls:empty,
#number-of-idaddresses:empty {
  display: inline-block;
  min-width: 2.5em;
  height: 0.9em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  animation: dt-skeleton-pulse 1.4s ease-in-out infinite;
}

.pie-overview.hollow span:empty {
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: dt-skeleton-pulse 1.4s ease-in-out infinite;
}

.input-group-append,
.input-group-prepend {
  display: flex;
}

.pie-percentile {
  width: 72px;
  height: 72px;
}

.percentile-score {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.full_modal-dialog {
  width: 98% !important;
  height: 92% !important;
  min-width: 98% !important;
  min-height: 92% !important;
  max-width: 98% !important;
  max-height: 92% !important;
  padding: 0 !important;
}

.full_modal-content {
  height: 99% !important;
  min-height: 99% !important;
  max-height: 99% !important;
}

.theme-section-title {
  display: inline-block;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.3px;
  color: var(--muted);
}

.theme-row-title {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--text);
}

.theme-row-desc {
  font-size: var(--fs-sm);
  color: var(--muted);
}

.pct-sign {
  /* ".pie.hollow span" (2 classes + element) beats a bare ".pct-sign". */
  font-size: 0.55em !important;
  font-weight: var(--fw-regular);
  margin-left: 1px;
}

.MuiTableCell-root {
  min-height: 4rem;
  padding-top: 0.85rem !important;
  padding-bottom: 0.85rem !important;
  font-size: 1rem;
  text-align: left;
  font-weight: 400;
  line-height: 1.171875rem;
  letter-spacing: 0.015625rem;
  vertical-align: middle !important;
}

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

.panel-individual-web-info {
  max-height: 20rem;
  overflow-y: scroll;
}

.card-img-right {
  text-align: center;
}

table.table-data-intelligence {
  table-layout: fixed;
  word-break: break-all;
}

/* iwb-highcharts-theme.js sets font-family per-option, but some Highstock
   sub-components (range selector, navigator) fall back to the library
   default unless it's also pinned here. */
.highcharts-container,
.highcharts-container text,
.highcharts-container tspan {
  font-family: var(--font) !important;
}

.highcharts-axis.highcharts-axis-title text {
  fill: var(--text) !important;
  color: var(--text) !important;
}

g.highcharts-label.highcharts-range-input text {
  color: var(--text) !important;
  fill: var(--text) !important;
}

.flex-container {
  display: flex;
  text-align: center;
}

.flex-container>div {
  flex: 1;
}

.text-content {
  text-align: left;
  display: inline-block;
}

#nav-tabTarget {
  padding-top: 15px;
}

.wb-info-icon {
  transform: scale(.9);
  padding-left: 0.2rem;
  vertical-align: middle;
}

.position-relative {
  position: relative !important;
}

#datasource-name-filter {
  border-style: none;
}

#panel-assessment-individual-activity h5,
#panel-assessment-individual-traits h5 {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  letter-spacing: 0.3px;
  color: var(--text);
}

.card-header h6.text-uppercase {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.3px;
}

.panel-section-title {
  display: block;
  text-transform: uppercase;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.3px;
  color: var(--text);
  margin-bottom: 6px;
}

.panel-section-title:not(:first-child) {
  margin-top: 18px;
}

.panel-statistics-text {
  font-weight: var(--fw-medium);
}

#panel-assessment-individual-theme p.text-uppercase,
#panel-assessment-individual-traits p.text-uppercase {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.3px;
}

#assessment-individual:empty {
  display: inline-block;
  width: 160px;
  height: 1.1em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  animation: dt-skeleton-pulse 1.4s ease-in-out infinite;
}

#number-of-sender-emails:empty,
#number-of-sender-threatful:empty,
#number-of-sender-toxic:empty,
#number-of-sender-weapons:empty,
#number-of-sender-delusion:empty {
  display: inline-block;
  width: 48px;
  height: 1.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  animation: dt-skeleton-pulse 1.4s ease-in-out infinite;
}

#assessment-individual-sign-violent-theme-info:empty,
#assessment-individual-sign-suicidal-alignment-info:empty {
  display: inline-block;
  width: 55%;
  height: 1em;
  margin: 2px auto;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  animation: dt-skeleton-pulse 1.4s ease-in-out infinite;
}

#assessment-individual-sign-violent-themes:empty,
#assessment-individual-sign-suicidal-alignment:empty {
  display: block;
  height: 147px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.03);
  background-image: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.09) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: dt-shimmer-sweep 1.6s ease-in-out infinite;
}

#assessment-individual-post-per-day-line-graph:empty,
#assessment-activity-hour-bar-graph:empty,
#assessment-activity-weekly-bar-graph:empty {
  display: block;
  min-height: 300px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.03);
  background-image: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.09) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: dt-shimmer-sweep 1.6s ease-in-out infinite;
}

.kpi-title {
  text-align: left;
  padding: 4px 0 8px 4px;
  text-transform: uppercase;
  font-size: var(--fs-sm) !important;
  font-weight: var(--fw-bold) !important;
  letter-spacing: 0.3px;
}

.kpi-title i {
  margin-right: 8px;
}

.kpi-number {
  text-align: left;
  padding-left: 4px;
}

#assessment-panel-individual-info > .col-12 > .row:first-child {
  padding-bottom: 20px;
}

#assessment-individual-sign-violent-theme-info,
#assessment-individual-sign-suicidal-alignment-info {
  padding: 10px 12px 6px;
  margin: 0 !important;
}

#assessment-panel-individual-profile .row:last-child .d-flex.gap-2 {
  gap: 14px !important;
}

#panel-email .d-flex.gap-2 {
  gap: 8px !important;
}

.profile-name {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  color: var(--muted);
}
