body {
  font-size: 14px;
  font-family: "Ubuntu Mono", serif;
  background-color: #fcf3e4 !important;
  padding: 5px;
  text-align: left;
  font-weight: bold;
}

body, button, input, optgroup, select, textarea{
  font-family: "Ubuntu Mono", serif !important;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

textarea {
  font-size: 12.9px !important;
  background: #f9f9f9 !important;
}
.hide{display:none;}
.font-bold{font-weight:bold;}

.textarea{
  font-size: 12.9px !important;
  overflow-y: scroll;
}
.highlight-spintax {
  /* position: relative; */
  /* line-height: 1.7; */
  background: rgba(249, 223, 185, 0.4);
  color: #65372a;
}
.highlight-placeholder{
  background: rgba(77,255,114,0.5);
  color: #000;
}
.box-label{
  font-size: 11px;
  padding: 5px 10px;
  box-shadow: 0 .5em 1em -.125em rgba(10, 10, 10, .1), 0 0 0 1px rgba(10, 10, 10, .02);
  border-radius: 5px 5px 5px 0;
  position: relative;
  top: 8px;
  font-weight: 600;
  background: #f9dfb9;
  color: #65372a;
}
select#templateSelect {
  max-width: 155px;
}
.container {
  max-width: 700px !important;
}

#placeholderInputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* margin-top: 10px; */
}

#placeholderInputs input {
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1;
  min-width: 45%;
}

.spintax-section {
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 6px;
  background: #f9f9f9;
}

.spintax-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .tag:not(body) {
  font-size: 0.55rem;
} */

.spintaxWeightControls{
  display: block;margin-bottom: 10px;overflow-y: hidden;padding-left: 14px;padding-top: 16px;
  overflow-x: scroll;
}

.gap-10{gap: 10px;}

/* Always show scrollbar even on macOS */
.spintaxWeightControls::-webkit-scrollbar {
  width: 12px; /* Adjust the width of the scrollbar */
}

.spintaxWeightControls::-webkit-scrollbar-thumb {
  background-color: darkgrey; /* Change the scrollbar thumb color */
  border-radius: 10px;
}

.spintaxWeightControls::-webkit-scrollbar-track {
  background: #f1f1f1; /* Background of the scrollbar track */
}

.control-title {
  font-size: 12px;
  font-weight: 200;
  background: #f5f5f5;
  margin-top: -12px;
  padding: 5px;
  margin-left: -13px;
  margin-right: -13px;
  border-radius: 5px 5px 0 0;
}

.tabs li.is-active a {
  border-bottom-color: #66372b;
  color: #66372b;
}

.tabs.is-boxed a:hover {
  background-color: #f9dfba;
  border-bottom-color: #dbdbdb;
}

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

.top-logo {
  text-align: center;
  color: #66372b;
}

@media only screen and (max-width: 769px) {
  #spintaxOptions .columns{
    display: flex !important;
  }
  .template-controls .select, .template-controls .select select#templateSelect{
    width: 100%;
    max-width: inherit;
    margin-bottom: 4px;
  }
}

#spintaxInput {
  white-space: pre-wrap; /* Ensures line breaks are kept */
  min-height: 120px; /* Ensure space for text */
  overflow-y: auto; /* Allow scrolling */
  padding: 10px;
  background: #f9f9f9 !important; /* Ensure visible background */
  border: 1px solid #ddd;
  outline: none; /* Remove default browser focus */
}

#spintaxInput div {
  display: block; /* Ensure divs behave like new lines */
}

#spintaxInput br {
  display: block;
  content: "";
  height: 16px; /* Ensures new lines have spacing */
}
