/* ============================================================
   SUCCESS LIFE — Premium Polish Layer (2026-11-28)
   Visual polish only. No layout/logic changes.
   Brand: --sl-rose #FF1493 / --sl-pink #FF6B9D / ink #4A2B3A
   ============================================================ */

/* --- Selection --- */
::selection { background: #FF1493; color: #fff; }

/* --- Smooth scrolling + tap polish --- */
html { scroll-behavior: smooth; }
* { -webkit-tap-highlight-color: transparent; }

/* --- Brand scrollbar (desktop) --- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #FFF0F5; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #FF6B9D, #FF1493); border-radius: 8px; border: 2px solid #FFF0F5; }

/* --- Keyboard focus: always visible, brand-coloured --- */
:focus-visible { outline: 2px solid #FF1493; outline-offset: 2px; border-radius: 6px; }

/* --- Form fields: soft brand focus glow (register/login custom inputs) --- */
.custom-input { transition: border-color .2s ease, box-shadow .2s ease; }
.custom-input:focus {
  border-color: #FF1493 !important;
  box-shadow: 0 0 0 4px rgba(255, 20, 147, .12);
  outline: none;
}

/* --- Buttons & links: gentle press feedback --- */
a, button { transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease; }
button:active, a:active { transform: scale(.985); }

/* --- Images render crisply, never overflow --- */
img { max-width: 100%; }

/* --- Card hover lift for shadowed cards (desktop pointers only) --- */
@media (hover: hover) and (min-width: 768px) {
  .shadow-lg, .shadow-xl { transition: box-shadow .25s ease, transform .25s ease; }
}

/* --- Respect users who prefer reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
