/* TrackPrices – styles.css */

/* ── Gradient helpers ─────────────────────────────────── */
.gradient-brand {
  background: linear-gradient(135deg, #6c63ff 0%, #e040fb 100%);
}

/* ── Glass card ───────────────────────────────────────── */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.glass-card:hover {
  border-color: rgba(108, 99, 255, 0.25);
  box-shadow: 0 4px 32px rgba(108, 99, 255, 0.08);
}

/* ── Product card ─────────────────────────────────────── */
.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}
.product-card:hover {
  border-color: rgba(108, 99, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(108, 99, 255, 0.12);
}

/* ── Stat card ────────────────────────────────────────── */
.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.stat-card:hover {
  border-color: rgba(108, 99, 255, 0.3);
}

/* ── Store badge ──────────────────────────────────────── */
.store-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 999px;
  border-width: 1px;
  border-style: solid;
  transition: all 0.2s;
}

.store-tag {
  display: inline-block;
  background: rgba(108, 99, 255, 0.15);
  border: 1px solid rgba(108, 99, 255, 0.3);
  color: #a78bfa;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #6c63ff, #e040fb);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 16px rgba(108, 99, 255, 0.25);
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(108, 99, 255, 0.4);
}
.btn-primary:active {
  transform: scale(0.97);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all 0.15s;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

/* ── Form inputs ──────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  color: white;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
}
.form-input:focus {
  border-color: rgba(108, 99, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.12);
}
.form-input::placeholder {
  color: rgba(148, 163, 184, 0.4);
}

/* ── Hover bg utility ─────────────────────────────────── */
.hover\:bg-white\/3:hover {
  background-color: rgba(255, 255, 255, 0.03);
}
.bg-white\/3 {
  background-color: rgba(255, 255, 255, 0.03);
}

/* ── Scrollbar ────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(108, 99, 255, 0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(108, 99, 255, 0.5); }

/* ── Animations ───────────────────────────────────────── */
@keyframes pulse-slow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.animate-pulse-slow {
  animation: pulse-slow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ── Table ────────────────────────────────────────────── */
table { border-collapse: collapse; }
