/**
 * Publish My Content - Fusion Builder Styles
 * 
 * This file contains the styles for the Fusion Builder integration.
 * 
 * @since 1.0.0
 */

/* Element Icon for Fusion Builder Library */
i.fusiona-code {
    display: inline-block;
    font-size: 16px;
    line-height: 1;
}

/* Dialog Styles */
.pmc-html-dialog {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pmc-dialog-header {
    background-color: #f7f7f7;
    border-bottom: 1px solid #e2e4e7;
    padding: 16px;
}

.pmc-dialog-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #23282d;
}

.pmc-dialog-body {
    padding: 16px;
}

.pmc-dialog-body textarea {
    width: 100%;
    height: 250px;
    resize: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.4;
}

.pmc-dialog-footer {
    padding: 16px;
    background-color: #f7f7f7;
    border-top: 1px solid #e2e4e7;
    text-align: right;
}

.pmc-dialog-footer button {
    margin-left: 8px;
}

.pmc-dialog-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 999998;
}

/* Element styles */
.pmc-fusion-content {
    min-height: 50px;
    padding: 15px;
    background-color: #f7f7f7;
    border: 1px dashed #ddd;
    border-radius: 3px;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* Dialog styling overrides for Fusion Builder */
.fusion-builder-live .pmc-html-dialog {
    z-index: 999999;
}

.fusion-builder-live .pmc-dialog-backdrop {
    z-index: 999998;
}

/* Button styling to match Fusion Builder UI */
.pmc-fusion-button {
    background-color: #198fd9;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.pmc-fusion-button:hover {
    background-color: #0e7abd;
}

.pmc-fusion-button.cancel {
    background-color: #f2f2f2;
    color: #333;
}

.pmc-fusion-button.cancel:hover {
    background-color: #e5e5e5;
} 