/*
// Copyright 2019 Jason Ertel (github.com/jertel).
// Copyright 2020-2025 Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one
// or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at
// https://securityonion.net/license; you may not use this file except in compliance with the
// Elastic License 2.0.
*/
/* Vuetify theme overrides */
.v-application, html {
  background-color: rgb(var(--v-theme-background)) !important;
}

.v-application p {
  margin-bottom: 16px;
}

.v-application a, .theme-primary {
  color: rgb(var(--v-theme-primary));
}

.theme-background {
  background-color: rgb(var(--v-theme-background)) !important;
}

.theme-background-lighten-1 {
  background-color: rgb(var(--v-theme-background-lighten-1)) !important;
}

.card-shadow {
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
}

.v-app-bar {
  background-color: rgb(var(--v-theme-nav_background)) !important;
}

.v-main {
  min-height: 100vh;
}

.v-navigation-drawer {
  background-color: rgb(var(--v-theme-drawer_background)) !important;
}


.v-toolbar-title {
  flex: unset !important;
}

.v-footer {
  background-color: rgb(var(--v-theme-nav_background)) !important;
  color: rgb(var(--v-theme-nav)) !important;
}

.v-footer a {
  text-decoration: none;
  color: rgb(var(--v-theme-primary-lighten-1)) !important;
}

.v-icon {
  font-size: 18px !important;
}

.mdi-menu-down, .mdi-paperclip {
  display: none;
}

.v-card {
  opacity: 1 !important;
}

.v-card .v-card-subtitle {
  opacity: 1 !important;
}

.v-card-subtitle+.v-card-text {
  padding-top: 0;
}

.v-list-item > .v-list-item__prepend > i.fa {
  margin-right: 16px !important;
}

.v-navigation-drawer__content .v-list-item--active {
  color: rgb(var(--v-theme-primary));
}

.v-navigation-drawer__content .v-list-group__header > .v-list-item__append,
.v-navigation-drawer__content .v-list-item__prepend > .v-list-item__spacer,
#top-menu .v-list-item__prepend > .v-list-item__spacer,
.remove-spacer .v-list-item__spacer {
  display: none;
}

#external-tools-list a.v-list-item {
  padding-right: 4px;
}

[data-aid^="relative_time_input_"] .v-input__append {
  padding-top: 0px !important;
}

.v-list-group__items .v-list-item {
  padding-inline-start: 32px !important;
}

.v-list-item-title {
  font-size: 15px !important;
}

.v-chip .v-avatar {
  margin-right: 6px;
}

.contrast-bg {
  background-color: rgb(var(--v-theme-drawer_background)) !important;
}

.v-otp-input {
  max-width: 300px;
}

td.expansion:first-child {
  white-space: nowrap; /* Prevent wrapping in the first column */
}

td.expansion:last-child {
  width: 100%; /* Make the second column take up remaining space */
}

.table-header-actions a {
  margin-right: 4px;
}

.table-header-actions button {
  min-width: 20px;
  padding-left: 0px;
  padding-right: 0px;
}

#hunt-quick-action a .v-list-item__overlay {
  opacity: 0 !important;
  background-color: rgb(var(--v-theme-secondary));
}

#hunt-quick-action a:hover .v-list-item__overlay {
  opacity: 0.2 !important;
}

#hunt-quick-action .v-list-item__spacer {
  display: none;
}

.tiny-icon {
  font-size: 14px !important;
}

.theme-text, .theme-links a, .theme-links a:active {
  color: rgb(var(--v-theme-text)) !important;
}

.theme-icon {
  color: rgb(var(--v-theme-icon)) !important;
}

.no-link {
  text-decoration: none;
  color: inherit;
}

.no-link .v-btn__overlay {
  background-color: rgb(var(--v-theme-text)) !important;
}

.short-spacer .v-list-item__spacer {
  max-width: 16px;
}

.no-details .v-input__details {
  display: none;
}

th {
  cursor: pointer;
  opacity: 0.8;
  font-size: 12px;
  font-weight: 700 !important;
  white-space: nowrap;
}

th:hover, th.is-sorted, .solid {
  opacity: 1 !important;
}

.daterangepicker, .daterangepicker .calendar-time select {
  color: black !important;
}

.stale {
  opacity: 0.3;
}

/* animations */
.waggle {
  animation-name: waggle;
  animation-timing-function: ease-out;
  animation-delay: 0s;
  animation-duration: 1s;
}

@keyframes waggle {
  0% {
    transform: none;
  }
  50% {
    transform: rotateZ(-20deg) scale(1.2);
  }
  60% {
    transform: rotateZ(25deg) scale(1.2);
  }
  67.5% {
    transform: rotateZ(-15deg) scale(1.2);
  }
  75% {
    transform: rotateZ(15deg) scale(1.2);
  }
  82.5% {
    transform: rotateZ(-12deg) scale(1.2);
  }
  85% {
    transform: rotateZ(0) scale(1.2);
  }
  100% {
    transform: rotateZ(0) scale(1);
  }
}

.v-theme--dark.v-data-table tr:nth-of-type(even) {
  background-color: rgba(45, 45, 45, 0.25);
 }

 .v-theme--light.v-data-table tr:nth-of-type(even) {
  background-color: rgba(230, 230, 230, 0.25);
 }

.v-list-item__icon.v-list-group__header__append-icon .v-theme--light{
  color: white !important;
}

.show-all {
  padding: 10px;
  border-top: 2px dotted;
  border-bottom: 2px dotted;
}

/* Sensoroni-specific element styles */
.hardwrap {
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: break-all;
  overflow-x: hidden;
}

.semi-transparent {
  opacity: 0.5;
}

.expansion {
  padding-left: 0px;
  vertical-align: top;
  overflow-x: hidden;
}

th.sortable {
  white-space: nowrap;
}

th.sortable>i {
  margin-left: 5px;
}

a#title, a#title:visited, a#title:active, a#title:hover {
  text-decoration: none;
  color: inherit;
}

.src {
  border-left: 3px solid rgb(var(--v-theme-info));
  font-weight: bold;
}

.dst {
  border-left: 3px solid rgb(var(--v-theme-error));
  font-weight: bold;
}

.v-data-footer {
  min-width: 32em;
}

.filter.label {
  display: inline-block;
  width: 40%;
  text-align: right;
  white-space: nowrap;
  vertical-align: top;
  text-overflow: ellipsis;
  overflow: hidden;
}

.filter.value {
  display: inline-block;
  width: 55%;
  text-align: left;
  font-weight: bold;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-left: 4px;
}

.case.summary {
  overflow-x: hidden;
  white-space: nowrap;
  opacity: 60%;
  font-size: 75%;
}

.case.blocked {
  display: block;
  width: auto !important;
  min-width: auto !important;
}

.v-theme--light .case.tabular-row {
  border-bottom: 1px dotted rgba(0,0,0,.05);
}

.v-theme--dark .case.tabular-row {
  border-bottom: 1px dotted hsla(0,0%,100%,.05);
}

.case.tabular-label {
  word-wrap: break-word;
  font-weight: bold;
}

.case.label {
  display: inline-block;
  width: 15%;
  min-width: 6.0em;
  padding-right: 10px;
  text-align: right;
  font-weight: bold;
  word-wrap: break-word;
}

.case.value {
  text-align: left;
  word-wrap: break-word;
}

.case.raw {
  overflow-x: hidden;
}

.case.detail-field {
  border-radius: .25em;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.no-underline {
  text-decoration: none;
}

.clicktoedit:hover {
  cursor: pointer;
  color: rgb(var(--v-theme-primary-lighten-1)) !important;
}

td.associated {
  overflow-x: hidden;
  text-overflow: ellipsis;
}

tr.expandable:hover {
  cursor: pointer;
}

td.case {
  white-space: normal !important;
}

td {
  white-space: nowrap;
}

.packet {
  white-space: pre-wrap;
  word-break: break-word;
}

.nodeStatus {
  min-width: 10ch;
}

.nodeStatus .v-chip__content {
  margin: auto;
}

#connection-indicator {
  color: white;
}

.comment-body, .full-width {
  width: 100%;
}

.case-table table {
  width: 100% !important;
  table-layout: fixed;
}

.markdown-body {
  overflow: auto;
  white-space: revert !important;
  position: relative;
}

.comment-body .markdown-body {
  padding: 0.75em 1.25em;
  border-radius: 0.25em;
}

.comment-body .markdown-body pre,
.comment-body .markdown-body p {
  margin: 8px 0;
}

.markdown-body table {
  border-collapse: collapse;
  margin: 8px 0 1px 0;
  text-align: left;
}

.markdown-body td,
.markdown-body th {
  padding: 8px;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin: 8px 0 8px 0;
}

.v-theme--dark .markdown-body td,
.v-theme--dark .markdown-body th {
  border: 1px solid hsla(0,0%,100%,.1);
}

.v-theme--light .markdown-body td,
.v-theme--light .markdown-body th {
  border: 1px solid rgba(0,0,0,.2);
}

.v-theme--dark .markdown-body tr:nth-child(even) {
  background-color: hsla(0,0%,100%,.05);
}

.v-theme--light .markdown-body tr:nth-child(even) {
  background-color: rgba(0,0,0,.05);
}

.markdown-body th {
  background-color: rgba(0,0,0,.1);
}

/* motd background is darker, so some markdown table colors need to be different */
.v-theme--dark #motd.markdown-body th {
  background-color: rgba(0,0,0,.25);
}

.v-theme--light  #motd.markdown-body th {
  background-color: rgba(0,0,0,.1);
}

.v-theme--dark .comment-body .markdown-body {
  background-color: rgba(0,0,0,.2);
}

.v-theme--light .comment-body .markdown-body {
  background-color: rgba(0,0,0,.03);
}

.markdown-body pre {
  overflow-x: auto;
  padding: 0.5em 0.7em !important;
}

.markdown-body pre code {
  display: block;
  background-color: revert !important;
  padding: 0 !important;
}

.v-theme--light .markdown-body pre {
  background-color: rgba(0,0,0,.05);
  border-radius: 0.25em;
}

.v-theme--dark .markdown-body pre {
  background-color: hsla(0,0%,100%,.1);
  border-radius: 0.25em;
}

.case.avatar-font {
  font-size: 11px;
}

.case.markdown-icon{
  text-decoration: none;
}

.case.markdown-icon i {
  color: rgb(var(--v-theme-secondary-lighten-3));
}

.case.markdown-icon:hover i {
  color: rgb(var(--v-theme-primary));
}

.chart-container {
  height: 100%;
}

.chart-container [id^="group-"] {
  max-height: 475px;
  height: 100%;
}

.maximized {
  position: absolute;
  left: 200px;
  top: 60px;
  width: calc(100vw - 200px) !important;
  height: calc(100vh - 100px) !important;
  background-color: rgb(var(--v-theme-background));
  z-index: 1;
  max-width: calc(100vw - 200px) !important;
  max-height: calc(100vh - 100px) !important;
}

.maximized-bg {
  overflow: hidden;
}

.v-theme--dark.v-card.config-setting {
  background-color: rgb(var(--v-theme-drawer_background));
}

.v-theme--light.v-card.config-setting {
  background-color: rgb(var(--v-theme-drawer_background));
}

.v-theme--dark.editing .v-input__slot {
  background-color: rgb(var(--v-theme-drawer_background-lighten-1));
}

.v-theme--light.editing .v-input__slot {
  background-color: rgb(var(--v-theme-drawer_background-lighten-1));
}

#config-tree {
    height: calc(100vh - 325px);
    overflow-y: auto;
}

.v-input.config-editor {
    font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}

.licenseDetails {
  flex: 1; /* Allow items to grow and shrink */
  min-width: 40em;
  max-width: 40em;
}

.licenseDetailsWrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* Add some spacing between the items */
}

.v-alert.info a {
  color: white;
}

.flex-break {
  flex-basis: 100%;
  height: 0;
}

.half-width {
  display: inline-block;
  width: 50%;
}

.half-width > .v-list-item__title {
  min-width: unset !important;
  font-weight: 900;
  text-align: center;
}

.between-body {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-evenly;
}

.inline {
  display: inline-block;
}

.resolved-host {
  color: rgba(255, 255, 255, 0.5);
}

.v-theme--light .resolved-host {
  color: rgba(0, 0, 0, 0.5);
}

.multiselect-container {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: flex-start;
}

#multiselect-checkbox {
  display: inline-block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.detection-selection {
  display: inline-block;
  vertical-align: middle;
}

.tab-icon {
  margin-right: 8px;
  vertical-align: baseline;
}

.selection-counter {
  margin-left: auto;
  padding-right: 12px;
}

.bulk-actions {
  display: inline-block;
  max-width: 100px;
  margin: 0 4px;
  vertical-align: bottom;
}

.detection-hunt-btn {
  margin-top: 20px;
}

.detection-source-button-row {
  margin-top: 6px;
  margin-bottom: -8px;
}

.header {
  font-size: 1.3em;
  font-weight: bold;
}

.header:not(:first-child) {
  margin-top: 16px;
}

.extracted-content {
  border-radius: 4px;
  padding: 8px;
}

.extracted-content > pre {
  text-wrap: wrap;
  word-break: break-word;
}

.ops-header {
  font-weight: bold;
  margin-top: 16px;
}

.ops-header::before {
  content: "\200b";
}

.ops-value::after {
  content: "\00a0";
}

.ops-value > .v-input--selection-controls {
  margin-top: 0 !important;
  padding-top: 0 !important;
  height: 24px !important;
}

#ops-buttons {
  display: flex;
  column-gap: 8px;
}

#ops-buttons > * {
  flex-basis: calc(50% - 4px);
}

.case-title {
  text-transform: capitalize;
}

#convert-button-container {
  display: flex;
  flex-direction: row;
  justify-content: end;
  padding: 24px;
}

#convert-button-container > * {
  margin-left: 12px;
}

#actionTuneDetection-disabled {
  color: gray;
  cursor: pointer;
}

.override-help {
  vertical-align: -webkit-baseline-middle;
  margin-right: 8px;
}

.manual-sync {
  margin: 6px;
  display: flex;
}

.manual-sync div:first-child {
  flex-grow: 1;
  margin-right: 8px;
}

.manual-sync-buttons {
  display: flex;
  flex-direction: column;
}

.manual-sync-buttons button:first-child {
  margin-bottom: 6px;
}

.manual-sync-buttons button {
  width: 100%;
}

#override-filter-edit-buttons {
  display: flex;
  justify-content: end;
}

.prism {
  /* you must provide font-family font-size line-height. Example:*/
  font-family: Fira code, Fira Mono, Consolas, Menlo, Courier, monospace;
  font-size: 14px;
  line-height: 1.5;
  padding: 5px;
  border: 1px solid gray;
  border-radius: 3px;
}

.prism-editor__container {
  min-height: 10em;
}

/* optional class for removing the outline */
.prism-editor__textarea:focus {
  outline: none;
}

code {
  background-color: unset !important;
}

.v-theme--light .key-changed {
  color: rgb(102, 153, 0)
}

.v-theme--dark .key-changed {
  color: rgb(204, 153, 205)
}

#job-details {
  display: flex;
  column-gap: 4px;
}

#job-details > *:nth-child(-n+5) {
  flex-basis: calc(25% - 4px);
}

.warning-message a {
  color: white;
}

.warning-message a:visited {
  color: white;
}

tbody tr:hover {
  background-color: transparent !important;
}

.v-theme--dark tbody tr:hover:nth-of-type(even) {
  background-color: rgba(45, 45, 45, 0.25) !important;
}

.v-theme--light tbody tr:hover:nth-of-type(even) {
  background-color: rgba(230, 230, 230, 0.25) !important;
}

.unset-vertical-align {
  vertical-align: unset !important;
}

[data-aid="terms_screen"] .v-tab--selected {
  color: rgb(var(--v-theme-primary)) !important;
}

[data-aid="terms_screen"] .fa {
  margin-bottom: 4px;
}

.v-theme--dark .subtle-border {
  border-bottom-color: rgba(255, 255, 255, 0.12);
  border-left-color: rgba(255, 255, 255, 0.12);
  border-right-color: rgba(255, 255, 255, 0.12);
  border-top-color: rgba(255, 255, 255, 0.12);
}

.v-theme--light .subtle-border {
  border-bottom-color: rgba(0, 0, 0, 0.12);
  border-left-color: rgba(0, 0, 0, 0.12);
  border-right-color: rgba(0, 0, 0, 0.12);
  border-top-color: rgba(0, 0, 0, 0.12);
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

ul ul {
  list-style-type: circle;
  padding-left: 20px;
}

ul ul ul {
  list-style-type: square;
  padding-left: 20px;
}

.treeview-item:hover {
  background-color:rgba(var(--v-theme-text), 0.12);
}

.treeview-item--active {
  color: rgb(var(--v-theme-primary));
  background-color: rgba(var(--v-theme-primary), 0.12) !important;
}

.remove-overlay .v-btn__overlay {
  opacity: 0;
}

.sticky-config {
  position: sticky;
  top: 154px;
}

.va-baseline {
  vertical-align: baseline;
}

.va-middle {
  vertical-align: middle;
}

.multi-line {
  white-space: pre-line;
}

.text-primary .v-switch__thumb {
  background-color: rgb(var(--v-theme-primary)) !important;
}

#detection-col {
  top: 70px;
  position: sticky;
  width: 100%;
  max-height: calc(100vh - 64px - 40px - 10px);
  overflow-y: auto;
  padding-right: 12px !important;
}

.quicklinks {
  display: flex;
  flex-direction: row;
}

.quicklinks > i {
  cursor: pointer;
}

.component-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #21212180;
  z-index: 1000;
}

.component-overlay .v-container {
  height: 100%;
  width: 100%;
}

.component-overlay .v-progress-circular {
  position: sticky;
  top: 50%;
}

.icon-overlay-top-right {
  position: relative;
  font-size: 0.6em;
  top: -0.6em;
  left: 0.6em;
  text-shadow: 0 0 0 rgb(var(--v-theme-background)), 0 0 1px rgb(var(--v-theme-background)), 0 0 2px rgb(var(--v-theme-background));
}

.title-case {
  text-transform: capitalize !important;
}

#proFeatures {
  background-image: url('../images/pro-star.png');
  background-repeat: no-repeat;
  background-position: right top;
}

.marketing.v-theme--dark {
  background-color: rgb(var(--v-theme-background-lighten-1)) !important;
}

.marketing.v-theme--light {
  background-color: rgb(var(--v-theme-background-darken-1)) !important;
}

#external-tools-list a.v-list-item {
  padding-right: 4px;
}

#job-common-action {
  padding-bottom: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

#job-quick-action {
  padding-top: 0px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

[data-aid="grid_members_screen"] .v-btn.v-theme--light {
  background-color: rgb(var(--v-theme-drawer_background)) !important;
}

.hard-wrap {
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: none;
}

.pos-rel {
  position: relative;
}

.vert-divider {
  margin-left: -4px;
}

.closer-prepend .v-input__prepend {
  margin-right: unset !important;
}

.v-messages__message {
  max-height: 36px;
}

.ws-normal {
  white-space: normal;
}

.spacious-lines {
  line-height: 1.5;
}

.simple-table {
  border-collapse: collapse;
  table-layout: fixed;
  border: 1px solid rgba(var(--v-theme-text), 0.12);
  margin-top: 8px;
  margin-bottom: 8px;
  padding-right: 8px;
}

.simple-table th, .simple-table td {
  cursor: default;
  border: 1px solid rgba(var(--v-theme-text), 0.12);
  padding: 10px;
  white-space: normal;
}

.simple-table td {
  font-weight: bolder;
  white-space: nowrap;
}

.simple-table td:last-child {
  white-space: normal !important;
  word-break: break-all;
}

.cursor-pointer {
  cursor: pointer;
}

.text-normal {
  font-weight: unset !important;
  font-style: unset !important;
}

.playbook-ai-warning {
  height: 54px;
  padding-left: 24px;
  display: flex;
  align-items: center;
}

.center-self-flex {
  justify-self: center;
}

.has-answers {
  border-left: 3px solid rgb(var(--v-theme-info));
}

.no-data {
  border-left: 3px solid rgb(var(--v-theme-warning));
}

.has-error {
  border-left: 3px solid rgb(var(--v-theme-error));
}

#topChart, #bottomChart, #timelineChart {
  height: 207px !important;
  width: 100% !important;
}

@media print {
  .no-print,
  .v-navigation-drawer, 
  .v-app-bar, 
  .v-btn, 
  .router-link-active, 
  .v-input__details, 
  .v-data-table-footer__items-per-page,
  .v-chip__close,
  .v-checkbox,
  .v-menu,
  .v-snackbar,
  .v-alert,
  .v-toolbar,
  .new-comment
  {
    display:none;
  }

  .v-main {
    --v-layout-left: 0px !important;
  }

  textarea,
  .v-table__wrapper,
  .v-input,
  .markdown-body
  pre
  {
    overflow: hidden !important;
  }
}
/* Chat-specific styles */
.chat-container {
  height: calc(100vh - 300px) !important;
}

.chat-messages {
  height: calc(100vh - 420px);
  overflow-y: auto;
}

.chat-input {
  min-width: 0;
}

.chat-history-sidebar {
  height: calc(100vh - 300px) !important;
  position: sticky;
  top: 20px;
}

.chat-history-content {
  height: calc(100vh - 280px);
  overflow-y: auto;
}

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

.chat-history-sidebar .v-list-item {
  border-radius: 8px;
  margin: 4px 8px;
  padding: 8px 12px;
}

.chat-history-sidebar .v-list-item:hover {
  background-color: rgba(var(--v-theme-primary), 0.08);
}

.chat-history-sidebar .v-list-item.bg-primary {
  background-color: rgba(var(--v-theme-primary), 0.12) !important;
  color: rgb(var(--v-theme-primary));
}

.chat-history-sidebar .v-list-item-title {
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
}

.chat-history-sidebar .v-list-item-subtitle {
  font-size: 12px;
  opacity: 0.7;
}

/* Tool Use Styling */
.tool-use-card {
  border-left: 3px solid rgb(var(--v-theme-primary));
  margin-top: 8px;
}

.tool-result {
  max-height: 300px;
  overflow-y: auto;
  background-color: rgba(var(--v-theme-surface-variant), 0.1);
  border-radius: 4px;
  padding: 8px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  line-height: 1.4;
}

.tool-result pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.tool-use-card .v-card {
  background-color: rgba(var(--v-theme-surface), 0.8);
  border: 1px solid rgba(var(--v-theme-outline), 0.2);
}

.tool-use-card .v-chip {
  font-size: 10px;
  height: 20px;
}

/* Chat message styling improvements */
.message-item {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tool execution status indicators */
.tool-executing, .tool-preparing {
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Tool preparing status - slower pulse */
.tool-preparing {
  animation: preparePulse 2s ease-in-out infinite;
}

@keyframes preparePulse {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

/* Tool approval buttons */
.tool-approval-buttons {
  gap: 8px;
}

.tool-approval-buttons .v-btn {
  min-width: 80px;
}

/* Pending approval status animation */
.tool-pending-approval {
  animation: pendingPulse 2s ease-in-out infinite;
  border-left-color: rgb(var(--v-theme-warning)) !important;
}

@keyframes pendingPulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

/* Avatar icon centering fix */
.v-avatar .v-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
}

/* Responsive adjustments for chat layout */
@media (max-width: 1264px) {
  .chat-history-sidebar {
    position: static;
    margin-top: 16px;
  }
}

/* Tool result expansion panel width fix */
.tool-result-expansion {
  width: 100%;
}

.tool-result-expansion .v-expansion-panel {
  width: 100%;
}

.tool-result-expansion .v-expansion-panel-text {
  width: 100%;
  overflow: hidden;
}

.tool-result-expansion .v-code {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  overflow-x: auto;
  word-break: break-all;
}

.disclaimer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 75%;
}

.disclaimer-card {
  display: flex;
  flex-direction: column;
}

.disclaimer-body {
  flex: 1 1 auto;
  overflow: auto;
  padding: 16px;
}

.disclaimer-actions {
  position: sticky;
  bottom: 0;
  background: inherit;
}

.chat-container .message-item .text-body-2 {
  line-height: 1.6;
}

.chat-container .message-item .text-body-2 p,
.chat-container .message-item .text-body-2 ul,
.chat-container .message-item .text-body-2 ol,
.chat-container .message-item .text-body-2 table {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

.chat-container .message-item .text-body-2 ul,
.chat-container .message-item .text-body-2 ol {
  padding-left: 1.25rem;
}

.chat-container .message-item .text-body-2 p:last-child,
.chat-container .message-item .text-body-2 ul:last-child,
.chat-container .message-item .text-body-2 ol:last-child,
.chat-container .message-item .text-body-2 table:last-child {
  margin-bottom: 0;
}

.chat-container .message-item .text-body-2 table {
  border-collapse: collapse;
  width: 100%;
}

.chat-container .message-item .text-body-2 th,
.chat-container .message-item .text-body-2 td {
  border: 1px solid rgba(var(--v-theme-on-surface), 0.24);
  padding: 0.5rem 0.75rem;
  vertical-align: top;
}

.chat-container .message-item .text-body-2 th {
  background-color: rgba(var(--v-theme-on-surface), 0.06);
  font-weight: 600;
}

.hardwrap-aimetrics {
  word-wrap: break-word;
  white-space: normal;
  word-break: break-all;
  overflow-x: hidden;
}

.v-breadcrumbs-divider {
  padding: 0 !important;
  display: flex;
  align-items: center;
}

.v-breadcrumbs-divider .v-icon {
  font-size: 0.8em;
  vertical-align: middle;
}

.text-right {
  text-align: right !important;
}
