/* PayDay Theme — Central colour definitions
 * Philosophy: trustworthy, transparent, minimal
 * Green = money + trust. Warm neutrals = honest, no gimmicks.
 */

:root {
  /* Primary */
  --brand-400: #22c55e;
  --brand-500: #16a34a;
  --brand-600: #15803d;
  --brand-700: #166534;

  /* Accent */
  --accent-400: #facc15;
  --accent-500: #ca8a04;

  /* Neutrals */
  --bg-primary: #fafaf9;
  --bg-white: #ffffff;
  --text-primary: #1c1917;
  --text-secondary: #57534e;
  --text-muted: #a8a29e;
  --border: #e7e5e4;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
}

.bg-gradient-brand {
  background: linear-gradient(135deg, #14532d 0%, #15803d 40%, #16a34a 70%, #166534 100%);
}

.btn-gradient {
  background: linear-gradient(135deg, #16a34a, #15803d);
  transition: all 0.2s ease;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 163, 74, 0.35);
}

.btn-gradient:active {
  transform: translateY(0);
}

.btn-gradient:disabled {
  opacity: 0.6;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid rgba(22, 163, 74, 0.2);
  border-top-color: #16a34a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fade-in 0.4s ease-out forwards; }

input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 4px;
  background: #e7e5e4;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}

input[type=range]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.3);
}
