/* app/assets/stylesheets/application.css */

@import url("/assets/css/_nav-61c170d4.css");
@import url("/assets/css/_spa-14d4f54e.css");
@import url("/assets/css/_tooltip-20624d3c.css");
@import url("/assets/css/_modal-54e2f607.css");
@import url("./css/_components.css");

@font-face {
  font-family: "Agave Nerd Font";
  src: url("/assets/AgaveNerdFont-Regular-0789198b.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Agave Nerd Font";
  src: url("/assets/AgaveNerdFont-Bold-a7df1fd2.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

*,
*::before,
*::after {
  font-family: "Agave Nerd Font", sans-serif !important;
}

html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  /* lighten(#f3f7fb, 5%) → pick a slightly lighter color */
  background-color: #f7faff;
}

/* div { */
/*   background-color: red; */
/* } */

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;

  position: absolute;
  z-index: 1;
}

.hidden {
  display: none !important;
}

.main-content {
  flex-grow: 1;
}

.sticky-footer-card {
  position: relative;
  min-height: 100px;
  max-height: 80vh;
  overflow: hidden;
}

.footer-content {
  height: calc(100% - 10px);
  overflow-y: auto;
  padding: 10px;
}

.sticky-footer-card {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 2200px;
  height: auto;
  z-index: 9999;
  background-color: #fff;
  border: 1px solid #ccc;
}

#terminal-logs {
  flex: 1 1 0;
  min-width: 0;
  margin-left: 4%;
}

#logs {
  height: 320px;
  overflow-y: scroll;
}

#logs > div {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere; /* modern */
  word-wrap: break-word;   /* legacy */
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(4, 25%);
  grid-template-rows: repeat(5, auto);
  gap: 1rem;
  align-items: center;
  width: 100%;
}

.horizontal-slider {
  width: 100%;
}

.vertical-slider {
  writing-mode: vertical-lr;
  direction: rtl;
  -webkit-appearance: slider-vertical; /* old webkit */
  appearance: none;                    /* generic fallback */
  width: 16px;
  vertical-align: bottom;
}

.input_styled {
  font-size: 15.5px !important;
  font-weight: 400 !important;
  border: 1px solid #e4e8f0 !important;
  border-radius: 6px !important;
  width: 100% !important;
  color: #242b42 !important;
  padding: 8px 16px !important;
}

#rotate-display-text {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  padding-top: 12px;
}

#desk-buddy-controller {
  width: 40%;
}

#learn-more {
  pointer-events: none;
}

/* Spin any SVG inside the disabled turtle button */
.send_action_button_disabled svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.full-width {
  width: 100%;
}
