/* Minimalist Black Theme with smooth animations */

:root {
  --color-bg:#111111;            /* main dark background */
  --color-surface:#1e1e1e;      /* panels background */
  --color-primary:#ff4081;      /* accent/pink */
  --color-secondary:#03a9f4;    /* secondary accent */
  --color-text:#ffffff;         /* default text */
  --color-muted:#b0b0b0;        /* muted text */
  --color-border:#333333;       /* border color */
}

/* Global */
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: system-ui, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Utility helpers */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-2\.5 { padding-left: 10px; padding-right: 10px; }
.py-1 { padding-top: 4px; padding-bottom: 4px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.rounded { border-radius: 4px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }
.transition { transition: all 0.2s ease-in-out; }
.duration-300 { transition-duration: 300ms; }
.ease-out { transition-timing-function: cubic-bezier(0,0,0.2,1); }
.hover\:scale-110:hover { transform: scale(1.05); }
.hover\:opacity-80:hover { opacity: 0.80; }

/* Color helpers – map old Tailwind names to our palette */
.bg-black { background: var(--color-bg); }
.bg-dark, .bg-gray-900 { background: var(--color-bg); }
.bg-gray-800, .bg-surface { background: var(--color-surface); }
.bg-indigo-600, .bg-primary, .bg-indigo-500 { background: var(--color-primary); color: var(--color-text); }
.bg-secondary { background: var(--color-secondary); color: var(--color-bg); }
.text-white, .text-gray-100 { color: var(--color-text); }
.text-gray-200 { color: #fafafa; }
.text-gray-400 { color: var(--color-muted); }
.text-gray-500 { color: #bbbbbb; }
.text-gray-600 { color: #999999; }
.text-gray-700 { color: #777777; }
.border-gray-700 { border-color: var(--color-border); }
.border-gray-600 { border-color: #555555; }

/* Buttons – unified style */
.btn-primary, .bg-indigo-600, .bg-indigo-500, .bg-primary, .bg-indigo-600:hover, .bg-indigo-500:hover {
  background: var(--color-primary);
  color: var(--color-text);
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(255,255,255,0.1);
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover, .bg-indigo-600:hover, .bg-indigo-500:hover {
  background: #e91e63; /* slightly darker pink */
  transform: scale(1.04);
}

/* Inputs */
.input {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(255,64,129,0.3);
}

/* Elevation helpers */
.elev-1 { box-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 1px 2px rgba(0,0,0,0.1); }
.elev-2 { box-shadow: 0 3px 6px rgba(0,0,0,0.25), 0 3px 6px rgba(0,0,0,0.15); }
.elev-3 { box-shadow: 0 10px 20px rgba(0,0,0,0.3), 0 6px 6px rgba(0,0,0,0.2); }

/* Keyframe animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.fade-in { animation: fadeIn 0.3s ease-out forwards; }
@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.slide-in-up { animation: slideInUp 0.35s cubic-bezier(0.25,0.8,0.25,1) forwards; }

/* Additional background utilities */
.bg-gray-700 { background: var(--color-surface); }
.bg-gray-700:hover { background: #2a2a2a; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.cursor-pointer { cursor: pointer; }
