/* Overlay */
#move-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(3px);

    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}

#move-popup.active {
    opacity: 1;
    pointer-events: auto;
}

/* Popup box */
#move-popup-box {
    background: #ffffff;
    padding: 12px;
    max-width: 440px;
    width: 90%;
    position: relative;

    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    overflow: hidden;

    transform: translateY(20px);
    transition: transform .4s ease;
}

#move-popup.active #move-popup-box {
    transform: translateY(0);
}

/* Image */
#move-popup-box img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Close X button */
#close-move-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
}

/* Buttons container */
.move-popup-buttons {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

/* Common button styling */
.popup-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: all .25s ease;
}

/* Primary button */
.popup-btn-primary {
    background: #8d6e00;
    color: #fff;
}

.popup-btn-primary:hover {
    background: #333;
    transform: translateY(-1px);
}

/* Secondary button */
.popup-btn-secondary {
    background: #f1f1f1;
    color: #222;
    border: 1px solid #ddd;
}

.popup-btn-secondary:hover {
    background: #e5e5e5;
}

/* Mobile */
@media (max-width: 480px) {
    .move-popup-buttons {
        gap: 8px;
    }

    .popup-btn {
        min-height: 44px;
        font-size: 14px;
    }
}