
#location-update-popup {
    display: none; 
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: #fff;
    color: #424B5C;
    min-width: 320px;
    max-width: 450px;
    width: 90vw;
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 2px 8px rgba(25,29,64,0.12);
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
    border-top: 4px solid #cf804a;
    animation: popup-slide-down 0.4s ease-out;
}

#location-update-popup::before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.2rem auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23cf804a'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
}

#location-update-popup .message {
    font-weight: 500;
    margin-bottom: 1.5rem;
    position: relative;
}

#location-update-popup .address {
    font-weight: 700;
    color: #222222;
    display: block;
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

#location-update-popup .invitation {
    display: block;
    margin-top: 0.7rem;
    font-weight: 500;
    color: #cf804a;
    font-size: 1.1rem;
}

/* Przycisk zamykania popupu - #popup-close-button */
#popup-close-button {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: #fff;
    color: #191d40;
    border: none;
    border-radius: 50%;
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

#popup-close-button::before {
    content: "×";
    font-size: 1.8rem;
    line-height: 1;
    font-weight: 300;
}

#popup-close-button:hover, #popup-close-button:focus {
    background: #191d40;
    color: #fff;
    transform: rotate(90deg);
    outline: none;
}

#popup-confirm-button {
    display: inline-block;
    background: #cf804a;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.8rem;
    box-shadow: 0 4px 10px rgba(207,128,74,0.2);
}

#popup-confirm-button:hover {
    background: #b06a3e;
    box-shadow: 0 6px 12px rgba(207,128,74,0.25);
    transform: translateY(-2px);
}

@keyframes popup-slide-down {
    0% {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
    animation: fade-in 0.3s ease-out;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}