/* ─── Heat Karaoke Custom Styles ─────────────────── */

/* Flash messages */
.flash {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 8px;
}

.flash-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.flash-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.flash-warning {
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #fde047;
}

/* Form focus styles */
input:focus, select:focus, textarea:focus {
  border-color: #ea580c !important;
  box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
}

/* Gradient text helper */
.text-gradient-heat {
  background: linear-gradient(90deg, #f97316, #eab308);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Heatmap bar */
.heatmap-bar {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
  height: 28px;
  background: linear-gradient(90deg, #7FD87F, #A8E06A, #D4E157, #FFD54F, #FFB74D, #FF8A65);
}

.heatmap-bar .segment {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #333;
  border-right: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all 0.15s;
}

.heatmap-bar .segment:hover {
  filter: brightness(1.1);
  transform: scaleY(1.1);
}

.heatmap-bar .segment:last-child {
  border-right: none;
}

/* Smooth page transitions */
main {
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
