/* Figma Content Block Styles - No styling (uses theme defaults) */
.figma-content {
    /* No styles - inherit from theme */
}

/* Figma Page Status Block Styles */
.figmoove-page-status {
    margin: 20px 0;
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    border-radius: 4px;
}

.figmoove-page-status .page-name {
    margin: 0;
    color: #1e1e1e;
    font-size: 1.2em;
    font-weight: 600;
}

/* Error and notice styles */
.figmoove-notice,
.figmoove-error {
    padding: 12px 16px;
    border-radius: 4px;
    margin: 15px 0;
}

.figmoove-notice {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.figmoove-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Figma content containers and elements - no styling */
.figma-content .figma-container {
    /* No styles - inherit from theme */
}

.figma-content img.figma-image {
    /* No styles - inherit from theme */
}

.figma-content .figma-placeholder {
    /* Keep minimal placeholder styling for UX */
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 20px;
    text-align: center;
    color: #6c757d;
    border-radius: 6px;
    margin: 15px 0;
    font-style: italic;
}

.figmoove-notice,
.figmoove-error {
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 14px;
}

.figmoove-notice {
    background: #e7f3ff;
    border: 1px solid #0073aa;
    color: #0073aa;
}

.figmoove-error {
    background: #ffeaa7;
    border: 1px solid #d63031;
    color: #d63031;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .figmoove-colors {
        grid-template-columns: 1fr;
    }
    
    .figmoove-color-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .color-swatch {
        width: 30px;
        height: 30px;
    }
} 

/* Figma HTML Content Styles */
.figmoove-html-content {
    border: 1px solid #e1e1e1;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    margin: 20px 0;
}

.figmoove-html-content .figma-container {
    margin: 10px 0;
}

.figmoove-html-content .figma-frame,
.figmoove-html-content .figma-group {
    display: block;
    margin: 8px 0;
}

.figmoove-html-content .figma-element-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.figmoove-html-content .figma-image-placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    color: #666;
    border-radius: 4px;
    margin: 10px 0;
}

.figmoove-html-content h1,
.figmoove-html-content h2,
.figmoove-html-content h3,
.figmoove-html-content h4,
.figmoove-html-content h5,
.figmoove-html-content h6 {
    line-height: 1.2;
    margin: 15px 0 10px 0;
}

.figmoove-html-content p,
.figmoove-html-content span {
    margin: 8px 0;
    display: block;
}

.figmoove-html-content strong {
    display: inline;
}

/* Editor preview styles */
.wp-block-figmoove-content .figmoove-html-content {
    min-height: 60px;
}

.wp-block-figmoove-content .figma-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
} 