/* Block Editor Styles */
.page-editor {
    width: 100%;
}

.editor-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.tab-button:hover {
    color: var(--blue);
}

/* Block Editor Container */
.block-editor-container {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    background: #fafafa;
}

.blocks-list {
    min-height: 200px;
}

.block-wrapper {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: white;
    position: relative;
}

.block-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    font-size: 12px;
    color: #666;
}

.base-block-controls {
    padding-bottom: 10px;
}

.block-type {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
}

.block-actions {
    display: flex;
    gap: 5px;
}

.btn-move-block {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 2px;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.btn-move-block:hover {
    background: #e0e0e0;
}

.btn-move-block.btn-delete:hover {
    background: #ffebee;
    color: #d32f2f;
}

/* Block Editor Content */
.block-editor {
    padding: 15px;
}

.block-controls label {
    position: static;
    top: auto;
    left: auto;
    font-size: 12px;
    color: #666;
    padding: 0;
    margin: 0;
}

.block-controls select {
    width: auto;
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #ddd;
}

.btn-remove-block {
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
    font-size: 14px;
    margin-left: auto;
}

.btn-remove-block:hover {
    background: #ff3838;
}

/* Title Block */
.title-block-editor .title-input {
    width: 100%;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-bottom: 2px solid #ddd;
    padding: 10px 0;
    background: transparent;
}

.title-input:focus {
    outline: none;
    border-bottom-color: var(--blue);
}

.block-preview {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.block-preview .page-title {
    margin: 0;
    color: #333;
}

/* Add Block Section */
.add-block-section {
    margin-top: 20px;
    text-align: center;
}

.add-buttons-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.btn-show-blocks {
    padding: 12px 24px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-show-blocks:hover {
    background: #041a4f;
}

.block-selector {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    text-align: left;
}

.block-selector h4 {
    margin: 0 0 15px 0;
    font-size: 14px;
    color: #333;
}

.block-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.btn-add-block {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
}

.btn-add-block:hover {
    background: var(--blue);
    color: white;
}

.btn-cancel {
    padding: 6px 12px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-cancel:hover {
    background: #545b62;
}

/* Page Preview */
.page-preview {
    padding: 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.preview-content {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 4px;
    min-height: 200px;
}

/* Action buttons */
.btn-preview,
.btn-edit,
.btn-delete {
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
}

.btn-preview:hover,
.btn-edit:hover,
.btn-delete:hover {
    opacity: 0.7;
}

/* Edit with Preview Layout */
.block-edit-with-preview {
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    background: #e9ecef;
    border: 1px solid #dee2e6;
}

.block-edit-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    position: relative;
}

.block-edit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.block-preview-section {
    padding: 24px;
    position: relative;
}

.block-preview-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.edit-section-title,
.preview-section-title {
    margin: 0 0 20px 0;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.edit-section-title {
    color: #475569;
}

.preview-section-title {
    color: #6b7280;
}

.preview-container {
    min-height: 120px;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    border: 2px dashed #d1d5db;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.preview-container::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0.6;
}

/* Enhanced form styling for edit section */
.block-edit-section .form-group {
    margin-bottom: 18px;
}

.block-edit-section label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    display: block;
    font-size: 13px;
    letter-spacing: 0.3px;
}

.block-edit-section input,
.block-edit-section select,
.block-edit-section textarea {
    border: 2px solid #e5e7eb;
    /* border-radius: 8px; */
    /* padding: 12px 14px; */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    font-size: 14px;
    font-family: inherit;
}

.block-edit-section input:hover,
.block-edit-section select:hover,
.block-edit-section textarea:hover {
    border-color: #d1d5db;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .block-edit-with-preview {
        gap: 2px;
    }
}

@media (max-width: 768px) {
    .block-edit-section,
    .block-preview-section {
        padding: 20px;
    }
    
    .edit-section-title,
    .preview-section-title {
        font-size: 11px;
        margin-bottom: 16px;
    }
    
    .preview-container {
        min-height: 100px;
        padding: 16px;
    }
}

/* Color Picker Styling */
.color-picker-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-picker {
    width: 50px;
    height: 36px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    background: none;
    padding: 0;
}

.color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

.color-input {
    flex: 1;
    min-width: 0;
}

/* Color Picker Styling */
.color-picker-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.color-picker {
    width: 50px;
    height: 36px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    cursor: pointer;
    background: none;
    padding: 0;
}

.color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker::-webkit-color-swatch {
    border: none;
    border-radius: 4px;
}

.color-input {
    flex: 1;
    min-width: 0;
}
/* Text Alignment Buttons */
.alignment-buttons {
    /* display: flex;
    gap: 4px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden; */
}

.align-btn {
    background: #ffffff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-right: 1px solid #e5e7eb;
    font-size: 16px;
    color: #6b7280;
}

.align-btn:last-child {
    border-right: none;
}

.align-btn:hover {
    background: #f3f4f6;
    color: #374151;
}

.align-btn.active {
    background: #3b82f6;
    color: #ffffff;
}

.align-btn.active:hover {
    background: #2563eb;
}

/* Color Clear Button */
.color-clear-btn {
    background: #ef4444;
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    margin-left: 8px;
}

.color-clear-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Responsive Controls */
.responsive-controls-section {
    width: 100%;
    padding-top: 16px;
    margin-top: 16px;
}

.responsive-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.responsive-toggle label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #374151;
}

.responsive-toggle input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.responsive-add-btn {
    background: #10b981;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.responsive-add-btn:hover {
    background: #059669;
    transform: scale(1.05);
}

.responsive-breakpoint {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    width: auto;
}

.responsive-header {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.responsive-header .control-group {
    flex: 1;
    min-width: 120px;
}

.responsive-remove-btn {
    background: #ef4444;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    flex-shrink: 0;
}

.responsive-remove-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.responsive-controls {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.responsive-controls .control-group {
    flex: 1;
    min-width: 150px;
}

/* Builder Block Styles */
.builder-block-editor .columns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.add-column-btn {
    background: var(--blue);
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.add-column-btn:hover {
    background: #0066cc;
    transform: scale(1.05);
}

.columns-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.column-editor {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    background: #f9f9f9;
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.column-number {
    font-weight: 500;
    color: #333;
}

.remove-column-btn {
    background: #ef4444;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.remove-column-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.responsive-grid-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.grid-control-group {
    flex: 1;
    min-width: 150px;
}

.grid-control-group label {
    font-size: 10px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.grid-control-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

.grid-control-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(26, 144, 255, 0.2);
}

.column-preview {
    background: #e8f4ff;
    padding: 8px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--blue);
}

.column-preview strong {
    color: #333;
    font-size: 12px;
}

.column-preview code {
    background: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: var(--blue);
    font-size: 12px;
    margin-left: 8px;
}

.grid-preview {
    margin-top: 20px;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 6px;
    border: 2px dashed #ccc;
}

.grid-preview h4 {
    margin: 0 0 16px 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.grid-preview .row {
    margin: 0;
}

.column-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.column-placeholder small {
    opacity: 0.8;
    font-size: 11px;
    margin-top: 4px;
    font-family: 'Courier New', monospace;
}

.column-content {
    background: #e3f2fd;
    padding: 16px;
    border-radius: 4px;
    border-left: 4px solid var(--blue);
    text-align: center;
    color: #333;
    font-weight: 500;
}

/* Base Editor Styles */
.base-editor {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    overflow: hidden;
}

.editor-header {
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.editor-tabs {
    display: flex;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
}

.editor-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.editor-tab.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
    background: white;
}

.editor-tab:hover {
    color: var(--blue);
    background: #f0f0f0;
}

.editor-toolbar {
    padding: 8px 16px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: end;
}

.toolbar-group {
    display: flex;
    gap: 4px;
    border-right: 1px solid #e0e0e0;
    padding-right: 16px;
}

.toolbar-group:last-child {
    border-right: none;
    padding-right: 0;
}

.toolbar-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

.toolbar-btn:hover {
    background: #f0f0f0;
    border-color: #ccc;
    color: #333;
}

.toolbar-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}

.editor-content {
    position: relative;
}

.visual-editor-container {
    display: flex;
    position: relative;
}

.visual-editor {
    flex: 1;
    padding: 20px;
    outline: none;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    color: #333;
}

.visual-editor:empty::before {
    content: attr(placeholder);
    color: #999;
    pointer-events: none;
}

.visual-editor p {
    margin: 0 0 16px 0;
}

.visual-editor h1,
.visual-editor h2,
.visual-editor h3,
.visual-editor h4,
.visual-editor h5,
.visual-editor h6 {
    margin: 20px 0 12px 0;
    line-height: 1.3;
}

.visual-editor h1 { font-size: 2.2em; }
.visual-editor h2 { font-size: 1.8em; }
.visual-editor h3 { font-size: 1.5em; }
.visual-editor h4 { font-size: 1.3em; }
.visual-editor h5 { font-size: 1.1em; }
.visual-editor h6 { font-size: 1em; }

.style-panel {
    width: 300px;
    border-left: 1px solid #e0e0e0;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    max-height: 500px;
    overflow-y: auto;
}

.style-panel-header {
    padding: 16px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.style-panel-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.close-panel-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

.close-panel-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.style-controls {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.style-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.style-group label {
    font-size: 12px;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.style-group select,
.style-group input[type="text"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

.style-group input[type="text"] {
    cursor: text;
}

.style-group select:focus,
.style-group input[type="text"]:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(26, 144, 255, 0.2);
}

.html-editor-container {
    display: flex;
    flex-direction: column;
}

.html-editor {
    flex: 1;
    min-height: 300px;
    padding: 20px;
    border: none;
    outline: none;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    background: #f8f9fa;
}

.html-actions {
    padding: 16px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
}

.sync-btn {
    padding: 8px 16px;
    background: var(--blue);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s ease;
}

.sync-btn:hover {
    background: #0066cc;
}

/* Enhanced Editor Controls */
.editor-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-left: 1px solid #e0e0e0;
    flex-wrap: wrap;
}

.editor-controls .control-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-right: 12px;
}
.editor-controls .control-group:not(:last-child) {
        border-right: 1px solid #e0e0e0;
}

.editor-controls .control-group label {
    font-size: 10px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.editor-controls .control-group select,
.editor-controls .control-group .size-input {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: white;
    font-size: 12px;
    cursor: pointer;
}

.editor-controls .control-group .size-input {
    width: 80px;
    cursor: text;
}

.editor-controls .control-group select:focus,
.editor-controls .control-group .size-input:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 1px rgba(26, 144, 255, 0.3);
}

.alignment-buttons {
    display: flex;
    gap: 2px;
    margin-top: 4px;
}

.editor-controls .align-btn {
    width: 24px;
    height: 24px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
    font-size: 12px;
}

.editor-controls .align-btn:hover {
    background: #f0f0f0;
    border-color: #ccc;
}

.editor-controls .align-btn.active {
    background: var(--blue);
    border-color: var(--blue);
    color: white;
}

.editor-controls .color-picker-container {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
}

.editor-controls .color-picker {
    width: 32px;
    height: 24px;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
}

.editor-controls .color-clear-btn {
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
    font-size: 10px;
}

.editor-controls .color-clear-btn:hover {
    background: #f0f0f0;
}

/* Visual Editor placeholder styling */
.visual-editor:empty::before {
    content: attr(data-placeholder);
    color: #999;
    pointer-events: none;
    font-style: italic;
}

/* Better focus styling for visual editor */
.visual-editor:focus {
    outline: none;
}

/* Selected element highlighting */
.visual-editor p:focus,
.visual-editor h1:focus,
.visual-editor h2:focus,
.visual-editor h3:focus,
.visual-editor h4:focus,
.visual-editor h5:focus,
.visual-editor h6:focus {
    outline: 1px solid var(--blue);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Builder Block Enhanced Styles */
.column-content-editor {
    margin-top: 16px;
}

.column-content-editor label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 500;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.column-preview-content {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    min-height: 60px;
    font-size: 14px;
    line-height: 1.5;
}

.column-preview-content p {
    margin: 0 0 8px 0;
}

.column-preview-content p:last-child {
    margin-bottom: 0;
}

.column-preview-content h1,
.column-preview-content h2,
.column-preview-content h3,
.column-preview-content h4,
.column-preview-content h5,
.column-preview-content h6 {
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.column-final-content {
    padding: 16px;
    min-height: 60px;
    line-height: 1.6;
}

.column-final-content p {
    margin: 0 0 12px 0;
}

.column-final-content p:last-child {
    margin-bottom: 0;
}

.column-final-content h1,
.column-final-content h2,
.column-final-content h3,
.column-final-content h4,
.column-final-content h5,
.column-final-content h6 {
    margin: 0 0 12px 0;
    line-height: 1.3;
}

/* Update column editor to accommodate the new editor */
.column-editor {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    background: #f9f9f9;
    margin-bottom: 20px;
}

/* Make grid preview more compact */
.grid-preview {
    margin-top: 20px;
    padding: 16px;
    background: #f5f5f5;
    border-radius: 6px;
    border: 2px dashed #ccc;
}

.grid-preview h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.grid-preview .row {
    margin: 0;
}
