/* Premium Dental Template V2 — Custom Styles */
/* Tailwind CDN handles all utility classes. This file is for */
/* custom CSS that cannot be expressed as utility classes. */

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {

    header,
    footer,
    .mobile-bar,
    #book,
    #faq {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
    }
}

/* ── Before/After slider thumb ──────────────────────────────
   Native range inputs render with a different, often clashing,
   thumb on every browser/OS. Define one consistent thumb so the
   widget looks deliberate rather than default-browser-ugly. */
#baSlider {
    height: 4px;
    background: transparent;
}

#baSlider::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
}

#baSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--c-primary, #2563eb);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    margin-top: -9px;
}

#baSlider::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
}

#baSlider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--c-primary, #2563eb);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

/* ── Keyboard focus ──────────────────────────────────────────
   A visible, consistent focus ring everywhere a keyboard user can
   land (nav links, cards, buttons) — not just form inputs, which is
   what Tailwind's default focus:outline-none on the rest leaves you
   with otherwise. */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--c-primary, #2563eb);
    outline-offset: 3px;
    border-radius: 4px;
}