/* Tucker Payment Processing by Michael Cunningham. (c) 2026. Built with AI-assisted development. */
/* tour.css - Tucker's guided tour (see tour.js). Works on the light pages and on the dark Lair. Mobile-first. */

/* The speech bubble. Placed on the page right next to what the guide is pointing at (tour.js works out where);
   with nothing to point at, it sits in the middle of the screen. */
.tour { position:absolute; z-index:1000; width:min(400px, calc(100vw - 20px)); display:flex; gap:12px; align-items:flex-start;
        background:#fffdf8; color:#2b2b2b; border:3px solid #1f5fbf; border-radius:18px; padding:12px 14px 12px 12px;
        box-shadow:0 10px 30px rgba(0,0,0,.35); font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
        animation:tour-in .25s ease-out; }
.tour.tour-fixed { position:fixed; }
.tour.tour-center { position:fixed; left:50% !important; top:50% !important; transform:translate(-50%,-50%); animation:none; }
.tour[hidden] { display:none; }

.tour-pic { width:56px; height:56px; border-radius:50%; flex:none; border:3px solid #ff8a1f; background:#fff; }
.tour-body { flex:1; min-width:0; }
.tour-text { margin:2px 22px 10px 0; font-size:.95rem; line-height:1.45; }
.tour-tip { margin:-4px 22px 10px 0; padding:6px 9px; font-size:.82rem; line-height:1.4; background:#fff4e8;
            border-left:3px solid #ff8a1f; border-radius:8px; color:#5a3a12; }
.tour-tip[hidden] { display:none; }
.tour-row { display:flex; align-items:center; gap:8px; }
.tour-count { color:#777; font-size:.8rem; margin-right:auto; }
.tour-row button { font:inherit; font-size:.9rem; font-weight:700; border-radius:999px; padding:7px 16px; cursor:pointer; }
.tour-back { background:#fff; color:#1f5fbf; border:2px solid #1f5fbf; }
.tour-next { background:#1f5fbf; color:#fff; border:2px solid #1f5fbf; }
.tour-next:hover, .tour-next:focus-visible { background:#174a96; border-color:#174a96; outline:none; }
.tour-back[hidden] { display:none; }
.tour-close { position:absolute; top:6px; right:8px; background:none; border:0; font-size:1.4rem; line-height:1; color:#777; cursor:pointer; padding:2px 6px; }
.tour-close:hover, .tour-close:focus-visible { color:#000; }

/* Cipher guiding in his Lair: red border, his own look. */
.tour.tour-cipher { border-color:#d9472b; }
.tour.tour-cipher .tour-pic { border-color:#d9472b; background:#111; }
.tour.tour-cipher .tour-next { background:#d9472b; border-color:#d9472b; }
.tour.tour-cipher .tour-next:hover, .tour.tour-cipher .tour-next:focus-visible { background:#b33a22; border-color:#b33a22; }
.tour.tour-cipher .tour-back { color:#d9472b; border-color:#d9472b; }

/* What the guide is pointing at: an orange glow that gently pulses. */
.tour-spot { outline:3px solid #ff8a1f !important; outline-offset:4px; border-radius:12px;
             animation:tour-pulse 1.6s ease-in-out infinite; }

/* "Restart the Tour", at the end of the site's tab row: same pill shape as the tabs, in Tucker orange. */
.tabs .tour-tab { font:inherit; font-weight:700; color:#fff; background:#ff8a1f; border:2px solid #ff8a1f; border-radius:999px;
                  padding:7px 16px; font-size:.95rem; cursor:pointer; }
.tabs .tour-tab:hover, .tabs .tour-tab:focus-visible { background:#e5761a; border-color:#e5761a; outline:none; }

@keyframes tour-in { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes tour-pulse { 0%,100% { box-shadow:0 0 0 0 rgba(255,138,31,.55); } 50% { box-shadow:0 0 0 10px rgba(255,138,31,0); } }
@media (prefers-reduced-motion:reduce) { .tour, .tour-spot { animation:none; } }
