/* === Paleta Hogueras === */
:root {
  --fire-orange: #e85d04;
  --fire-red:    #d62828;
  --fire-yellow: #f8961e;
  --fire-dark:   #370617;
  --fire-light:  #ffba08;
}

/* Admin + general */
.bg-fire { background: linear-gradient(135deg, var(--fire-red), var(--fire-orange)); }

.btn-fire {
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
  color: #fff;
  border: none;
  font-weight: 600;
}
.btn-fire:hover { opacity: .9; color: #fff; }

.btn-fire-lg {
  background: linear-gradient(135deg, var(--fire-orange), var(--fire-red));
  color: #fff;
  border: none;
  font-weight: 700;
  border-radius: 16px;
  letter-spacing: .5px;
}
.btn-fire-lg:hover { opacity: .9; color: #fff; }

.navbar.bg-fire { background: linear-gradient(90deg, var(--fire-dark), var(--fire-red)) !important; }

.alert-fire {
  background: #fff3cd;
  border-left: 4px solid var(--fire-orange);
  border-radius: 8px;
}

/* === Vote page === */
.vote-bg { background: #f5f0e8; min-height: 100vh; }

.vote-header {
  background: linear-gradient(135deg, var(--fire-dark), var(--fire-red), var(--fire-orange));
}

.coca-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  cursor: grab;
  user-select: none;
  transition: box-shadow .15s, transform .15s;
  touch-action: none;
}
.coca-card:active { cursor: grabbing; box-shadow: 0 6px 20px rgba(0,0,0,.18); transform: scale(1.02); }

.coca-ghost { opacity: .4; background: #ffe8d0 !important; }

.drag-handle {
  font-size: 1.3rem;
  color: #bbb;
  padding: 0 4px;
}

.coca-num {
  flex: 1;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fire-dark);
}
.coca-num span { color: var(--fire-orange); }

.position-badge {
  font-size: .9rem;
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
  color: #888;
  transition: background .2s, color .2s;
}
.position-badge.pos-1 { background: var(--fire-light); color: var(--fire-dark); font-size: 1rem; }
.position-badge.pos-2 { background: #d9d9d9; color: #333; }
.position-badge.pos-3 { background: #d4a373; color: #fff; }
.position-badge.pos-rest { background: #f0f0f0; color: #999; }

/* Results table tweaks */
.table th { font-size: .85rem; }
