/* Shared notices, consent prompts, and travel-time notices. */

.privacy-notice {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    background: rgba(20, 20, 20, 0.95);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    backdrop-filter: blur(8px);
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease;
}

.privacy-notice.is-hidden {
        opacity: 0;
        transform: translateY(10px);
    }

.privacy-notice__inner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
}

.privacy-notice__text {
    min-width: 0;
}

.privacy-notice__actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
.privacy-notice__inner {
        flex-direction: column;
        align-items: stretch;
    }

.privacy-notice__actions {
        justify-content: flex-end;
    }
}

.keep-signed-in-prompt {
    background: rgba(13, 110, 253, .04);
    border-color: rgba(13, 110, 253, .18) !important;
}

.trip-storage-consent-prompt {
    position: fixed;
    inset: 0;
    z-index: 1095;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.trip-storage-consent-prompt__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .38);
}

.trip-storage-consent-prompt__card {
    position: relative;
    z-index: 1;
    width: min(100%, 420px);
    padding: 1.25rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .18);
}

.travel-time-estimate-notice {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 15;
    width: min(24rem, calc(100% - 2rem));
    padding: .85rem 2.6rem .85rem 1rem;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .94);
    color: #111827;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.travel-time-estimate-notice__text {
    font-size: .86rem;
    line-height: 1.4;
    font-weight: 600;
}

.travel-time-estimate-notice__choice {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .6rem;
    font-size: .8rem;
    line-height: 1.2;
    color: #4b5563;
    cursor: pointer;
    user-select: none;
}

.travel-time-estimate-notice__choice input {
        margin: 0;
    }

.travel-time-estimate-notice__close {
    position: absolute;
    top: .55rem;
    right: .55rem;
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, .06);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.travel-time-estimate-notice__close:hover,
    .travel-time-estimate-notice__close:focus {
        background: rgba(0, 0, 0, .1);
    }

@media (max-width: 767.98px) {
.travel-time-estimate-notice {
        top: .75rem;
        right: .75rem;
        width: min(22rem, calc(100% - 1.5rem));
    }
}
