/* ============================================================
   A.P. CORPORATE — CUSTOM CSS OVERRIDES
   Styles that supplement the Tailwind output.css
   ============================================================ */

/* ─── Smooth Page Transitions ────────────────────────────────── */
.page-transition {
  opacity: 0;
  transform: translateY(12px);
  animation: pageIn 0.5s ease 0.1s forwards;
}

@keyframes pageIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Custom Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #F7F9FC;
}
::-webkit-scrollbar-thumb {
  background: #1A2F5A;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E85D26;
}

/* ─── Selection Color ────────────────────────────────────────── */
::selection {
  background: rgba(232, 93, 38, 0.15);
  color: #1A2F5A;
}

/* ─── Focus Ring ─────────────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid #E85D26;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ─── Smooth Image Loading ───────────────────────────────────── */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}
img[loading="lazy"].loaded,
img[loading="lazy"][complete] {
  opacity: 1;
}
