/* ==========================================================================
   GAMERSPLAY.com — Multi-Category Selection Pills, Card Badges & Admin Editor
   Supports selecting & displaying multiple categories on submit.html,
   robotechdefenseforces.html, and index.html
   ========================================================================== */

/* 1. Interactive Multi-Category Pill Grid (submit.html & robotechdefenseforces.html) */
.gp-multicat-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.gp-multicat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gp-multicat-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  color: #cbd5e1;
  background: rgba(13, 18, 32, 0.88);
  border: 1.5px solid rgba(56, 189, 248, 0.28);
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.gp-multicat-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 240, 255, 0.65);
  color: #ffffff;
  background: rgba(20, 28, 48, 0.95);
}

.gp-multicat-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.gp-multicat-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 900;
  color: transparent;
  background: rgba(7, 9, 14, 0.75);
  border: 1.5px solid rgba(148, 163, 184, 0.45);
  transition: all 0.16s ease;
  flex-shrink: 0;
}

.gp-multicat-pill.is-selected {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(139, 92, 246, 0.26));
  border-color: #00f0ff;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.25), inset 0 0 8px rgba(0, 240, 255, 0.12);
}

.gp-multicat-pill.is-selected .gp-multicat-check {
  color: #07090e;
  background: linear-gradient(135deg, #00f0ff, #38bdf8);
  border-color: #00f0ff;
}

.gp-multicat-helper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #94a3b8;
}

.gp-multicat-selected-summary {
  color: #00f0ff;
  font-weight: 700;
}

/* Compact size variant for Admin Submission Cards */
.gp-multicat-grid--compact {
  gap: 7px;
}

.gp-multicat-grid--compact .gp-multicat-pill {
  padding: 6px 11px;
  font-size: 0.78rem;
  border-radius: 8px;
}

.gp-multicat-grid--compact .gp-multicat-check {
  width: 14px;
  height: 14px;
  font-size: 0.65rem;
}

/* 2. Admin Submission Multi-Category Editor Box */
.gp-admin-sub-cat-editor {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(7, 9, 14, 0.62);
  border: 1px solid rgba(0, 240, 255, 0.24);
}

.gp-admin-sub-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 9px;
}

.gp-admin-sub-cat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
}

.gp-admin-sub-cat-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.gp-admin-sub-cat-save {
  padding: 7px 14px;
  border-radius: 8px;
  border: 1px solid #00f0ff;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.22), rgba(56, 189, 248, 0.22));
  color: #ffffff;
  font-family: 'Orbitron', 'Inter', sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.16s ease;
}

.gp-admin-sub-cat-save:hover {
  background: linear-gradient(135deg, #00f0ff, #38bdf8);
  color: #07090e;
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
}

.gp-admin-sub-cat-status {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* 3. Multiple Category Badges Display on Pick of the Week & Arena Cards */
.gp-extra-cat-badge {
  display: inline-flex;
  align-items: center;
}
