/**
 * Trip Finder - Minimal CSS
 * Tailwind übernimmt die Gestaltung; hier bleiben nur notwendige Hilfen.
 * @package SailWithUs2025
 */

/* Verhindert FOUC, bis Alpine x-show greift */
[x-cloak] { display: none !important; }

.trip-finder-empty-state {
    position: relative;
    width: 100%;
    max-width: 50rem;
    margin: 0 auto;
    padding: 1.65rem 1.7rem 1.75rem;
    border-radius: 1.375rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.032)),
        rgba(5, 16, 31, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow:
        0 22px 54px -28px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.065);
    backdrop-filter: blur(16px) saturate(155%);
    -webkit-backdrop-filter: blur(16px) saturate(155%);
    text-align: center;
    overflow: hidden;
}

.trip-finder-empty-state::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top center, rgba(34, 197, 94, 0.12), transparent 40%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.14), transparent 36%);
    pointer-events: none;
}

.trip-finder-empty-state > * {
    position: relative;
    z-index: 1;
}

.trip-finder-empty-state__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.8rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.095);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.trip-finder-empty-state__description {
    max-width: 37rem;
    margin: 0 auto;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.78;
}

.trip-finder-empty-state__tips {
    display: grid;
    gap: 0.55rem;
    max-width: 29rem;
    margin: 1.45rem auto 0;
    text-align: left;
}

.trip-finder-empty-state__tip {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 3rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.055);
    color: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.trip-finder-empty-state__tip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 9999px;
    background: rgba(34, 197, 94, 0.14);
    color: #86efac;
    font-size: 0.82rem;
    font-weight: 700;
    flex-shrink: 0;
}

.trip-finder-empty-state__tip-icon svg {
    width: 0.9rem;
    height: 0.9rem;
}

.trip-finder-empty-state__actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.6rem;
}

.trip-finder-empty-state__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 3.3rem;
    padding: 0.88rem 1.35rem;
    border-radius: 9999px;
    font-weight: 700;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.trip-finder-empty-state__button:hover {
    transform: translateY(-1px);
}

.trip-finder-empty-state__button--primary {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 16px 32px -20px rgba(29, 78, 216, 0.52);
}

.trip-finder-empty-state__button--primary:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.trip-finder-empty-state__button--secondary {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.trip-finder-empty-state__button--secondary:hover {
    background: rgba(255, 255, 255, 0.085);
    border-color: rgba(255, 255, 255, 0.2);
}

.trip-finder-empty-state__contact {
    margin-top: 1.65rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.085);
}

.trip-finder-empty-state__contact-label {
    color: rgba(226, 232, 240, 0.82);
    margin-bottom: 0.8rem;
}

.trip-finder-empty-state__contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.trip-finder-empty-state__contact-link:hover {
    color: #bfdbfe;
    transform: translateY(-1px);
}

.trip-finder-empty-state__contact-link svg {
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .trip-finder-empty-state__actions {
        flex-direction: row;
        align-items: center;
    }

    .trip-finder-empty-state__actions .trip-finder-empty-state__button {
        min-width: 14rem;
    }
}

@media (max-width: 639px) {
    .trip-finder-empty-state {
        padding: 1.35rem 1.05rem 1.45rem;
        border-radius: 1.15rem;
    }

    .trip-finder-empty-state__tip {
        min-height: 2.8rem;
        padding: 0.68rem 0.78rem;
    }
}
