.map-locate-button {
    position: absolute;
    left: 12px;
    top: 56px;
    z-index: 525;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(224, 224, 224, 0.85);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #345ebf;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.map-locate-button:hover {
    background: #f5f7fc;
}

.map-locate-button:active {
    transform: scale(0.96);
}

.map-locate-button:disabled {
    opacity: 0.65;
    cursor: wait;
}

.map-locate-button img,
.map-locate-button svg {
    display: block;
    width: 22px;
    height: 22px;
}

.map-locate-button--loading svg {
    animation: map-locate-spin 0.85s linear infinite;
}

@keyframes map-locate-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767.98px) {
    .map-locate-button {
        left: 10px;
        top: 52px;
        width: 40px;
        height: 40px;
    }

    .map-locate-button img,
    .map-locate-button svg {
        width: 20px;
        height: 20px;
    }
}
