/* ===== LABEL GAME STYLES ===== */

#label-game {
  max-width: 650px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */
#game-header {
  width: 100%;
  text-align: center;
  margin-bottom: 1.5rem;
}

#game-header h2 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #0056d1;
}

/* ---------- IMAGE + QUICK BUTTONS ---------- */
#top-flex-row {
  width: 100%;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

#image-section {
  flex: 2;
  display: flex;
  justify-content: center;
}

#label-image {
  max-width: 100%;
  max-height: 220px;
  border-radius: 14px;
  border: 2px solid #e1e6ef;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* QUICK BUTTONS */
#quick-buttons {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quick-btn {
  padding: 12px;
  background: #19bcbc;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.quick-btn:hover {
  background: #139c9c;
  transform: translateY(-2px);
}

/* INPUT AREA */
#input-section {
  width: 100%;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#label-input {
  padding: 0.8rem 1rem;
  font-size: 1.1rem;
  border-radius: 10px;
  border: 2px solid #d4dce5;
}

.label-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

/* PRESET EDITOR (BOTTOM OF PAGE) */
#preset-editor {
  margin-top: 2rem;
  width: 100%;
  background: #f8fafc;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

#preset-editor h3 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.preset-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.preset-input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #cfd8e4;
}

/* Status bar */
#status-bar {
  width: 100%;
  margin-top: 1rem;
  text-align: center;
}

/* Mobile layout */
@media (max-width: 640px) {
  #top-flex-row {
    flex-direction: column;
  }

  #label-image {
    max-height: 150px;
  }

  #quick-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .quick-btn {
    flex: 1;
    min-width: 30%;
  }
}
