/**
 * Editor styles for GorillaDash Enquiry Form block
 */

.gorilladash-enquiry-block-preview {
    border: 2px dashed #0073aa;
    border-radius: 8px;
    padding: 20px;
    background: #f9f9f9;
    position: relative;
}

.block-preview-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.block-preview-header h3 {
    margin: 0 0 5px 0;
    color: #0073aa;
    font-size: 18px;
}

.block-preview-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.block-preview-content {
    display: grid;
    gap: 20px;
}

.preview-section {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.preview-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.preview-search {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.preview-search input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #f5f5f5;
    color: #999;
}

.preview-search button {
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: not-allowed;
    opacity: 0.7;
}

.preview-form {
    display: grid;
    gap: 15px;
}

.preview-field {
    display: flex;
    flex-direction: column;
}

.preview-field label {
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.preview-field input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #f5f5f5;
    color: #999;
}

.preview-submit {
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: not-allowed;
    opacity: 0.7;
    margin-top: 10px;
}

.block-preview-settings {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    padding: 10px;
}

.block-preview-settings small {
    color: #666;
    line-height: 1.4;
}

/* Responsive adjustments for editor */
@media (max-width: 768px) {
    .preview-search {
        flex-direction: column;
    }

    .gorilladash-enquiry-block-preview {
        padding: 15px;
    }

    .block-preview-content {
        gap: 15px;
    }

    .preview-section {
        padding: 12px;
    }
}