/* ============================================================================
   smart-empty.css — the shared look for every "we found nothing, but here's
   what to try" block on the front-facing site (Flight, Hotel, Visa, Insurance).

   Deliberately self-contained: it declares its own colour/font variables rather
   than inheriting the tours theme, so it drops into any search page without
   pulling in that page's stylesheet. Visually it matches the tours empty state
   (.dd-empty) it was modelled on — same amber/navy accents, same chip shape.

   Injected by smart-empty.js into whatever container the page provides.
   ========================================================================== */

.se-block {
    --se-navy: #002070;
    --se-blue: #048ED3;
    --se-amber: #F3A316;
    --se-ink: #1a1b13;
    --se-muted: #6b6c5e;
    --se-faint: #9a978c;
    --se-border: #e6e4dc;
    --se-font: inherit;

    max-width: 620px;
    margin: 1.5rem auto 0;
    text-align: center;
    animation: seFadeIn .45s cubic-bezier(.16,1,.3,1) both;
}

/* "Suggested by Devin AI" — the same attribution the tours empty state carries,
   so an AI-written message is never mistaken for a fixed system string. */
.se-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px 5px 11px;
    margin: 0 0 1rem;
    border-radius: 100px;
    background: linear-gradient(90deg, rgba(4,142,211,.10), rgba(243,163,22,.14));
    border: 1px solid rgba(4,142,211,.20);
    color: #036aa3;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1;
}
.se-badge svg { width: 12px; height: 12px; color: var(--se-amber); }

.se-msg {
    margin: 0 0 .9rem;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--se-ink);
}

/* The actionable half — what to actually change. Given more visual weight than
   the apology, because it's the part that recovers the booking. */
.se-tip {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 540px;
    margin: 0 auto 1.4rem;
    padding: 12px 16px;
    text-align: left;
    border: 1.5px solid rgba(243,163,22,.32);
    border-radius: 14px;
    background: linear-gradient(90deg, rgba(243,163,22,.07), rgba(243,163,22,.03));
    font-size: 13.5px;
    line-height: 1.55;
    color: #4a4b3f;
}
.se-tip-icon { flex-shrink: 0; margin-top: 1px; color: var(--se-amber); }

.se-chips-lbl {
    margin: 0 0 .8rem;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--se-faint);
}

.se-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 1.4rem;
}

.se-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 18px;
    border: 1.5px solid var(--se-border);
    border-radius: 14px;
    background: #fff;
    color: var(--se-ink);
    font-size: 13.5px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: all .18s cubic-bezier(.16,1,.3,1);
    opacity: 0;
    animation: seChipIn .45s cubic-bezier(.16,1,.3,1) forwards;
}
.se-chip:nth-child(1) { animation-delay: .10s; }
.se-chip:nth-child(2) { animation-delay: .18s; }
.se-chip:nth-child(3) { animation-delay: .26s; }
.se-chip:hover {
    border-color: var(--se-blue);
    background: rgba(4,142,211,.05);
    color: var(--se-ink);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(4,142,211,.14);
}
.se-chip-reason { font-size: 11px; font-weight: 600; color: var(--se-faint); }

/* Last resort: the human desk. Always present — an empty search is exactly when
   a visitor is most likely to give up and leave. */
.se-pitch {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 540px;
    margin: 0 auto;
    padding: 14px 18px;
    text-align: left;
    border: 1.5px solid rgba(0,32,112,.14);
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(0,32,112,.04), rgba(4,142,211,.05));
    text-decoration: none;
    transition: all .18s cubic-bezier(.16,1,.3,1);
}
.se-pitch:hover {
    border-color: var(--se-navy);
    box-shadow: 0 10px 24px rgba(0,32,112,.12);
    transform: translateY(-2px);
}
.se-pitch-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--se-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.se-pitch-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.se-pitch-lbl {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--se-navy);
}
.se-pitch-text span:last-child { font-size: 13.5px; font-weight: 500; color: #4a4b3f; line-height: 1.4; }
.se-pitch-arrow { flex-shrink: 0; margin-left: auto; color: var(--se-navy); }

/* Shown while Devin is still writing — the static empty state stays visible
   underneath, so there is never a moment with nothing on screen. */
.se-loading {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--se-faint);
}
.se-loading-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--se-blue);
    animation: sePulse 1.2s ease-in-out infinite;
}
.se-loading-dot:nth-child(2) { animation-delay: .18s; }
.se-loading-dot:nth-child(3) { animation-delay: .36s; }

@keyframes seFadeIn  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes seChipIn  { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes sePulse   { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }

@media (max-width: 560px) {
    .se-block { margin-top: 1.1rem; }
    .se-msg { font-size: 14.5px; }
    .se-chips { flex-direction: column; align-items: stretch; }
    .se-chip { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .se-block, .se-chip { animation: none; opacity: 1; }
    .se-loading-dot { animation: none; opacity: .6; }
}
