/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

 pre.highlight,
.highlight pre {
  max-height: 30rem;
  margin: 1.5rem 0;
  overflow: auto;
  border-radius: var(--tblr-border-radius);
}

.highlight {
  margin: 0;
}
.highlight code > * {
  margin: 0 !important;
  padding: 0 !important;
}
.highlight .c, .highlight .c1 {
  color: #a0aec0;
}
.highlight .nt, .highlight .nc, .highlight .nx {
  color: #ff8383;
}
.highlight .na, .highlight .p {
  color: #ffe484;
}
.highlight .s, .highlight .dl, .highlight .s2 {
  color: #b5f4a5;
}
.highlight .k {
  color: #93ddfd;
}
.highlight .s1, .highlight .mi {
  color: #d9a9ff;
}

.dropdown-menu-demo {
  display: inline-block;
  width: 100%;
  position: relative;
  top: 0;
  margin-bottom: 1rem !important;
}

.demo-icon-preview {
  position: sticky;
  top: 0;
}
.demo-icon-preview svg,
.demo-icon-preview i {
  width: 15rem;
  height: 15rem;
  font-size: 15rem;
  stroke-width: 1.5;
  margin: 0 auto;
  display: block;
}

.demo-icon-preview-icon pre {
  margin: 0;
  user-select: all;
}

.demo-dividers > p {
  opacity: 0.2;
  user-select: none;
}

.demo-icons-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 -2px -1px 0;
  list-style: none;
}
.demo-icons-list > * {
  flex: 1 0 4rem;
}

.demo-icons-list-wrap {
  overflow: hidden;
}

.demo-icons-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  text-align: center;
  padding: 0.5rem;
  border-right: var(--tblr-border-width) var(--tblr-border-style) var(--tblr-border-color);
  border-bottom: var(--tblr-border-width) var(--tblr-border-style) var(--tblr-border-color);
  color: inherit;
  cursor: pointer;
}
.demo-icons-list-item .icon {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.5rem;
}
.demo-icons-list-item:hover {
  text-decoration: none;
}
.swal2-title {
  line-height: 1.2;
}
[data-controller="clipboard"],
[data-controller="confirmer"] {
  cursor: pointer;
}
.w1 { width: 1% !important; }

span.disabled {
  background-color: #f9f9f9;
}

@keyframes fadeInHighlight {
  0%   { background-color: #ffffcc; opacity: 0; }
  50%  { background-color: #ffffcc; opacity: 1; }
  100% { background-color: transparent; }
}

.turbo-emphasize {
  animation: fadeInHighlight 1.5s ease-out;
}
.report-header th,
.report-no-data {
  background-color: #e6e6e6;
}

.report-no-data {
  border: 1px solid #808080;
}

.unset-report-header th {
  background-color: #FFF !important;
  border: none !important;
}

.unset-report-header {
  border: 0 !important;
}

.border-top-solid {
  border-top: 2px solid #ccc !important;
}

.fs-report th,
.fs-report td {
  font-size: 0.8rem !important;
}

@keyframes bell-wiggle {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(12deg); }
  20%  { transform: rotate(-12deg); }
  30%  { transform: rotate(10deg); }
  40%  { transform: rotate(-10deg); }
  50%  { transform: rotate(6deg); }
  60%  { transform: rotate(-6deg); }
  70%  { transform: rotate(3deg); }
  80%  { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}

.animate-wiggle {
  display: inline-block;
  transform-origin: top center; /* important for bell effect */
  animation: bell-wiggle 2s ease-in-out infinite;
}

.w-15 { width: 15% !important; }