#md-geoloc-modal-overlay.md-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: mdfadeIn 0.3s ease-in-out;
}

#md-geoloc-modal-overlay #locationModal.md-modal-fade {
    display: block;
    animation: mdfadeIn 0.3s ease-in-out;
}

#md-geoloc-modal-overlay .md-modal {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    max-width: 550px;
    box-shadow: 
        rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
        rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

#md-geoloc-modal-overlay .md-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}

#locationModal .md-modal-header h2 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.6;
}

#locationModal .location-modal p {
    font-size: 14px;
    color: #484242;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 30px;
}

#locationModal .location-modal a.primary {
    background: #000;
    color: #fff;
}

#locationModal .md-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

#locationModal .md-flex a {
    flex: 1;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #000;
    padding: 14px;
    font-size: 12px;
    border-radius: 50px;
    text-decoration: none;
    background: #f5f5f5;
}

@keyframes mdfadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 550px) {
    #md-geoloc-modal-overlay .md-modal {
        width: 95%;
        padding: 15px;
    }

    #md-geoloc-modal-overlay #locationModal .md-flex {
        flex-direction: column;
        align-items: normal;
        gap: 10px;
    }
}