/* ================================================================
   MTAA LOCATION PROMPT
   First-visit location card visually connected to the hero.
================================================================ */

.location-prompt {
    position: relative;
    z-index: 40;
    margin: 0 auto -38px;
    max-width: 1180px;
    padding: 0 18px;
    pointer-events: none;
}

.location-prompt-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(12, 44, 76, .16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
}

.location-prompt-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(32, 201, 151, .15), rgba(25, 135, 84, .12));
    color: #198754;
    font-size: 19px;
}

.location-prompt-copy {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.location-prompt-copy strong {
    color: #172033;
    font-size: 14px;
    font-weight: 800;
}

.location-prompt-copy span {
    color: #6c757d;
    font-size: 12px;
    line-height: 1.4;
}

.location-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.location-allow-button {
    border: 0;
    border-radius: 999px;
    padding: 11px 19px;
    background: linear-gradient(135deg, #20c997, #198754);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(25, 135, 84, .20);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.location-allow-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 11px 22px rgba(25, 135, 84, .26);
}

.location-allow-button:disabled {
    opacity: .75;
    cursor: wait;
    transform: none;
}

.location-dismiss-button {
    border: 0;
    background: transparent;
    color: #6c757d;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 6px;
    cursor: pointer;
}

.location-dismiss-button:hover {
    color: #198754;
}

.location-prompt.is-hidden {
    display: none;
}

/* The hero starts visually behind the location card. */
.hero {
    margin-top: 0;
}

@media (max-width: 768px) {
    .location-prompt {
        margin-bottom: -28px;
        padding: 0 12px;
    }

    .location-prompt-inner {
        min-height: 0;
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 13px 14px;
        gap: 10px 12px;
        border-radius: 17px;
    }

    .location-prompt-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
        font-size: 16px;
    }

    .location-prompt-copy {
        flex: 1 1 calc(100% - 52px);
        padding-top: 1px;
    }

    .location-actions {
        width: 100%;
        padding-left: 52px;
    }

    .location-allow-button {
        padding: 9px 15px;
    }
}
