@import url("./base.css");
@import url("./htmx.css");
@import url("./header.css");
@import url("./sidebar.css");
@import url("./form.css");
@import url("./datagrid.css");
@import url("./drawer.css");

:root {

  --app-header-width: 4rem;
  --app-sidebar-width: 14rem;
  --app-main-margin: calc(var(--app-header-width) + var(--app-sidebar-width));
  --app-main-header-height: 4rem;

  /*--tblr-font-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;*/
  --tblr-body-bg: #f6f5f5; /*f1f4f9;*/
  --bs-danger: #ef4444;
  --tblr-bg-surface-tertiary: #fcfdfe;


  --pico-nav-breadcrumb-divider: ">";
  --pico-icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  --pico-icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
  --pico-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --pico-icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  --pico-icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
  --pico-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  --pico-icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(136, 145, 164)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  --pico-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E")
}

@supports (font-variation-settings: normal) {
  :root {
    font-family: InterVariable, sans-serif;
  }
}

body {
  /*font-feature-settings: "cv03", "cv04", "cv11";*/
  overflow-x: hidden;
}

#appMain {
  /*margin: 0 18rem 0;*/
  margin: 0 0 0 var(--app-main-margin);
  /*background: white;*/
}

section#app,
section#app>header,
section#app>aside,
section#app>main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#mainHeader {
  height: var(--app-main-header-height);
}

#mainSection {
  background-color: #ffffff;
  height: calc(100vh - var(--app-main-header-height));
  overflow: hidden;
}

.scrollable,
.scroll-x {
  scrollbar-width: thin;
}

.bg-gray-lt {
  background-color: var(--tblr-bg-surface-tertiary);
}

.bg-gray-md {
  background-color: #f6f8fb;
}

.bg-gray-dk {
  background-color: var(--tblr-body-bg);
}

.bg-white-theme {
  background-color: var(--tblr-bg-surface);
}

.datagrid.datagrid-sm {
  --tblr-datagrid-item-width: 8rem;
}

/*#view-tabs.nav-bordered {
    border: none;
}*/
.navbar-vertical.navbar-expand-lg {
  width: 18rem;
  left: 3rem;
}

.navbar-expand-lg.navbar-vertical~.navbar,
.navbar-expand-lg.navbar-vertical~.page-wrapper {
  margin-left: 18rem;
}

.sidebar-header {
  background-color: var(--tblr-body-bg);
}

.dropdown-menu {
  --tblr-dropdown-link-hover-bg: rgba(var(--tblr-secondary-rgb), 0.08);
}

.modal-expand {
  max-width: none;
  margin: 2rem;
}

.modal-expand .modal-content {
  height: 100%;
}

#sidepanel {
  will-change: min-height;
}

#sidepanel .card-container {
  /*height:79vh;*/
  max-height: 79vh;
  overflow-x: hidden;
  overflow-y: scroll;
}

#sidepanel .sidepanel__inner {
  transform: translate(0, 0);
  /* For browsers don't support translate3d. */
  transform: translate3d(0, 0, 0);
  will-change: position, transform;
}

.card-link {
  padding: 0.3rem 0.6rem;
  border-radius: var(--tblr-card-border-radius);
}

.card-link+.card-link {
  margin-left: 0.6rem;
}

[data-bs-theme=dark] #applogo {
  filter: brightness(0) invert(1);
}

[data-bs-theme=dark] .switch-icon.ti-moon:before {
  content: "\eb30";
}

.table-active {
  --tblr-table-bg-state: rgba(var(--tblr-azure-rgb), 0.1);
}

.blob {
  display: inline-block;
  background: black;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgb(0, 0, 0);
  width: 0.5rem;
  height: 0.5rem;
  top: 15%;
  right: 15%;
  transform: scale(1);
  animation: pulse-red 2s infinite;
}

.blob.red {
  background: rgb(255, 82, 82);
  box-shadow: 0 0 0 0 rgb(255, 82, 82);
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
  }
}

input[type=search].form-control::-webkit-search-cancel-button {
  -webkit-appearance: auto !important;
}

.fitcontent #listResults .list-header {
  height: 4rem;
}

.fitcontent #listResults .list-body {
  height: calc(100vh - 7rem);
}

.fitcontent #listResults .list-footer {
  height: 3rem;
}

.fitcontent #peek {
  height: calc(100vh - 3rem);
}

.fitcontent #peek .peek-body {
  height: calc(100vh - 13.5rem);
}

.fitcontent #peekPreview {
  height: calc(100vh - 11.5rem);
}

.fitcontent #detailHeader {
  height: 4rem;
}

.fitcontent #detailTabs {
  height: 2.5rem;
}

.fitcontent #detailView {
  height: calc(100vh - 9rem);
}

.fitcontent .list-group-item.active {
  background-color: rgba(var(--tblr-secondary-rgb), 0.08);
}

body:has(.fitcontent) {
  overflow: hidden;
  /*.page-body {
      margin: 0;
  }*/
}

/* body:has(#detailTabs) #detailView {
  height: calc(100vh - 11.5rem);
} */

audio {
  /*filter: invert(1);*/
  width: 100%;
  height: 3rem;
}

audio::-webkit-media-controls-enclosure {
  border-radius: 5px;
  background-color: var(--tblr-info);
}

img.bg-filter {
  mix-blend-mode: multiply;
}

.table,
.markdown>table {
  --tblr-table-hover-bg: var(--tblr-bg-surface-tertiary);
}

/* TABLER CHAT */
.chat-bubble {
  background: var(--tblr-bg-surface-tertiary);
}

.chat-bubble-me {
  background-color: var(--tblr-modal-bg);
}

.chat-bubble-title {
  color: var(--tblr-azure);
}

.chat-bubble-date {
  color: var(--tblr-muted);
  opacity: 0.3;
}

.hr-text {
  margin: 1.5rem 0;
}

.navbar-sub {
  position: relative;
}

.navbar-sub::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: 1px;
  height: 100%;
  background: var(--tblr-border-color);
  opacity: 0.5;
}

.navbar-sub .nav-link:hover {
  background-color: var(--tblr-bg-surface);
}

.navbar-sub .nav-link:hover .nav-link-title.text-azure {
  color: var(--tblr-heading-color) !important;
}

#listResults .list-group-item:active,
#listResults .list-group-item:focus,
#listResults .list-group-item:hover {
  background-color: transparent;
}

.shadow-md {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

#peek {
  width: 18rem;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1035;
  font-size: 0.8rem;
}

.table-preview td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-preview td.parameter {
  max-width: 8rem;
  min-width: 7.5rem;
}

.table-preview td.value {
  font-weight: 600;
  max-width: 10rem;
}

#playerFooter {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  transform: translate(-50%, -1.5rem);
}

#playerFooter .pills {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--tblr-border-radius-pill);
  padding: 0.5rem 1rem;
}

.playerMaximize {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.icon {
  vertical-align: text-bottom !important;
}

/* Timeline */

.timeline-event-edit {
  opacity: 0;
}

.timeline-event-card:hover .timeline-event-edit {
  opacity: 0.5;
}


/*# sourceMappingURL=main.css.map */