:root {
  color-scheme: dark;
}
*{
  font-family: "Inter", sans-serif;
}

html, body {
  font-optical-sizing: auto;
  font-style: normal;
  background-color: #fcfcfc;
}
body {
  touch-action: none;
  overscroll-behavior: contain;
}

#wrap {
  width: 100vw;
  height: 100vh;
  overflow: auto;
  position: relative;
  overscroll-behavior: contain;
}

#card{
  margin-left: 20px;
  margin-top: -12px;
}
#user-display{
  position: relative;
  left: -50px;
}
.noodle-chart {
  position: absolute;
  top: 125px;
  left: 0;
  margin: 0;
  
  z-index: 1;
}
.noodle-chart svg {paint-order: stroke; overflow: visible}
.noodle-chart path.lc-tag.report-box-container--noodle-line { fill: none; }

.scroll-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.scroll-buffer {
  position: absolute;
  touch-action: none;
  pointer-events: none;
  z-index: 0;
}

.scroll-buffer.top,
.scroll-buffer.bottom {
  left: 0;
  width: 100%;
  height: 100px; /* or dynamic via JS */
}

.scroll-buffer.left,
.scroll-buffer.right {
  top: 0;
  width: 100px; /* or dynamic via JS */
  height: 100%;
}


.navbar{
  top: 1em;
  border-radius: 4em;
  transform-origin: top;
  cursor: default;
}
.navbar>.container-fluid {
  background-color: #F2F2F2;
  border-radius: 4em;
}
a, a:hover{
  text-decoration: none;
}
.small, small {
    font-size: .8em;
}
.smaller, smaller {
    font-size: .7em;
}
/* #wrap {
  height: 100vh;
  width: 100vw;
  margin: 0;
} */
#push, #footer {
  height: auto;
}
#footer {
  background-color: #F2F2F2;
}
#footer a{
  color: #0E0E0E;
}
p.user-display{
  margin: 0.6em 0.18em;
}
.muted{
  opacity:0.8;
}
#menu p.fw-bold {
  font-weight: 740 !important;
  font-size: 1.4em !important
}
#user-filter-list{
    width: 18em;
    height: 12em;
}
.dropdown-item.active, .dropdown-item:active{
  background-color: #6c757d;
}
.dropdown-menu-end, .dropdown-menu-end a .dropdown-menu-end li {
  min-width: unset;
  text-align: center;
  max-width: 10em;
  font-size: 0.9em;
}
.dropdown-menu-end[data-bs-popper] {
    right: -1.1em;
    margin-top: -1em;
}
.datepicker {
    margin-left: 7em;
    margin-top: 0.5em;
   font-size: 0.75em;
}
.datepicker:after{
  border: none;
}
#date-button::before{
  position: relative;
  top: 0.03em;
  transform: scale(1.1);
}
.filter-dropdown,.options-dropdown{
  --bs-text-opacity: 1;
}
#filter-button{
  transform: scale(0.9);
}
#filter-button::after,#options-button::after{
  border: none;
}
.filter-dropdown .dropdown-menu{
  margin-left: -15em;
  margin-top: 0.5em;
  width: 31em;
}
.options-dropdown .dropdown-menu{
  margin-left: -15em;
  margin-top: 0.5em;
}
#columns,#noodles,#consider,#limit,#boost,#multiplier{
  width: 4.5em;
  text-align: center;
  border-radius: 1.5em;
  height: 2em;
}
.form-label{
  margin-bottom: 0;
}
#number-inputs input{
    transform: scale(0.8);
    font-size: 1.3em;
    }
#link{
  position:relative; 
  margin: -0.7em 0 0.3em 0.3em;
  color: #444444;
}
#cook, #start, #spinner{
    border-radius: 2em;
    width: 5.5em;
    height: 3.2em;
    background-color: #494949;
}
/* #start{
  border-radius: 0 1.5em 1.5em 0;
  padding-right: 1.3em;
  width: 4.2em;
  height: 2.4em;
  background-color: #494949;
  color: white;
} */
#user-group{
   width: 13em;

}
#user{
  border-radius: 1.5em;
}
#status {
  text-align: center;
  background-color: #FFF;
  height: 3.5em;
  line-height: 1.5em;
  width: 30em;
  border-radius: 1em;
  padding-top: 0.25em;
  margin-bottom: 0.5em;
  color: #333;
}
#cook-row{
  max-width: 27em;
  max-height: 7em;
}
#cook-row .text-nowrap{
  margin: 0.15em 0;
}
span.noodles.fw-bold, span.consider.fw-bold{
  display:inline-block;
  width: 1em;
}
.dropdown-toggle, #spinner, #date-button {
  cursor: pointer;
}
.flex-row > .flex-row > #noodles {margin-right: 2em}
.form-range::-webkit-slider-thumb { background: white; }
.tick {text-anchor: middle}
.y-axisl, .y-axisr {font-size: 20px; font-weight: bold; color: #0E0E0E}
.x-axis {font-size: 14px; font-weight: bold; }
.y-axisl {transform: translate(62px, 0)}
.y-axisr {transform: translate(100%, 0) translate(-55px, 0);}
.y-axisl circle, .y-axisr circle {fill: #f0f0f0; }
.noodle-chart .tick text {fill: #4e4e4e; stroke: none}
.y-axisl .tick text, .y-axisr .tick text {transform: translate(9.5px, 0.5px);}
.x-axis {transform: translate(0, 100%) translate(15px, -55px);}
/* text.lc-tag {transform: translate(30px,0);} */
text.lc-tag.lc-tag-white {fill: black; stroke: white; font-weight: 600; font-size: 13px; stroke-width: 0.2em;}
.lc-no-dot {display: none; }
/* .lc-lowline {background-blend-mode: darken;} */
.form-range::-webkit-slider-thumb {background: #d2d2d2;}
.form-range::-moz-range-thumb {background: #d2d2d2;}
.form-range::-ms-thumb {background: #d2d2d2;}
.container-fluid .form-check-input:checked {background-color: #252424; border-color: #bfbfbf;}
.container-fluid .form-check-input[role=switch]:checked {background-color: #ffffff; border-color: #bfbfbf; --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='rgba%280, 0, 0, 0.6%29'/%3e%3c/svg%3e");}
.btn.disabled, #start.disabled {pointer-events: auto; cursor: default; border-color: #d2d2d2}
.muted .btn.disabled {opacity: 0.3;}
.muted .btn {opacity: 0.95}
.bounce {
  animation: bounce 2s infinite; /* Apply the 'bounce' keyframes, 2s duration, infinite loop */
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0); /* At these points, the element is at its base position */
  }
  40% {
    transform: translateY(-25px); /* Peak of the first bounce */
  }
  60% {
    transform: translateY(-12px); /* Smaller second bounce */
  }
  90% {
    transform: translateY(-4px); /* Slight final bounce before returning to base */
  }
}




/* HTML: <div class="loader"></div> */
#spinner {
    display: inline-grid;
}
#spinner:before {
  content: "";
  height: 2em;
  margin-left: -0.65em;
  aspect-ratio: 2.7;
  --c: #0000 64%, #eee 66% 98%, #0000 101%;
  background:
    radial-gradient(37% 133% at 50% 158%, var(--c)) 0 0,
    radial-gradient(36% 137% at 50% -60%, var(--c)) 100% 100%;
  background-size: calc(200% / 3) 50%;
  background-repeat: repeat-x;
  animation: l11 1.5s infinite linear;
  transform: translateZ(0);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
}
@keyframes l11{
  to {background-position: -200% 0,-100% 100%}
}
