/* ==========================================================
   shop-distance.css - Modern Centered Animated Badge
========================================================== */

.shop-distance {
    display: flex;
    align-items: center;
    justify-content: center; /* center text */
    width: 90px;
    min-width: 70px;
    padding: 6px 12px;

    font-size: 14px;
    font-weight: 700;
    color: #1e3a8a; /* Dark Blue text */
    text-align: center;

    background-color: #ffffff; /* White background */
    border: 1px solid rgba(30,58,138,0.2); /* slim border */
    border-radius: 14px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* subtle shadow */
    font-family: "Inter", "Roboto", sans-serif;
    transition: all 0.3s ease-in-out;

    opacity: 1;
}

/* Hover or tap effect */
.shop-distance:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Glow animation on update */
.shop-distance.updated {
    animation: pulseGlow 0.8s ease-out;
}

@keyframes pulseGlow {
    0%   { box-shadow: 0 0 0px rgba(30,58,138,0); }
    50%  { box-shadow: 0 0 12px rgba(30,58,138,0.3); }
    100% { box-shadow: 0 0 0px rgba(30,58,138,0); }
}
