#epd-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
  
    /* Blurs the content behind this element */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); /* Safari support */
}

#epd-overlay.epd-visible {
    display: flex;
}

.epd-overlay {
    font-family: Arial, sans-serif;
}

.epd-dialog {
    width: min(360px, calc(100% - 80px));
    background: #111;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    color: #f5f5f5;
    text-align: center;
    border: 2px solid #FED700;
}

.epd-dialog h2 {
    margin-top: 0;
    font-size: 1.75rem;
    font-weight: bold;
    color: #ddd;
}

.epd-dialog p {
    margin: 18px 0 28px;
    line-height: 1.6;
    color: #ddd;
}

.epd-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.epd-button {
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.epd-button:hover {
    transform: translateY(-1px);
}

.epd-button-primary {
    background: #28a745;
    color: #fff;
}

.epd-button-secondary {
    background: #444;
    color: #fff;
}

body.epd-no-scroll {
    overflow: hidden;
}
