/* Base Styles */
.edp-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.edp-popup.show {
    opacity: 1;
    visibility: visible;
}

.edp-popup-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.edp-popup.show .edp-popup-content {
    transform: translateY(0);
}

.edp-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    transition: color 0.2s;
}

.edp-close:hover {
    color: #333;
}

.edp-popup h3 {
    margin: 0 0 15px;
    color: #2a2a2a;
    font-size: 24px;
}

.edp-popup p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.edp-code {
    font-size: 18px;
    margin: 20px 0;
    padding: 10px;
    background: #f8f8f8;
    border-radius: 4px;
    display: inline-block;
}

.edp-button {
    display: inline-block;
    padding: 12px 30px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    transition: all 0.3s;
    font-weight: bold;
}

.edp-button:hover {
    background: #45a049;
    transform: translateY(-2px);
}

/* Mobile & Tablet Styles */
@media (max-width: 1024px) {
    .edp-popup-content {
        padding: 25px 15px;
        max-width: 90%;
    }
    
    .edp-popup h3 {
        font-size: 20px;
    }
    
    .edp-popup p {
        font-size: 15px;
    }
    
    .edp-button {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    .edp-close {
        font-size: 22px;
    }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .edp-popup-content {
        max-height: 80vh;
        overflow-y: auto;
    }
}