/* ===== Admin Popup ===== */
.admin-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.admin-popup-overlay.active {
    display: flex;
}

.admin-popup-content {
    position: relative;
    max-width: 600px;
    max-height: 85vh;
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 50px rgba(255, 0, 128, 0.5);
    border: 3px solid #ff0080;
    animation: popupSlideIn 0.3s ease-out;
    overflow: hidden;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.admin-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.9);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.admin-popup-close:hover {
    transform: rotate(90deg) scale(1.15);
    background: #ff0080;
    border-color: white;
    box-shadow: 0 6px 25px rgba(255, 0, 128, 0.8);
    color: white;
}

.admin-popup-close:active {
    transform: rotate(90deg) scale(1.05);
}

.admin-popup-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 17px;
}

@media (max-width: 768px) {
    .admin-popup-content {
        max-width: 90%;
        max-height: 80vh;
    }
    
    .admin-popup-close {
        width: 45px;
        height: 45px;
        font-size: 24px;
        top: 8px;
        right: 8px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .admin-popup-content {
        max-width: 95%;
        max-height: 85vh;
    }
}
