/* File: /css/style.css */
/* Site-wide base styles */
:root {
  color-scheme: dark;
}

html, body {
  min-height: 100%;
}

body {
  /* Previous inline gradient background */
  background:
    radial-gradient(60% 60% at 20% 0%, rgba(244, 114, 182, 0.35), transparent),
    radial-gradient(60% 60% at 80% 0%, rgba(167, 139, 250, 0.35), transparent),
    #0f172a;
  color: rgba(255, 255, 255, 0.9);
}

/* Utility tweaks you might want project-wide */
.header-glass {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Card image fade-in */
.card-img { opacity:0; transition:opacity .25s ease; }
.card-img.loaded { opacity:1; }

/* Simple gradient avatar bg if no photo */
.card-photo-bg {
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(135deg, rgba(236,72,153,.25), rgba(217,70,239,.2));
}

/* ---- Filter UI polish ---- */
input[type="range"].form-range {
  -webkit-appearance: none;
  appearance: none;
  height: 0;
  background: transparent;
  width: 100%;
}
input[type="range"].form-range::-webkit-slider-runnable-track {
  height: 6px;
  background: rgba(255,255,255,.25);
  border-radius: 9999px;
}
input[type="range"].form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 2px solid rgba(255,255,255,.3);
  margin-top: -6px; /* center on 6px track */
}
input[type="range"].form-range::-moz-range-track {
  height: 6px;
  background: rgba(255,255,255,.25);
  border-radius: 9999px;
}
input[type="range"].form-range::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 2px solid rgba(255,255,255,.3);
}
.range-out { width: 2.5rem; text-align: right; }