/* First-visit tour of the planner (nomad-tour.js on top of Driver.js). */

/* ── Invitation, bottom-right ── */
#nomad-tour-prompt {
    position: fixed; right: 20px; bottom: 20px; z-index: 1060;
    width: 320px; max-width: calc(100vw - 32px);
    background: #fff; border-radius: 14px; border-top: 4px solid var(--primary);
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
    padding: 16px 18px 14px;
    animation: ntp-in .25s ease-out;
}
@keyframes ntp-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#nomad-tour-prompt .ntp-title { font-weight: 700; font-size: 1.1rem; color: #212121; margin-bottom: 4px; }
#nomad-tour-prompt .ntp-title i { color: var(--primary); }
#nomad-tour-prompt .ntp-text { color: #555; font-size: .95rem; line-height: 1.5; margin-bottom: 12px; }
#nomad-tour-prompt .ntp-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
#nomad-tour-prompt .ntp-actions .btn { border-radius: 999px; }
#nomad-tour-prompt .ntp-actions .btn-link { color: #888; padding-left: 4px; padding-right: 4px; }

@media (max-width: 575.98px) {
    #nomad-tour-prompt { left: 16px; right: 16px; bottom: 16px; width: auto; }
}

/* ── Driver.js popover, in the site's colours ── */
.driver-popover.nomad-tour {
    border-radius: 14px; padding: 18px 20px 14px; max-width: 340px;
    font-family: 'Poppins', sans-serif; color: #333;
}
.driver-popover.nomad-tour .driver-popover-title { font-size: 1.15rem; font-weight: 700; color: #212121; }
.driver-popover.nomad-tour .driver-popover-description { font-size: .95rem; line-height: 1.55; color: #555; }
.driver-popover.nomad-tour .driver-popover-progress-text { color: #4d7a1f; font-weight: 600; }
.driver-popover.nomad-tour .driver-popover-footer button {
    border-radius: 999px; padding: 5px 14px; font-size: .9rem; text-shadow: none;
    border: 1px solid #7AB730; background: #fff; color: #4d7a1f;
}
.driver-popover.nomad-tour .driver-popover-footer .driver-popover-next-btn {
    background: #7AB730; color: #fff;
}
.driver-popover.nomad-tour .driver-popover-footer button:hover { filter: brightness(.95); }
.driver-popover.nomad-tour .driver-popover-close-btn { color: #999; }

/* ── User guide tours (guide-tours.js) ── */
.driver-popover.guide-tour .gt-missing {
    margin-top: 10px; padding: 8px 10px; border-radius: 8px;
    background: #fff7ed; color: #8a4b00; font-size: .85rem; line-height: 1.45;
}
.driver-popover.guide-tour .gt-back {
    display: inline-block; margin-top: 10px; font-weight: 600; color: #4d7a1f;
}
.driver-popover.guide-tour .gt-sample {
    margin-top: 10px; padding: 8px 10px; border-radius: 8px;
    background: #f4faec; color: #33541a; font-size: .85rem; line-height: 1.45;
}
