/* =========================
   BOTTOM BAR 4 BOTÕES, 3 LABELS, 2 LOGOS, TEXTO
========================= */
#ui-controls {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column; /* 🔥 VSTACK */
  align-items: center;
  gap: 10px;

  z-index: 9999;
}

/* linha de botões */
.buttons-row {
  display: flex;
  gap: 12px;
}

/* logos */
.logos-row img {
  height: auto;
}

.logos-row img:first-child {
  width: 90px; /* FOXCOA maior */
}

.logos-row img:nth-child(2) {
  width: 70px; /* AMENDOEIRA menor */
}

/* texto */
.bottom-text {
  margin-top: 5px;
  font-size: 8px;
  opacity: 0.7;
  text-align: center;
}

.brand {
  font-weight: bold;
}

#ui-controls button {
  width: 54px;
  height: 54px;

  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: white;

  cursor: pointer;

  font-size: 20px;
  font-weight: 600;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;

  box-shadow:
    0 0 12px rgba(0,0,0,0.12),   /* glow à volta */
    0 6px 18px rgba(0,0,0,0.12); /* sombra normal */
}

#ui-controls button:hover {
  transform: scale(1.08);
  background: #f5f5f5;
}

#ui-controls button:active {
  transform: scale(0.94);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.top-labels {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

.label {
  padding: 6px 14px;
  border-radius: 999px; /* 🔥 SUPER REDONDO */
  font-size: 12px;
  color: rgb(0, 0, 0);
  cursor: pointer;

  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

/* cores */
.label.red {
  background: #f3decd;
}

.label.green {
  background: #d6ecd5;
}

.label.blue {
  background: #d9d9d9;
}

/* hover */
.label:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* click */
.label:active {
  transform: scale(0.95);
}


@media (max-width: 768px) {

  #ui-controls {
    bottom: 12px;
    gap: 8px;
  }

  /* botões menores */
  #ui-controls button {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  /* labels mais compactas */
  .label {
    font-size: 10px;
    padding: 6px 9px;
  }

  /* logos menores */
  .logos-row img:first-child {
    width: 70px;
  }

  .logos-row img:nth-child(2) {
    width: 55px;
  }

  .bottom-text {
    font-size: 7px;
  }
}