#options_container {
    display: none;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
    width: 500px;
    padding: 12px 18px;
    padding-bottom: 48px;
    box-sizing: border-box;
    position: fixed;
    bottom: 0;
    left: 50%; 
    transform: translateX(-50%);
    background: var(--background-color, #fff);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Modo luz */
#light_mode {
  display: flex;
  margin-top: 32px;
  flex-direction: column;
  gap: 4px;
}

.vertical-divider {
  width: 100%;
  display: flex;
  height: 120px;
  gap: 4px;
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.vertical-divider div {
  width: 50%;
  box-sizing: content-box;
  display: flex;
  height: 120px;
  flex-direction: column;
  display: flex;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
}

.vertical-divider div img {
  max-width: 100%;
  border-radius: 4px;
  max-height: 100%;
  object-fit: contain;
}

/* Tipo de letra */
.font_type_section {
  display: flex;
  flex-direction: column;
}

.font_type_section label {
  font-weight: 600;
  margin-bottom: 6px;
}

.font_select {
  padding: 6px 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  cursor: pointer;
}

/* Tamaño y altura de línea */
.size_lineheight_section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.size_lineheight_section label {
  font-weight: 600;
  margin-bottom: 4px;
}

.font_size, .line_height {
  width: 100%;
  cursor: pointer;
}
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--text-grey-color, #ccc);
  border-radius: 3px;
  outline: none;
}

/* Pista (track) */
input[type="range"]::-webkit-slider-runnable-track {
  background: var(--text-grey-color, #ccc);
  height: 6px;
  border-radius: 3px;
}

input[type="range"]::-moz-range-track {
  background: var(--text-grey-color, #ccc);
  height: 6px;
  border-radius: 3px;
}

/* Botón (thumb) */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: var(--card-color); /* color del thumb */
  height: 20px;
  width: 20px;
  border-radius: 50%;
  margin-top: -7px; /* Centrar el thumb */
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.active {
  border: 2px solid var(--primary-color);
}

input[type="range"]::-moz-range-thumb {
  background: var(--card-color);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
}
.close-button {
  position: absolute;
  top: 4px;
  right: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.close-button:hover {
  color: var(--text-grey-color, #888);
}


@media (max-width: 600px) {
  #options_container{
    width: 100%;
  }
}