/* ===== These are CSS definitions for the rows of icons on the bottom left and right ===== */
/* Control and Search Panels Styles */
#controlPanel,
#searchPanel {
  position: fixed;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  z-index: 4000;
  background: rgba(30, 30, 30, 0.35);
  border-radius: 0.7em;
  padding: 0.4em 0.8em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#controlPanel {
  left: 20px;
}

#searchPanel {
  right: 20px;
}

#controlPanel button,
#searchPanel button {
  background: none;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  pointer-events: auto;
}

#controlPanel svg,
#searchPanel svg {
  width: 32px;
  height: 32px;
  display: block;
}

#controlPanel button:hover,
#searchPanel button:hover {
  opacity: 1;
}

/* Drag-over highlight for search panel */
#searchPanel.drag-over {
  border: 2px dashed #00ff99;
  box-shadow: 0 0 12px 2px #00ff9980;
  background: rgba(30, 30, 30, 0.45);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.control-panel-title,
.search-panel-title {
  color: #fff;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.2em;
  letter-spacing: 0.5px;
  width: 100%;
  display: block;
}

.control-icons-row,
.search-icons-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: 1em;
  width: 100%;
}

.checkmark-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.control-icon-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hide-panel-text .control-panel-title,
.hide-panel-text .button-label,
.hide-panel-text .search-panel-title,
.hide-panel-text .search-icon-container .button-label {
  display: none !important;
}

