/* Document Embedder Pro - Iframe Fix Styles */

.ppv-reload-btn {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.ppv-reload-btn:hover {
    background: #005177;
}

.ppv-reload-btn:active {
    background: #003f5c;
}

.ppv-error-msg {
    padding: 15px 20px;
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #c62828;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.ppv-error-msg strong {
    display: block;
    margin-bottom: 5px;
}

.ppv-error-msg a {
    color: #c62828;
    text-decoration: underline;
}

.ppv-error-msg a:hover {
    color: #8b0000;
}

/* PDF Info Message */
.ppv-pdf-info {
    padding: 10px 15px;
    background: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #1565c0;
    margin: 10px 0;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.5;
}

.ppv-pdf-info strong {
    display: inline-block;
    margin-right: 5px;
}

/* Loading indicator */
iframe#s_pdf_frame {
    border: 1px solid #ddd;
    background: #f5f5f5;
    position: relative;
}

/* Better scrolling for PDF iframes */
iframe#s_pdf_frame[data-file-type="pdf"] {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Hide control panel */
.ppv-controls {
    display: none !important;
}

/* Hide success message */
.ppv-message {
    display: none !important;
}
