
.efb-gutenberg-block {
    margin: 20px 0;
}

.efb-gutenberg-block .components-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #202a8d;
    border-radius: 12px;
    padding: 30px;
}

.efb-gutenberg-block .components-placeholder__label {
    color: #202a8d;
    font-weight: 600;
}

.efb-gutenberg-block .components-placeholder__instructions {
    color: #666;
    margin-bottom: 15px;
}

.efb-block-preview {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(32, 42, 141, 0.15);
    transition: box-shadow 0.3s ease;
}

.efb-block-preview:hover {
    box-shadow: 0 6px 25px rgba(32, 42, 141, 0.2);
}

.efb-block-preview-header {
    position: relative;
}

.editor-styles-wrapper .efb-gutenberg-block .components-panel__body-title {
    color: #202a8d;
}

.efb-gutenberg-block .components-placeholder .components-select-control__input {
    min-width: 250px;
    border-color: #202a8d;
    border-radius: 6px;
}

.efb-gutenberg-block .components-placeholder .components-select-control__input:focus {
    border-color: #ff4b93;
    box-shadow: 0 0 0 1px #ff4b93;
}

.efb-gutenberg-block .components-spinner {
    margin: 10px auto;
}

/* Form selector styles */
.efb-block-selector {
    transition: all 0.3s ease;
}

.efb-block-selector:hover {
    box-shadow: 0 4px 20px rgba(32, 42, 141, 0.12);
}

.efb-block-selector input[type="text"]:focus {
    border-color: #ff4b93;
    box-shadow: 0 0 0 2px rgba(255, 75, 147, 0.15);
}

/* Custom scrollbar for form list */
.efb-block-selector div::-webkit-scrollbar {
    width: 6px;
}

.efb-block-selector div::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.efb-block-selector div::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.efb-block-selector div::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* RTL Support */
[dir="rtl"] .efb-block-preview-header {
    text-align: right;
}

[dir="rtl"] .efb-block-selector button {
    text-align: right;
}

@media (max-width: 782px) {
    .efb-gutenberg-block .components-placeholder {
        padding: 20px;
    }

    .efb-block-preview-header {
        padding: 15px !important;
        flex-direction: column;
        gap: 15px;
        text-align: center !important;
    }

    .efb-block-preview-content {
        padding: 15px !important;
    }

    .efb-block-selector div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
}
