/* Main modal styles */
.eq-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    display: none;
}

/* Special styles for iframe modals */
.eq-modal-content iframe {
    border: none;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

/* Iframe modals don't need internal padding */
.eq-modal-content:has(iframe) {
    padding: 0;
    overflow: hidden;
}

/* Fallback for browsers without :has() support */
.eq-modal-iframe {
    padding: 0 !important;
    overflow: hidden;
}

/* Plugin button styles */
.eq-modal-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.eq-modal-button:hover {
    background: #005a87;
    color: #fff;
    text-decoration: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .eq-modal-content {
        padding: 15px;
        max-width: 95vw;
    }
    
    .eq-modal-content iframe {
        width: 100% !important;
        height: 300px !important;
    }
}