/* First-visit tour (site-tour.js): a spotlight on one element plus a small card. Nothing else on the page is covered. */
.eh-tour-spot {
    position: fixed;
    z-index: 1080;
    border-radius: 14px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 0 0 9999px rgba(15, 23, 42, 0.55);
    pointer-events: none;
    transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease;
}
.eh-tour-spot--none {
    /* Welcome step with no element: a dot in the middle keeps the dim layer. */
    width: 0 !important;
    height: 0 !important;
    top: 50% !important;
    left: 50% !important;
    box-shadow: 0 0 0 9999px rgba(15, 23, 42, 0.55);
}

.eh-tour-card {
    position: fixed;
    z-index: 1081;
    width: min(340px, calc(100vw - 32px));
    padding: 1rem 1rem 0.85rem;
    border-radius: 16px;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
    font-size: 0.97rem;
    line-height: 1.6;
    transition: top 0.25s ease, left 0.25s ease;
}
html[dir="rtl"] .eh-tour-card { font-family: "Tajawal", system-ui, sans-serif; font-size: 1.02rem; }

.eh-tour-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}
.eh-tour-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #a30b00;
}
.eh-tour-card__count {
    flex: none;
    font-size: 0.8rem;
    color: #6b7280;
}
.eh-tour-card__text { margin: 0 0 0.8rem; }

.eh-tour-card__foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.eh-tour-card__skip {
    margin-inline-end: auto;
    padding: 0.4rem 0.2rem;
    border: 0;
    background: none;
    color: #6b7280;
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
}
.eh-tour-btn {
    min-height: 40px;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid #a30b00;
    background: #fff;
    color: #a30b00;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
}
.eh-tour-btn--next { background: #a30b00; color: #fff; }
.eh-tour-btn:focus-visible,
.eh-tour-card__skip:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
    .eh-tour-spot, .eh-tour-card { transition: none; }
}
